[Mesa-users] MESA failing to read inlist_start

Kimberly Appel kimberlyappel00 at gmail.com
Mon Jun 8 07:45:56 EDT 2020


Hi, I managed to solve the problem, thanks for your assistance! - code ran
without any error or problems. But now, I am struggling to plot the HR
diagram, abundance diagrams, Kippenhahn diagram, and the abundances diagram
(see photo1 as an example).

My inlist_pgstar file follows the template format. I don't see anything
wrong with it. From the file inlist, I changed the following line in the
section &pgstar:

extra_pgstar_inlist1_name = 'inlist_to_end_agb' * to *extra_pgstar_inlist1_name
= 'inlist_pgstar'

And saved the file. Then stopped the run (Control C in the terminal)

So then in the terminal, I type the following commands again (after I
edited the inlist file and saved it):

.\clean
.\mk
.\rn

It runs but does not show the plots after a couple of runs as it should.
Instead, it changes the line extra_pgstar_inlist1_name = '*inlist_pgstar*'
back to  extra_pgstar_inlist1_name = '*inlist_to_end_agb*'. What am I doing
wrong? I did set every win_flag line in the inlist file to .true.

I have attached the inlist, inlist_to_end_agb, inlist_pgstar, and
inlist_start files.

Kind regards,
Kim.



On Mon, Jun 8, 2020 at 3:54 AM Meridith Joyce <Meridith.Joyce at anu.edu.au>
wrote:

