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:07:45]
alfg [Create a case]
noresm:runmodel:newbie [2022-05-31 09:29:32] (current)
Line 5: Line 5:
 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 case ===== +=== Go to scripts directory ===
 cd $NORESM/scripts cd $NORESM/scripts
  
-./create_newcase  - case ../cases///casename/// -mach //machinename// -res f19_f19 -compset //compsetname// (where //casename//, //machinename// and //compsetname// are user input)+=== Create the case === 
 +./create_newcase  -case ../cases///casename/// -mach //machinename// -res f19_g16 -compset //compsetname// 
  
 +(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 ===
 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 
 + 
 +=== Build the case === 
 + 
 +.///casename//.//machinename//.build (NorESM1 / CAM4) 
 + 
 +.///casename//.build (NorESM2 / CAM5) 
 + 
 +=== Run the case === 
 + 
 +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.1376575665.txt.gz
  • Last modified: 2022-05-31 09:23:24
  • (external edit)