[mesa-users] Problems with MESA_DIR variable

Mairan Teodoro mairan.teodoro at gmail.com
Mon Mar 2 10:48:47 EST 2015


Hi, all!

I've just installed MESA on a Macbook Pro (OS X 10.10.2; I've got the
successfully installed message at the end), and I'm trying to run some test
suites. I have successfully ran the tutorial model and everything worked
perfectly fine.

However, when I try to run the 'high_mass' or the 'massive_rotating' test
suites, I get error messages related (I believe) to the MESA_DIR variable.
I have this variable set in my $HOME/.profile file but it seems that the
code cannot find the files. For example, when trying to run the
'massive_rotating' test case, this is what I get:

##############################
pcp072011pcs: mairan$ cd MESA/mesa-r7385/star/test_suite/massive_rotating/
pcp072011pcs:massive_rotating mairan$ ./mk
gfortran -fopenmp -o ../star run_star_extras.o run_star.o  run.o
 -L../../../../lib -lstar -lionization -latm -lcolors -lmlt -lnse -lnet
-leos -lkap -lrates -lneu -lchem -linterp_2d -linterp_1d -lnum -lf2crlibm
-lcrlibm -lmtx -lconst -lutils -lmesaklu `mesasdk_lapack_link`
`mesasdk_blas_link` `mesasdk_pgplot_link` `mesasdk_se_link`
pcp072011pcs:massive_rotating mairan$ ./rn
DATE: 2015-03-02
TIME: 10:31:38
 open failed for $MESA_DIR/data/version_number
 please check that mesa_dir is set correctly
 failed in stardata_init
 star_init ierr           2
 before_evolve_loop ierr           2
DATE: 2015-03-02
TIME: 10:31:38
pcp072011pcs:massive_rotating mairan$ echo $MESA_DIR
/Users/mairan/MESA/mesa-r7385
pcp072011pcs:massive_rotating mairan$ pwd
/Users/mairan/MESA/mesa-r7385/star/test_suite/massive_rotating
pcp072011pcs:massive_rotating mairan$
##############################

If I try to run the 'high_mass' test case, the error message is as follows:

##############################
/Users/mairan/MESA/mesa-r7385/star/test_suite/high_mass
pcp072011pcs:high_mass mairan$ ./mk
gfortran -fno-range-check -fmax-errors=100  -fprotect-parens -fno-sign-zero
-fopenmp -fbounds-check -Wuninitialized -Warray-bounds -g -ffree-form -x
f95-cpp-input -I../../../../include -I/Applications/mesasdk/include -c
../src/run_star_extras.f
gfortran -fno-range-check -fmax-errors=100  -fprotect-parens -fno-sign-zero
-fopenmp -fbounds-check -Wuninitialized -Warray-bounds -g -ffree-form -x
f95-cpp-input -I../../../../include -I/Applications/mesasdk/include -c
../../../../star/job/run_star.f
gfortran -fno-range-check -fmax-errors=100  -fprotect-parens -fno-sign-zero
-fopenmp -fbounds-check -Wuninitialized -Warray-bounds -g -ffree-form -x
f95-cpp-input -I../../../../include -I/Applications/mesasdk/include -c
../src/run.f
gfortran -fopenmp -o ../star run_star_extras.o run_star.o  run.o
 -L../../../../lib -lstar -lionization -latm -lcolors -lmlt -lnse -lnet
-leos -lkap -lrates -lneu -lchem -linterp_2d -linterp_1d -lnum -lf2crlibm
-lcrlibm -lmtx -lconst -lutils -lmesaklu `mesasdk_lapack_link`
`mesasdk_blas_link` `mesasdk_pgplot_link` `mesasdk_se_link`
pcp072011pcs:high_mass mairan$ ./rn
DATE: 2015-03-02
TIME: 10:47:24
 open failed for $MESA_DIR/data/version_number
 please check that mesa_dir is set correctly
 failed in stardata_init
 star_init ierr           2
 before_evolve_loop ierr           2
DATE: 2015-03-02
TIME: 10:47:24
pcp072011pcs:high_mass mairan$
##############################

Does anyone know how to fix this? Any help would be very appreciated.

Best regards!
m.

--
Dr. Mairan Teodoro

Research Associate
Department of Physics
Western Michigan University
Kalamazoo MI 49008-5252 USA
mairan.teodoro at wmich.edu

Science Collaborator
NASA Goddard Space Flight Center
8800 Greenbelt Rd.
Greenbelt, MD 20771 USA
Bldg. 34, Rm. 321, Code 667
301-286-6321
mairan.teodoro at nasa.gov
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20150302/225445b8/attachment.html>


More information about the Mesa-users mailing list