Difference between revisions of "Building NorESM 1 Tetralith"

From SNIC Documentation
Jump to: navigation, search
(Created page with "Short build instructions (NorESM1 on Tetralith): 1. Download NorESM1 source code (to the folder <tt><noresm_source></tt>) 2. Copy: :<code>/proj/cesm_input-data/tetralith_confi...")
 
 
Line 1: Line 1:
 
Short build instructions (NorESM1 on Tetralith):
 
Short build instructions (NorESM1 on Tetralith):
  
1. Download NorESM1 source code (to the folder <tt><noresm_source></tt>)
+
1. Download NorESM1 source code (to the folder <tt><noresm_source></tt>). NorESM source code can be obtained after registration with the developers,
 +
see: [https://noresm-docs.readthedocs.io/en/latest/start.html#obtaining-a-version-of-the-model Obtaining a version of the model]
  
 
2. Copy:
 
2. Copy:

Latest revision as of 08:56, 5 September 2019

Short build instructions (NorESM1 on Tetralith):

1. Download NorESM1 source code (to the folder <noresm_source>). NorESM source code can be obtained after registration with the developers, see: Obtaining a version of the model

2. Copy:

/proj/cesm_input-data/tetralith_config_noresm1/Macros.tetralith
/proj/cesm_input-data/tetralith_config_noresm1/config_machines.xml
/proj/cesm_input-data/tetralith_config_noresm1/env_machopts.tetralith
/proj/cesm_input-data/tetralith_config_noresm1/mkbatch.tetralith

to <noresm_source>/scripts/ccsm_utils/Machines

3. Load modules:

module load buildenv-intel/2018.u1-bare netCDF/4.4.1.1-HDF5-1.8.19-nsc1-intel-2018a-eb

4. Create new case, e.g.

cd <noresm_source>/scripts
./create_newcase -case ../cases/casename -res f19_g16 -compset N2000AERCN -mach tetralith -ccsm_out /proj/bolinc/users/${USER}/NorESM1-out

Nb. -ccsm_out variable is required. This sets where the model is compiled and where output is written.

5. Go to case folder. Execute

./configure -case

6. Edit any env files you wish.

7. If not set, add:

export I_MPI_COMPATIBILITY=4

8. Build and run your model ($CASE.build & sbatch $CASE.run)