Difference between revisions of "CESM & NorESM users on Triolith: changing to the new centre storage (/proj/) system"

From SNIC Documentation
Jump to: navigation, search
Line 53: Line 53:
 
:<code><mycase>.clean_build</code>
 
:<code><mycase>.clean_build</code>
 
:<code><mycase>.build</code>
 
:<code><mycase>.build</code>
 +
  
 
''2. New Cases, Existing Code''
 
''2. New Cases, Existing Code''
Line 64: Line 65:
 
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.
 
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.
  
:<code><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</code></code>
+
:<code><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</code>
  
  
 
{{set category list|field|Climate research}}
 
{{set category list|field|Climate research}}

Revision as of 14:38, 25 November 2014

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.

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

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