[Mesa-users] Failed to open start.mod error

Rob Farmer r.j.farmer at uva.nl
Mon Jun 15 10:05:06 EDT 2020


Hi,
Please do not send zip folders with your LOG folders in. We do not need to
see all the data you have generated, only the inlists you use.

>I am confused because I thought the run creates start.mod the moment it
starts running.

You should follow the path for how MESA runs a model.

First look in your ./rn file, there you find:

./star

This means MESA is running in its default mode, which is to look for a file
called "inlist". If you look at the inlist file you'll see that it only
loads inlist_3M_prems_to_AGB which is the file that looks for the start.mod
file. start.mod is however only made in inlist_start so you need to run
that inlist instead.

To run your inlist_start_header you must tell MESA to run that inlist, this
means in your ./rn script you can do:

cp inlist_start_header inlist
./star
cp inlist_3M_prems_to_agb_header inlist
./star

To copy the header inlists to the file "inlist" then run that inlist, then
move to the next inlist.

Rob






On Mon, 15 Jun 2020 at 15:03, maximilian morrison via Mesa-users <
mesa-users at lists.mesastar.org> wrote:

> Hi all, I am new to MESA and have been trying to run a 3Msun model (from
> the pre-main sequence to the AGB stage) without any success. When I run the
> model, I get the output below
>
> DATE: 2020-06-15
> TIME: 14:17:48
> version_number 12778
> read inlist_3M_prems_to_AGB
> load saved model start.mod
>
> open failed           2   538976288
> failed to open start.mod
> load failed in do_read_saved_model
> star_read_model ierr           2
> do_load1_star ierr           2
> before_evolve_loop ierr           2
> DATE: 2020-06-15
> TIME: 14:17:50
>
> I am confused because I thought the run creates start.mod the moment it
> starts running. I also think it's not reading the inlist.start file
> because the run is not showing the initial mass of the star at the
> beginning of the output. Please correct me if I am wrong.
>
> What am I missing in my settings? I used the 7Msun model in the test_suite
> directory as a template.
>
> I am using MESA  r12778, MESA SDK x86_64-linux-20.3.2, and Linux.
>
> I attached a copy of my working directory.
>
> Your help will be much appreciated. Thank you so much in advance.
>
> Kind regards,
> Max.
>  3M_pre_ms_to_cool_wd.zip
> <https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Ffile%2Fd%2F1-07VG62jPas0I_iIyv78Xfw8H4QUqa6E%2Fview%3Fusp%3Ddrive_web&data=02%7C01%7Cr.j.farmer%40uva.nl%7C1170715532af48ca038b08d81132fd80%7Ca0f1cacd618c4403b94576fb3d6874e5%7C1%7C0%7C637278257985351463&sdata=Gs5IS2cyBTrBfq7SM%2F1McVHqc8OA7AeSNFZ5rpBCrJE%3D&reserved=0>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20200615/ef655421/attachment.htm>


More information about the Mesa-users mailing list