[Mesa-users] Loading from a model

Radek Smolec smolec at camk.edu.pl
Wed Mar 9 09:57:26 UTC 2022


Hello Connor,

Please keep mesa-users on your replies.

One more change is needed in your inlist, which I haven't spotted before.
As the terminal message says:

> At line 609 of file ../private/star_job_ctrls_io.f90
>
> Fortran runtime error: Cannot match namelist object name
> load_model_filename
>

load_model_filename control is not recognized. The correct one is (version
15140)
saved_model_name = 'final.mod'

Take a look at $MESA_DIR/star/defaults/star_job.defaults for valid controls

I think the confusion is because load_model_filename is a valid control in
the most recent release, 21.12.1, but you are using 15140.

I modified your inlist_load so it includes:
          load_saved_model_for_RSP = .true.
          saved_model_name = 'final.mod'
ran it with final.mod that you attached and all proceeded smoothly. The
model stopped after 2 cycles as it should and I see both final.mod and
final4000.mod; nothing was deleted.
Best wishes,
Radek


wt., 8 mar 2022 o 21:21 Connor Jennings <cjennings2023 at berkeley.edu>
napisał(a):

> Hi Dr. Smolec,
>
> I've tried using load_saved_model_for_RSP, but the same issue happens. Do
> I need to change any other variable names to reference RSP? The file gets
> deleted, it's not overwritten.
>
> Best,
> Connor Jennings
>
> On Fri, Feb 18, 2022 at 11:21 PM Radek Smolec <smolec at camk.edu.pl> wrote:
>
>> Hello Connor,
>>
>> To load RSP model the control is different; use:
>> load_saved_model_for_RSP
>> instead of load_saved_model.
>> As for deleting the final.mod I haven't encountered that. Is the file
>> overwritten or simply deleted?
>> Best wishes,
>> Radek
>>
>> sob., 19 lut 2022 o 01:36 Connor Jennings <cjennings2023 at berkeley.edu>
>> napisał(a):
>>
>>> Hello,
>>>
>>> I am trying to start an RR Lyrae simulation using the RSP module in MESA
>>> (version r15140) by loading from a model. I can successfully save a model
>>> at the end of a run (I named it final.mod), but when I try to start again
>>> using that model by including
>>>
>>> load_saved_model = .true.
>>> load_model_filename = 'final.mod'
>>>
>>> in the star_job portion of the inlist project file (inlist_load) I get
>>> the following error:
>>>
>>> Failed while trying to read control namelist file: inlist_load
>>>
>>> Perhaps the following runtime error message will help you find the
>>> problem.
>>>
>>>
>>> At line 609 of file ../private/star_job_ctrls_io.f90
>>>
>>> Fortran runtime error: Cannot match namelist object name
>>> load_model_filename
>>>
>>>
>>> Error termination. Backtrace:
>>>
>>> #0  0x1446e9b5d
>>>
>>> #1  0x1446ea815
>>>
>>> #2  0x1446eb42b
>>>
>>> #3  0x144915f30
>>>
>>> #4  0x14491ef77
>>>
>>> #5  0x14491f198
>>>
>>> #6  0x14491f2e7
>>>
>>> #7  0x1028998b6
>>>
>>> #8  0x102893970
>>>
>>> #9  0x102899a46
>>>
>>> #10  0x1028a25f4
>>>
>>> #11  0x1028a6e6f
>>>
>>> #12  0x1028a7186
>>>
>>> #13  0x1024b1d19
>>>
>>> #14  0x1024b1d82
>>>
>>> DATE: 2022-02-18
>>>
>>> TIME: 16:02:10
>>>
>>>
>>> ******************************************************************
>>>
>>> failed to create final.mod when running inlist_rsp_RR_Lyrae_header
>>>
>>> ******************************************************************
>>>
>>>
>>> Additionally, the final.mod file itself gets deleted at some point after
>>> I start to run MESA. I encounter this same problem whether or not I
>>> generate the model on a different computer from the one running the follow
>>> up.
>>>
>>> Is there a fix for this? I've attached the inlist files I used to run
>>> the initial simulation and to try to load from the model, as well as the
>>> model itself.
>>>
>>> Thank You,
>>> Connor Jennings
>>> _______________________________________________
>>> mesa-users at lists.mesastar.org
>>> https://lists.mesastar.org/mailman/listinfo/mesa-users
>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20220309/98ee7f5d/attachment.htm>


More information about the Mesa-users mailing list