CESM & NorESM users on Triolith: changing to the new centre storage (/proj/) system

From SNIC Documentation
Jump to: navigation, search

The new centre storage system at NSC became operational in October 2014 (NSC Centre Storage). Because the storage environment was changed from a 'user' based systen (/nobackup/global/${USER}) to a 'project' based system (/proj/project_name), this requires a change in the way the CESM and NorESM models are configured on Triolith.

CESM (& CCSM4)

Existing Cases

1. Change the EXEROOT variable in the 'env_build.xml' file from:

value="/nobackup/global/$CCSMUSER/$CASE"

to e.g.

value="/proj/<project-name>/users/$CCSMUSER/$CASE"

where <project-name> is an appropriate project directory name (that you have permission to write to), e.g. 'bolinc'.

2. Change the RUNDIR variable in the 'env_run.xml' file from:



NorESM (& CCSM4)

1. Existing Cases

i. Change the EXEROOT variable in the 'env_build.xml' file from:

value="/nobackup/global/$CCSMUSER/$CASE"

to e.g.

value="/proj/<project-name>/users/$CCSMUSER/NorESM/$CASE"

where <project-name> is an appropriate project directory name (that you have permission to write to), e.g. 'bolinc'.

ii. Change the DOUT_S_ROOT variable in the 'env_run.xml' file from:

value="/nobackup/global/$CCSMUSER/archive/$CASE"

to e.g.

value="/proj/<project-name>/users/$CCSMUSER/NorESM/archive/$CASE"

where <project-name> is an appropriate project directory name (that you have permission to write to), e.g. 'bolinc'.

iii. Clean case and reconfigure:

./configure -cleanall
./configure -case

iv. Clean then rebuild the model:

<mycase>.clean_build
<mycase>.build


2. New Cases, Existing Code

i. Copy new config. files.

cd <NorESM-base-dir>/scripts
cp /proj/cesm_input-data/NorESM/triolith_config_NorESM/create_newcase .
cd <NorESM-base-dir>/scripts/ccsm_utils/Case.template
cp /proj/cesm_input-data/NorESM/triolith_config_NorESM/config_definition.xml .
cd <NorESM-base-dir>/scripts/ccsm_utils/Machines
cp /proj/cesm_input-data/NorESM/triolith_config_NorESM/config_machines.xml .

ii. Create new case. Note: when using the 'create_newcase' script, you have to add an additional variable 'ccsm_out'. This defines the folder where the model is compiled and where output is written, and must correspond to an appropriate Triolith project storage area (e.g. /proj/bolinc/users/x_abcde/NorESM). e.g.

<NorESM-base-dir>/scripts/create_newcase -case ../cases/triolithTest -mach triolith -res f19_g16 -compset N2000AERL -pecount S -ccsm_out /proj/bolinc/users/${USER}/NorESM


3. Completely new model

See: Building NorESM (CMIP5) on the NSC triolith system