[mesa-users] MESA_INLIST and clusters

Robert Farmer rjfarmer at asu.edu
Sun Dec 13 13:26:46 EST 2015


Okay, sorry there is a bug, my mistake. A quick fix for your case is to
edit $MESA_BASE/src/run.f and replace the line

inlist_fname = 'inlist'
with
inlist_fname='' ! Empty single quotes

And make sure MESA_INLIST is set to the correct file (otherwise MESA will
run with the default inlist options without throwing an error)

Rob


On Sun, Dec 13, 2015 at 1:11 PM, Cyrus Zalian <thebigkiwi2003 at yahoo.fr>
wrote:

> Thank you for your answer,
>
> Ok, so I'm stuck, and I have no idea why it's not working. Here is the
> error message :
>
>
>
> *Failed to open control namelist file inlistierr from read_star_job inlist*
> Here is the bash file used :
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *#!/bin/bash##OAR -n mesaMass#OAR --notify  mail:cyrus.zalian at oca.eu
> <mail%3Acyrus.zalian at oca.eu>echo "mon hostname : " `hostname`echo
> "OAR_JOB_NAME : $OAR_JOB_NAME"echo "OAR_JOB_ID : $OAR_JOB_ID"echo
> "OAR_ARRAY_ID : $OAR_ARRAY_ID"echo "OAR_ARRAY_INDEX :
> $OAR_ARRAY_INDEX"export MESASDK_ROOT=/home/zalian/mesasdksource
> $MESASDK_ROOT/bin/mesasdk_init.shexport
> MESA_DIR=/home/zalian/mesa-r7624export OMP_NUM_THREADS=1export
> GYRE_DIR=$MESA_DIR/gyre/gyreexport
> PGPLOT_FONT=/home/zalian/mesasdk/pgplot/grfont.dat#$MESASDK_ROOT/pgplot/pgxwin_server&export
> MESA_BASE="/home/zalian/xstudy/cluster/base"export
> MESA_INLIST="/home/zalian/xstudy/cluster/base/inlist"export
> MESA_RUN="/home/zalian/xstudy/cluster/Z0.0001"#CD to foldercd
> $MESA_RUN/$OAR_ARRAY_INDEXecho -n processing $OAR_ARRAY_INDEX ...#Run
> MESA$MESA_BASE/starecho ..done*
>
>
> And finally here is the file directory :
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *[zalian at hal cluster]$ pwd;ls -R/home/zalian/xstudy/cluster.:base
> cluster.oar  OAR.mesaMass.9029.stderr  OAR.mesaMass.9029.stdout
> Z0.0001./base:clean    history_columns.list  inlist_1  inlist_project
> LOGS  mk      png                   re      restart_photo  script
> stargyre.in <http://gyre.in>  inlist                inlist_2
> inlist_re2      make  photos  profile_columns.list  README  rn
> src./base/LOGS:./base/make:makefile  run.o  run_star_extras.mod
> run_star_extras.o  run_star.mod
> run_star.o./base/photos:./base/png:./base/src:run.f
> run_star_extras.f./Z0.0001:1  2  3  4  5  6
> 7./Z0.0001/1:inlist_cluster./Z0.0001/2:inlist_cluster./Z0.0001/3:inlist_cluster./Z0.0001/4:inlist_cluster./Z0.0001/5:inlist_cluster./Z0.0001/6:inlist_cluster./Z0.0001/7:inlist_cluster*
> Thanking you all in advance for your help.
> Cyrus.
>
> 2015-12-13 12:04 GMT+01:00 Robert Farmer <rjfarmer at asu.edu>:
>
>> It does work as long as you have a mesa version > 6995
>>
>> Rob
>> On Dec 13, 2015 10:27, "Cyrus Zalian" <thebigkiwi2003 at yahoo.fr> wrote:
>>
>>> Hello to everybody,
>>>
>>> I'm trying to run mesa on clusters following the instructions I've found
>>> in :
>>> http://mesastar.org/tools-utilities/mesa-on-clusters/structuring-inlists-for-running-many-mesa-models
>>>
>>> The problem is that I keep on receving a error message saying that there
>>> is no inlist file. So, first of all, I was wondering if the MESA_INLIST
>>> variable works.
>>>
>>> Thanking you in advance.
>>> Cyrus.
>>>
>>>
>>> ------------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> mesa-users mailing list
>>> mesa-users at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/mesa-users
>>>
>>>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20151213/d16133b5/attachment.html>


More information about the Mesa-users mailing list