[mesa-users] Error running ./mk after copying star/work directory

Josiah Schwab jwschwab at berkeley.edu
Fri Apr 12 12:06:57 EDT 2013


Sounds like you're using an old inlist.  I believe mesa_data_dir was deprecated sometime last fall.

Instead, the code uses the environment variable MESA_DIR

Assuming you've got your environment issues sorted out, delete the mesa_data_dir line and see how that works for you.

Josiah

On Apr 12, 2013, at 9:00 AM, Jaime Villaseñor wrote:

> Ok, you were right. I needed to run "export MESASDK_ROOT=~/mesasdk" and "source $MESASDK_ROOT/bin/mesasdk_init.sh" again and now is working!
> 
> BUT, when I run ./rn y get another error:
> 
> Failed while trying to read control namelist file inlist
> The following runtime error message might help you find the problem
> 
> At line 1723 of file ../job/run_star_support.f (unit = 29, file = 'inlist')
> Fortran runtime error: Cannot match namelist object name mesa_data_dir
> 
> At line 1723 of run_star_support.f I have:   read(unit, nml=star_job)
> (I haven't mention that is my first time using a code, so, I'm sorry for the poor knowledge)
> 
> And I have mesa_data_dir set correctly (I think) at my inlist file.
> 
> Thanks for your help
> Jaime
> 
> 
> 
> 
> 
> 2013/4/11 Morgan MacLeod <morganmacleod at gmail.com>
> In that case I'd say that some of your MESA SDK environment variables may not be set up correctly. I think you need gfortran version 4.7. 
> 
> You can check which version of gfortran is being accessed by typing "which gfortran" in your terminal. If it's not pointing to the MESA SDK version, that's your issue. 
> 
> --Morgan
> 
> On Apr 11, 2013, at 2:57 PM, Jaime Villaseñor wrote:
> 
>> Thanks for replying,
>> 
>> I already change MESA-DIR in the inlist file and in makefile. The path I should indicate corresponds to the default mesa directory or to the new directory of star/work?
>> 
>> Hi Josiah, if I run gfortran --version I get:
>> 
>> GNU Fortran (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
>> 
>> And yes, I'm using MESA SDK. I just did the steps from http://www.astro.wisc.edu/~townsend/static.php?ref=mesasdk
>> 
>> Thank you both.
>> Jaime
>> 
>> 
>> 2013/4/11 Morgan MacLeod <morganmacleod at gmail.com>
>> You may need to change the MESA_DIR in the inlists or in the make folder. 
>> 
>> Once that is updated you should be okay!
>> 
>> Morgan
>> 
>> 
>> On Apr 11, 2013, at 2:28 PM, Jaime Villaseñor wrote:
>> 
>>> Hello everyone,
>>> 
>>> I just installed MESA successfully and I made a copy of the star/work directory in other location of my personal folder. When I run ./mk from /work, I get the following error:
>>> 
>>> jaime at jaime-PC:~/magister/mesa_4849/tests_mesa/work$ ./mk
>>> gfortran -fno-range-check  -fopenmp -fbounds-check -Wuninitialized -Warray-bounds -g -ffree-form -x f95-cpp-input -I/home/jaime/mesa/include -I/include -c ../src/run_star_extras.f
>>> ../src/run_star_extras.f:25.18:
>>> 
>>>       use star_lib
>>>                   1
>>> Error Fatal: Versión de módulo '9' errónea (se esperaba '6) para el fichero 'star_lib.mod' abierto en (1)
>>> make: *** [run_star_extras.o] Error 1
>>> 
>>> FAILED
>>> 
>>> Any help will be much appreciated. 
>>> 
>>> Thanks.
>>> 
>>> 
>>> 
>>> -- 
>>> Jaime Villaseñor Riquelme
>>> Estudiante de Magíster en Astrofísica
>>> Universidad de Valparaíso
>>> 
>>> 
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> Precog is a next-generation analytics platform capable of advanced
>>> analytics on semi-structured data. The platform includes APIs for building
>>> apps and a phenomenal toolset for data science. Developers can use
>>> our toolset for easy data analysis & visualization. Get a free account!
>>> http://www2.precog.com/precogplatform/slashdotnewsletter_______________________________________________
>>> mesa-users mailing list
>>> mesa-users at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/mesa-users
>> 
>> 
>> 
>> 
>> -- 
>> Jaime Villaseñor Riquelme
>> Estudiante de Magíster en Astrofísica
>> Universidad de Valparaíso
>> 
> 
> 
> 
> 
> -- 
> Jaime Villaseñor Riquelme
> Estudiante de Magíster en Astrofísica
> Universidad de Valparaíso
> 
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter_______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users





More information about the Mesa-users mailing list