[mesa-users] a question on dealing with the work directory

Josiah Schwab jwschwab at berkeley.edu
Fri Dec 6 22:47:40 EST 2013


Yuqian Liu writes:

> Following Othman's (thanks!) suggestion, I change makefile in my work
> directory from 'include $(MESA_DIR)/star/work_standard_makefile' to
>  'include $(MESA_DIR)/Users/yuqianliu/mesa/star/work_standard_makefile'.
> Then I run ./mk again but get the following error:

You don't need to edit the makefile, you need to set this variable in
your shell.  For example, in bash you'd do

export MESA_DIR=/Users/yuqianliu/mesa

In cshell, you'd use setenv, etc.

It's good to just put it in your shell startup file so you don't forget.

Josiah




More information about the Mesa-users mailing list