Difference between revisions of "CESM & NorESM users on Triolith: changing to the new centre storage (/proj/) system"
Line 22: | Line 22: | ||
'''NorESM (& CCSM4)''' | '''NorESM (& CCSM4)''' | ||
− | ''Existing Cases'' | + | ''1. Existing Cases'' |
− | + | i. Change the EXEROOT variable in the 'env_build.xml' file from: | |
:<code>value="/nobackup/global/$CCSMUSER/$CASE"</code> | :<code>value="/nobackup/global/$CCSMUSER/$CASE"</code> | ||
Line 34: | Line 34: | ||
where <code><project-name></code> is an appropriate project directory name (that you have permission to write to), e.g. 'bolinc'. | where <code><project-name></code> 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: | |
:<code>value="/nobackup/global/$CCSMUSER/archive/$CASE"</code> | :<code>value="/nobackup/global/$CCSMUSER/archive/$CASE"</code> | ||
Line 44: | Line 44: | ||
where <code><project-name></code> is an appropriate project directory name (that you have permission to write to), e.g. 'bolinc'. | where <code><project-name></code> is an appropriate project directory name (that you have permission to write to), e.g. 'bolinc'. | ||
− | + | iii. Clean case and reconfigure: | |
:<code>./configure -cleanall</code> | :<code>./configure -cleanall</code> | ||
:<code>./configure -case</code> | :<code>./configure -case</code> | ||
− | + | iv. Clean then rebuild the model: | |
:<code><mycase>.clean_build</code> | :<code><mycase>.clean_build</code> | ||
:<code><mycase>.build</code> | :<code><mycase>.build</code> | ||
+ | ''2. New Cases, Existing Code'' | ||
+ | i. Copy new config. files. | ||
+ | |||
+ | :<code>cp /proj/cesm_input-data/NorESM/triolith_config_NorESM/create_newcase <NorESM-base-dir>/scripts</code> | ||
+ | :<code>cp /proj/cesm_input-data/NorESM/triolith_config_NorESM/config_definition.xml <NorESM-base-dir>/scripts/ccsm_utils/Case.template</code> | ||
+ | :<code>cp /proj/cesm_input-data/NorESM/triolith_config_NorESM/config_machines.xml <NorESM-base-dir>/scripts/ccsm/Machines</code> | ||
+ | |||
+ | 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> | ||
{{set category list|field|Climate research}} | {{set category list|field|Climate research}} |
Revision as of 14:37, 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