Environment variables used by build-namelist

The environment variables recognized by build-namelist are presented below.


Root directory of CCSM input data. Note that the commandline argument -csmdata takes precedence over the environment variable.


If values of the specific variables that set the thread count for each component, i.e., atm_nthreads, cpl_nthreads, ice_nthreads, lnd_nthreads, or ocn_nthreads, are set via the -namelist, or -infile options, then these values have highest precedence. The OMP_NUM_THREADS environment variable has next highest precedence for setting any of the component specific thread count variables. Lowest precedence for setting these variables is the value of nthreads from the configure cache file.