Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
noresm:runmodel:newbie [2013-08-15 14:12:36]
alfg [Create a valid case]
noresm:runmodel:newbie [2022-05-31 09:29:32] (current)
Line 4: Line 4:
  
 This guide assumes that you have properly checked out the model to some directory which will call $NORESM. This directory will contain subdirectories "models" and "scripts". This guide assumes that you have properly checked out the model to some directory which will call $NORESM. This directory will contain subdirectories "models" and "scripts".
- 
-===== Create a valid case ===== 
  
 === Go to scripts directory === === Go to scripts directory ===
Line 11: Line 9:
  
 === Create the case === === Create the case ===
-./create_newcase  - case ../cases///casename/// -mach //machinename// -res f19_f19 -compset //compsetname// +./create_newcase  -case ../cases///casename/// -mach //machinename// -res f19_g16 -compset //compsetname// 
  
-(where //casename//, //machinename// and //compsetname// are user input)+(where //casename//, //machinename// and //compsetname// are user input. Res is imodel resolution. The user can //not// give any resolution since input data are not prepared for any resolution in NorESM.) 
 + 
 +To see a list of available composets type 
 + 
 +./create_newcase -list 
 + 
 +The simplest case which runs production tagged aerosols and data ocean in a VERY coarse resolution is  
 + 
 +./create_newcase -case /path/to/where/I/store/the/case -compset NFPTAERO -mach hexagon -res f10_f10
  
 === Configure the case === === Configure the case ===
 cd $NORESM/cases///casename// cd $NORESM/cases///casename//
  
-./configure -case+edit any configuration files (understand env_conf.xml and env_run.xml) 
 + 
 +./configure -case (in NorESM1 / CAM4) 
 + 
 +or  
 + 
 +./cesm_setup (in NorESM2 / CAM5)
  
 After these two commands, the case is configured After these two commands, the case is configured
Line 24: Line 36:
 === Build the case === === Build the case ===
  
-.///casename//.//machinename//.build+.///casename//.//machinename//.build (NorESM1 / CAM4) 
 + 
 +.///casename//.build (NorESM2 / CAM5)
  
 === Run the case === === Run the case ===
Line 30: Line 44:
 qsub //casename//.//machinename//.run qsub //casename//.//machinename//.run
  
 +=== Example ====
 +
 +There are already several pre-defined compsets. They all have long and short names. As and example we can use the compset N_2000_AEROSLO_CN (with short name N2000AERCN). Thus a valid command on the machine //hexagon// is: 
 +
 +./create_newcase  -case /path/to/my/case/directory/ -mach hexagon -res f19_g16 -compset N2000AERCN
 +
 +(will run a "year 2000" CAM4/NorESM1 case with the Oslo-aerosols) 
 +
 +./create_newcase  -case /path/to/my/case/directory/ -mach hexagon -res f19_g16 -compset FAMIPC5
 +
 +(will configure the "default" atmoshere-only simulation of CAM5)
 +
 +===Important files===
 +
 +The most important files to understand in your case-directory are: 
 +  * env_run.xml (model run type, how long time to run etc)
 +  * env_conf.xml (model configuration)
 +
 +===More information===
 +
 +Go to [[NORESM::RunModel::Advanced]] for more information
  
  • noresm/runmodel/newbie.1376575956.txt.gz
  • Last modified: 2022-05-31 09:23:24
  • (external edit)