[Mesa-users] Failure in loading a model in MESA-Docker

Evan Bauer ebauer at physics.ucsb.edu
Sun Jun 10 13:04:45 EDT 2018


Hi Nick,

This looks like a pretty standard MESA question; I don’t think the MESA-Docker interface is part of the problem once you’ve gotten to this stage.

Anyway, it looks like the error messages indicate that there’s a problem reading the inlist_load file. It might be this line:
> / !end of star_job namelist

Sometimes there can be problems reading lines where the comment character isn’t separated from what follows with a space. If that doesn’t solve it, can you try copying and pasting the entire contents of inlist_load directly from the site and see if the problem persists?

Cheers,
Evan



> On Jun 10, 2018, at 9:49 AM, Nicholas Proietti <nproiett at oswego.edu> wrote:
> 
> Hi Evan, 
> 
> In MESA-Docker, I tried to follow the instructions on the MESA getting started page  <http://mesa.sourceforge.net/starting.html> by attempting to save and load a file. I did save a model named 15M_at_TAMS.mod and then created a file named inlist_load that is the same as the one on the "getting started" page:
> 
> -----------------------------------inlist_load-----------------------------
>  &star_job
> 
>   ! start a run from a saved model
>     load_saved_model = .true.
>     saved_model_name = '15M_at_TAMS.mod'
> 
>   ! display on screen plots
>     pgstar_flag = .true.
> 
> / !end of star_job namelist
> 
> &controls
>   ! use C/O enhanced opacities
>   ! important for He burning onwards
>     use_Type2_opacities = .true.
>     Zbase = 0.02
> 
>   ! configure mass loss on RGB & AGB
>     cool_wind_RGB_scheme = 'Dutch'
>     cool_wind_AGB_scheme = 'Dutch'
>     RGB_to_AGB_wind_switch = 1d-4
>     Dutch_scaling_factor = 0.8
> 
> / ! end of controls namelist
> -------------------------------------------------------------------------
> 
> I then edited my main inlist file so that it would use “inlist_load” instead of “inlist_project” everywhere within inlist (i.e., extra_star_job_inlist1_name and extra_controls_inlist1_name).
> 
> ---------------------------------inlist----------------------------------
> ! this is the master inlist that MESA reads when it starts.
> ! This file tells MESA to go look elsewhere for its configuration
> ! info. This makes changing between different inlists easier, by
> ! allowing you to easily change the name of the file that gets read.
> &star_job
>     read_extra_star_job_inlist1 = .true.
>     extra_star_job_inlist1_name = 'inlist_load'
> / ! end of star_job namelist
> 
> &controls
>     read_extra_controls_inlist1 = .true.
>     extra_controls_inlist1_name = 'inlist_load'
> / ! end of controls namelist
> 
> &pgstar
>     read_extra_pgstar_inlist1 = .true.
>     extra_pgstar_inlist1_name = 'inlist_load'
> / ! end of pgstar namelist
> ------------------------------------------------------------------
> 
> I then ran using ./rn so that MESA would use the newly saved file. However I got the following message:
> 
> ------------------------------------------------------------------
> Failed while trying to read control namelist file: inlist_load
> Perhaps the following runtime error message will help you find the problem.
> At line 3074 of file ../private/pgstar_ctrls_io.f90 (unit = 29, file = 'inlist_load')
> Fortran runtime error: End of file
> Error termination. Backtrace:
> #0  0x7f913af707e3 in next_record_r
>         at /root/mesasdk-src/gcc/libgfortran/io/transfer.c:3453
> #1  0x7f913af72f56 in finalize_transfer
>         at /root/mesasdk-src/gcc/libgfortran/io/transfer.c:3981
> #2  0x68bd17 in __pgstar_ctrls_io_MOD_read_pgstar_file
>         at ../private/pgstar_ctrls_io.f90:3074
> #3  0x68bdd2 in __pgstar_ctrls_io_MOD_read_pgstar_file
>         at ../private/pgstar_ctrls_io.f90:3112
> #4  0x555113 in __pgstar_MOD_do_read_pgstar_controls
>         at /home/docker/mesa/star/make/pgstar.f90:115
> #5  0x430a94 in __run_star_support_MOD_after_step_loop
>         at ../job/run_star_support.f90:546
> #6  0x4323da in __run_star_support_MOD_run1_star
>         at ../job/run_star_support.f90:172
> #7  0x416b16 in __run_star_MOD_do_run_star
>         at /home/docker/mesa/star/job/run_star.f:26
> #8  0x416bb9 in run
>         at ../src/run.f:16
> #9  0x416bf0 in main
>         at ../src/run.f:2
> DATE: 2018-06-10
> TIME: 16:46:54
> --------------------------------------------------------------------
> 
> Any suggestions would be greatly appreciated.
> 
> Best,
> Nick
> 
> -- 
> Nicholas Proietti
> Undergraduate Major in Physics and Minor in Astronomy
> State University of New York at Oswego
> nproiett@ <mailto:nproiett at oswego.edu>oswego.edu <mailto:nproiett at oswego.edu> | 518-952-5002
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20180610/25009094/attachment.html>


More information about the Mesa-users mailing list