[Mesa-users] Question regarding the"-n", "-z" and MESA_SKIP_OPTIONAL options in the rn files
Earl Bellinger
earlbellinger at gmail.com
Tue Mar 1 13:08:48 UTC 2022
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 am getting into MESA 15140, and I see that running the inlists as module
> is an important part of it.
> I tried understanding what the “-n” and “-z” mean (highlighted below) in
> the rn file, 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 am surely missing something , and I appreciate the help.
>
> Here is the code:
>
> This is taken from test_suite/pisn/rn:
>
> ++++++++++++
>
> if [ -n "$MESA_SKIP_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
>
> cp late_pre_zams.mod standard_late_pre_zams.mod
>
> fi
>
> +++++++++++++
>
> This is taken from test_suite/1M_pre_ms_to_wd
>
>
>
> if [ -z "$MESA_RUN_OPTIONAL" ]; then
>
> cp standard_start_he_core_flash.mod start_he_core_flash.mod
>
> else
>
> do_one inlist_to_start_he_core_flash_header start_he_core_flash.mod
> LOGS_to_start_he_core_flash
>
> cp start_he_core_flash.mod standard_start_he_core_flash.mod
>
> fi
>
> +++++++++++++++
>
>
>
> If there is a general explanation to all these modes, it will be great.
>
> Thanks a lot,
> 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/16d46b65/attachment.htm>
More information about the Mesa-users
mailing list