> it means a typo, probably
>
> make sure the way you are writing your &pgstar section, or indeed any
> section of inlist_start, follows exactly the same convention as in the
> other template inlists provided with the MESA test_suite. When you added
> the extra section, did you accidentally delete the concluding "/" from
> &controls?
>
> fortran can be quite picky about these things
>
> Dr. Meridith Joyce
> Research School of Astronomy and Astrophysics
> Australian National University
> ------------------------------
> *From:* Kimberly Appel <kimberlyappel00 at gmail.com>
> *Sent:* Monday, June 8, 2020 11:45 AM
> *To:* Meridith Joyce <Meridith.Joyce at anu.edu.au>
> *Cc:* mesa-users at lists.mesastar.org <mesa-users at lists.mesastar.org>
> *Subject:* Re: [Mesa-users] MESA failing to read inlist_start
>
> I get the following line after adding an empty &pgstar section in
> inlist_start :
>
> Fortran runtime error: namelist not terminated with / or &end
>
> What does that mean?
>
>
> On Mon, Jun 8, 2020 at 3:14 AM Meridith Joyce <Meridith.Joyce at anu.edu.au>
> wrote:
>
> This line indicates where you should start to look for your problem:
>
> Failed while trying to read control namelist file: inlist_start
>
> and this line suggests something is blank that shouldn't be:
> Fortran runtime error: End of file
>
> in the &pgstar section of  inlist and inlist_start_header, you point to
> inlist_start, but it does not seem like you have any &pgstar controls
> specified in inlist_start.
> Yet you set pgstar_flag = .true. in &star_job of inlist_start
>
> As a start, you can try adding an empty &pgstar section in inlist_start:
> &pgstar
> / ! end pgstar
>
> and see what happens
>
> Dr. Meridith Joyce
> Research School of Astronomy and Astrophysics
> Australian National University
> ------------------------------
> *From:* Kimberly Appel <kimberlyappel00 at gmail.com>
> *Sent:* Monday, June 8, 2020 10:43 AM
> *To:* Meridith Joyce <Meridith.Joyce at anu.edu.au>
> *Cc:* mesa-users at lists.mesastar.org <mesa-users at lists.mesastar.org>
> *Subject:* Re: [Mesa-users] MESA failing to read inlist_start
>
> Hi, here are the lines preceding the error:
>
> Failed while trying to read control namelist file: inlist_start
> Perhaps the following runtime error message will help you find the problem.
>
> At line 3075 of file ../private/pgstar_ctrls_io.f90
> Fortran runtime error: End of file
>
> Error termination. Backtrace:
> #0  0x7fe0c1496f4e in next_record_r
> at /home/user/sdk2-tmp/build/gcc/libgfortran/io/transfer.c:3627
> #1  0x7fe0c149996e in finalize_transfer
> at /home/user/sdk2-tmp/build/gcc/libgfortran/io/transfer.c:4162
> #2  0x72e70a in __pgstar_ctrls_io_MOD_read_pgstar_file
> at ../private/pgstar_ctrls_io.f90:3075
> #3  0x705c5d in __pgstar_ctrls_io_MOD_read_pgstar_file
> at ../private/pgstar_ctrls_io.f90:3111
> #4  0x72e860 in __pgstar_ctrls_io_MOD_read_pgstar
> at ../private/pgstar_ctrls_io.f90:3033
> #5  0x588918 in __pgstar_MOD_do_read_pgstar_controls
> at /home/kim/Downloads/mesa-r12778/star/make/pgstar.f90:109
> #6  0x5cf60f in __relax_MOD_do_internal_evolve
> at ../private/relax.f90:4082
> #7  0x5d0dd2 in __relax_MOD_do_relax_num_steps
> at ../private/relax.f90:3450
> #8  0x5e1917 in model_builder
> at ../private/init.f90:1344
> #9  0x5e2ce4 in __init_MOD_create_pre_ms_model
> at ../private/init.f90:1032
> #10  0x40c844 in __star_lib_MOD_star_create_pre_ms_model
> at ../public/star_lib.f90:404
> #11  0x411ec1 in __run_star_support_MOD_do_load1_star
> at ../job/run_star_support.f90:1949
> #12  0x4261eb in __run_star_support_MOD_before_evolve_loop
> at ../job/run_star_support.f90:330
> #13  0x426f7a in __run_star_support_MOD_run1_star
> at ../job/run_star_support.f90:97
> #14  0x4056e4 in __run_star_MOD_do_run_star
> at /home/kim/Downloads/mesa-r12778/star/job/run_star.f:26
> #15  0x405759 in run
> at ../src/run.f:13
> #16  0x40579b in main
> at ../src/run.f:2
> DATE: 2020-06-08
> TIME: 02:37:22
>
> KInd regards,
> KIm.
>
>
>
>
>
> On Mon, Jun 8, 2020 at 1:43 AM Meridith Joyce <Meridith.Joyce at anu.edu.au>
> wrote:
>
> Hi Kim,
>
> In the past when I have received errors like this, it is typically because
> I have failed to point to the correct inlist(s) or model file name
> somewhere. You may also need to look at your shell scripts (rn, re, etc) to
> see if they are moving or renaming files in a way you are not anticipating.
>
> Could you please provide several more lines of the terminal output
> preceeding this error?
>
> Dr. Meridith Joyce
> Research School of Astronomy and Astrophysics
> Australian National University
> ------------------------------
> *From:* Mesa-users <mesa-users-bounces at lists.mesastar.org> on behalf of
> Kimberly Appel via Mesa-users <mesa-users at lists.mesastar.org>
> *Sent:* Monday, June 8, 2020 9:04 AM
> *To:* mesa-users at lists.mesastar.org <mesa-users at lists.mesastar.org>
> *Subject:* [Mesa-users] MESA failing to read inlist_start
>
> Hi, I am using a Lenovo-V130-15IKB laptop. My operating system is Ubuntu.
> The version of MESA I am using is r12778 and the version of MESA SDK I am
> using is x86_64-Linux-20.3.2.
>
> So, I am trying to run the 1M_pre_ms_to_wd model (in the test_suite
> folder) but I am getting the following error message when I re-run the
> model:
>
> ******************************************************************
> failed to create start.mod when running inlist_start_header
> ******************************************************************
>
> When I ran the model for the first time, the error message did not appear.
> The message only appeared after I created the inlist_pgstar file, deleted
> the mesa_dir = '../../..' line in inlist files that have that line, changed
> inlist2 to inlist1 line in every inlist file, deleted the MESA_DIR =
> ../../../.. line from the *makefile* file and changed !mixing_regions
> <integer> into mixing_regions 40 from the *history columns list* file.
>
> I have attached the inlist files (in the "working directory" folder).
>
>
> Kind regards,
> Kim.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20200608/99a184da/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: photo1.png
Type: image/png
Size: 36629 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20200608/99a184da/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inlist
Type: application/octet-stream
Size: 417 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20200608/99a184da/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inlist_pgstar
Type: application/octet-stream
Size: 2123 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20200608/99a184da/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inlist_start
Type: application/octet-stream
Size: 3256 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20200608/99a184da/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inlist_to_end_agb
Type: application/octet-stream
Size: 6128 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20200608/99a184da/attachment-0003.obj>


More information about the Mesa-users mailing list