[Mesa-users] Question regarding the"-n", "-z" and MESA_SKIP_OPTIONAL options in the rn files
Bear Ealeal
ealeal44 at yahoo.com
Tue Mar 1 16:20:50 UTC 2022
Dear Earl,Thank you very much, this is very helpful.All the best,Ealeal
On Tuesday, March 1, 2022, 03:09:16 PM GMT+2, Earl Bellinger <earlbellinger at gmail.com> wrote:
Dear Ealeal,
The MESA docs have a search feature which will bring you to the following:
https://docs.mesastar.org/en/release-r21.12.1/reference/env_vars.html?highlight=MESA_SKIP_OPTIONAL
There you can see that MESA_SKIP_OPTIONAL only pertains to the test suite, so users generally don't need to worry about it.
The rest is standard bash. You can see their meanings for example in this bash tutorial:
https://tldp.org/LDP/Bash-Beginners-Guide/html/sect_07_01.html
Best wishes, Earl
On Tue, Mar 1, 2022 at 1:34 PM Bear Ealeal via Mesa-users <mesa-users at lists.mesastar.org> wrote:
Dear Mesa users,
I amgetting into MESA 15140, and I see that running the inlists as module is an important part of it.
I tried understandingwhat the “-n” and “-z” mean (highlighted below) in the rnfile, and I could not find what is there meaning in MESA or in Fortran, Also I am not sure what is $MESA_SKIP_OPTIONAL" is this a parameter? I amsurely missing something , and I appreciate the help.
Here is thecode:
This is takenfrom test_suite/pisn/rn:
++++++++++++
if [ -n"$MESA_SKIP_OPTIONAL" ]; then
cp standard_late_pre_zams.modlate_pre_zams.mod
else
do_one inlist_make_late_pre_zams_headerlate_pre_zams.mod
cp late_pre_zams.modstandard_late_pre_zams.mod
fi
+++++++++++++
This istaken from test_suite/1M_pre_ms_to_wd
if [ -z"$MESA_RUN_OPTIONAL" ]; then
cp standard_start_he_core_flash.modstart_he_core_flash.mod
else
do_one inlist_to_start_he_core_flash_headerstart_he_core_flash.mod LOGS_to_start_he_core_flash
cp start_he_core_flash.modstandard_start_he_core_flash.mod
fi
+++++++++++++++
If there isa general explanation to all these modes, it will be great.
Thanks alot,
Ealeal_______________________________________________
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/20220301/b83a2dce/attachment.htm>
More information about the Mesa-users
mailing list