get_case_envΒΆ
get_case_env is a script in CIMEROOT/scripts/Tools.
$ ./get_case_env --help
usage: get_case_env [-c <case>]
OR
get_case_env --help
[1mEXAMPLES:[0m
[1;32m# Get the default CIME env [0m
> ./get_case_env
[1;32m# Get the default CIME env and load it into your current shell env [0m
> eval $(./get_case_env)
[1;32m# Get the CIME env for a different machine or compiler [0m
> ./get_case_env -c SMS.f09_g16.X.mach_compiler
[1;32m# Get the CIME env for a different mpi (serial in this case) [0m
> ./get_case_env -c SMS_Mmpi-serial.f09_g16.X
[1;32m# Same as above but also load it into current shell env [0m
> eval $(./get_case_env -c SMS_Mmpi-serial.f09_g16.X)
Dump what the CIME environment would be for a case.
Only supports E3SM for now.
optional arguments:
-h, --help show this help message and exit
-d, --debug Print debug information (very verbose) to file /glade/work/turuncu/APPS/ufs-mrweather-app/cime/scripts/Tools/get_case_env.log
-v, --verbose Add additional context (time and file) to log messages
-s, --silent Print only warnings and error messages
-c CASE, --case CASE The case for which you want the env. Default=SMS.f09_g16.X