[Mesa-users] Adjusting Initial Parameters in make_pre_ccsn_iip

Parts, Vaughn vvp5229 at psu.edu
Sat May 8 06:56:52 UTC 2021


Hello MESA team,
I am having difficulty adjusting the initial parameters in the make_pre_ccsn_iip module in star/test_suite, and I am hoping that you can help me figure out what to do. I want to change the star’s initial mass to 30 solar masses. I first went into the inlist_mass_Z_wind_rotation file and under the &controls section changed initial_mass to 30. However, this did not change anything when I actually ran the model, which seemed to be because the rn script starts off with a pre-made model if the string MESA_RUN_OPTIONAL exists somewhere. I could not find where that string appears in order to delete it and force MESA to run the module from the late pre-ZAMS stage, so instead I commented out the if statement in order to only run the “else” portion. My rn script now looks like this:



#!/bin/bash

# this provides the definition of do_one (run one part of test)
# do_one [inlist] [output model] [LOGS directory]
MESA_DIR=../../..
source "${MESA_DIR}/star/test_suite/test_suite_helpers"

date "+DATE: %Y-%m-%d%nTIME: %H:%M:%S"

#if [ -z "$MESA_RUN_OPTIONAL" ]; then
#   cp standard_late_pre_zams.mod late_pre_zams.mod
#else
do_one inlist_make_late_pre_zams_header late_pre_zams.mod LOGS_to_late_pre_zams
cp late_pre_zams.mod standard_late_pre_zams.mod
#fi

#if [ -z "$MESA_RUN_OPTIONAL" ]; then
#   cp standard_start_core_collapse.mod start_core_collapse.mod
#else
do_one inlist_to_start_core_collapse_header start_core_collapse.mod LOGS_to_start_core_collapse
cp start_core_collapse.mod standard_start_core_collapse.mod
#fi

do_one inlist_finish_core_collapse_header final.mod LOGS_to_finish

date "+DATE: %Y-%m-%d%nTIME: %H:%M:%S"

echo ‘finished’



When I try to run the module like this, I get the following error:



Failed while trying to read pgstar namelist file: inlist_make_late_pre_zams
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



Could you offer advice on how I should adjust the star’s initial mass without breaking the code?
Thank you,
Vanessa
(they/she)


More information about the Mesa-users mailing list