Changes between Initial Version and Version 1 of Doc/Config/LMDZOR_v6.2


Ignore:
Timestamp:
10/11/19 12:12:29 (5 years ago)
Author:
jgipsl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/Config/LMDZOR_v6.2

    v1 v1  
     1{{{ 
     2#!html 
     3<h1> The LMDZOR_v6.2 configuration </h1> 
     4}}} 
     5[[PageOutline(1-2,Table of contents)]] 
     6 
     7 
     8[[NoteBox(note, LMDZOR_v6.2 is a configuration close the the coupled configuration IPSLCM6.2 , 600px)]] 
     9Person in charge: Josefine Ghattas 
     10 
     11---- 
     12 
     13 
     14# Description # 
     15LMDZOR_v6.2 configuration contains the atmospheric model LMDZ and the land surface model ORCHIDEE.  
     16This configuration is under construction and the versions of the models might change without any announcement. If you want to use this version, contact the reference person above. 
     17 
     18## Main differences between LMDZOR_v6.2 and LMDZOR_v6.1.10 ## 
     19LMDZOR_v6.2 : 
     20 * is adapted to the trunk version of LMDZ and version ORCHIDEE_2_2. These versions are slightly different from the versions used for CMIP6.  
     21 * a compilation script is used instead of a makefile in config/LMDZOR_v6 folder. 
     22 * the configuration is independent of the default module environnement as during compilation a file in config/LMDZOR_v6/ARCH is used 
     23 * no possibility to use the old 2-bucket hydrology scheme Choisnel in ORCHIDEE 
     24 
     25## Compiling ## 
     26To be done 
     27 
     28## Launching ## 
     29 
     30The default set up is using 71 MPI * 8 OMP for the gcm.e and 1 MPI for the xios server. Following is set in config.card :  
     31{{{ 
     32ATM= (gcm_${ResolAtm}_${OptMode}.e, lmdz.x, 71MPI, 8OMP) 
     33SRF= ("", "") 
     34SBG= ("", "") 
     35IOS= (xios_server_${OptMode}.exe, xios.x, 1MPI) 
     36}}} 
     37 
     38 
     39 
     40## XIOS and output control ## 
     41XIOS is used for output writing. It consists of a library linked to the model and an external server executable (xios_server.exe). It can be launched in attached mode or in server mode. The default set up in LMDZOR_v6.2 is using the server mode with 1 MPI for the server. 2 executables are launched: gcm.e and xios_server.exe. No reconstruction is needed for the output files. The rebuild tool detects automatically that this is not needed.  
     42 
     43The output level and the files to write is set in lmdz.card, orchidee.card and stomate.card. See comments in the corresponding files and read more in [wiki:Doc/Setput chapter Setup]. The !WriteFrequency option in config.card is not used any more.  
     44 
     45## Parameter files ## 
     46Parameter file are found in PARAM/ directory except the xml files copied directly from the models directory. 
     47 
     48In the parameter files, some of the variables will be modified after the job is submitted. This is done by the ''comp.driver'': lmdz.driver, orchidee.driver, stomate.driver and xios.driver. All the variables that might be modified are set equal _AUTO_ or _AUTOBLOCKER_. No variable can be modified without having this key word. The values for these variables are set according to the options from lmdz.card, orchidee.card, stomate.card and config.card.  
     49 
     50A variable which is set to _AUTO_ can also be changed manually in the corresponding file in the PARAM directory. For this case, the driver can not change it again. Some variables are set equal _AUTOBLOCKER_. They cannot be changed. If still they are changed, the job will exit with error message. 
     51 
     52 
     53'''Physics in LMDZ:'''[[BR]] 
     54Different versions of physics for LMDZ exist in PARAM directory. The choice is done from lmdz.card by setting the variable LMDZ_Physics. The physiq.def and gcm.def files are suffixed by the version of the physics.  
     55 
     56'''CWRR 11-layer hydrology in ORCHIDEE:'''[[BR]] 
     57Only the multilayer CWRR hydrology scheme is available in ORCHIDEE.  
     58 
     59 
     60# Quick installation # 
     61## Extract default version ## 
     62{{{ 
     63# Install modipsl 
     64svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk modipsl 
     65cd modipsl/util 
     66 
     67# Before next command, modify the file mod.def if you want to extract an old version (*) 
     68 
     69# Download and compile configuration LMDZOR_v6.2_work 
     70./model LMDZOR_v6.2_work 
     71cd ../config/LMDZOR_v6 
     72./compile_lmdzor.sh [-debug, ...] 
     73 
     74# Experiment setup 
     75cp EXPERIMENT/LMDZOR/clim_pdControl/config.card .     # => modify at least JobName=MyJobname, DateBegin, DateEnd in config.card 
     76../../libIGCM/ins_job 
     77cd MyJobname 
     78 
     79 
     80# Modify default setup:  
     81# for example change physics in lmdz.card, or hydrology in orchidee.card 
     82 
     83# Modify config.card if compilation done for debug mode or another resolution than the default 144x142x79 
     84vi config.card  => OptMode=debug, ResolAtm=xxx 
     85 
     86ccc_msub Job_MyJobname / sbatch Job_MyJobname 
     87}}} 
     88 
     89## Extract a different version ## 
     90Modify the file util/mod.def if you do not want the default set up. This must be done at step (*) above, before the command ''./model LMDZOR_v6.2_work''. Look for the lines starting with '''#-C- LMDZOR_v6.2_work'''. Each of these lines describes the extraction of one component which is included in the configuration LMDZOR_v6.2. Change the revision number to correspond to the revision you need.  
     91 
     92 
     93# How to reproduce a coupled simulation with the forced model ? # 
     94To be reviewed... 
     95 
     96 
     97You have run a simulation with IPSLCM6 and you would like to launch the same with LMDZOR_v6.2 with limit conditions (SST and seaice) coming from the same or another IPSLCM6 simulation. In practice this is needed to estimate radiative forcing from MyIPSLCM6 experiment using SST and sea-ice from the same simulation or from a reference simulation 
     98 
     99For this you need to follow all these steps :  
     100 * Create limit.nc using sst / sic and land-sea mask from your IPSLCM6 simulation, as described [https://forge.ipsl.jussieu.fr/igcmg_doc/wiki/DocImodelBlmdz#Createlimit.ncfromthedataofapreviousLMDZsimulationcoupledorforced here] 
     101 * Create your new experiment directory  
     102{{{ 
     103cd modipsl/config/IPSLCM6 
     104cp -r MyIPSLCM6 MyLmdzor6 
     105cd MyLmdzor6 
     106rm -rf Script* run.card Job* Debug 
     107}}} 
     108 * modify config.card :  
     109   * modify the !JobName as you want 
     110   * modify the !TagName to LMDZOR 
     111   * modify the Restart section to use Restart from MyIPSLCM6 
     112   * remove or comment out all lines for the ocean component(OCE, MBG) and the coupler(CPL) in !ListOfCompondents and Executable section : 
     113{{{ 
     114#======================================================================== 
     115#D-- ListOfComponents - 
     116[ListOfComponents] 
     117#D- For each component, Name of component, Tag of component 
     118ATM= (lmdz, LMDZ4-dev) 
     119SRF= (orchidee, ORCHIDEE_1_9_5) 
     120SBG= (stomate, ORCHIDEE_1_9_5) 
     121#OCE= (opa9, CMIP5_IPSL) 
     122#ICE= (lim2, CMIP5_IPSL) 
     123#MBG= (pisces, CMIP5_IPSL) 
     124#CPL= (oasis, OASIS3-MCT) 
     125IOS= (xios, XIOS) 
     126 
     127#======================================================================== 
     128#D-- Executable - 
     129[Executable] 
     130#D- For each component, Real name of executable, Name of executable for oasis 
     131ATM= (gcm.e, lmdz.x, 32MPI, 4OMP) 
     132SRF= ("" ,"" ) 
     133SBG= ("" ,"" ) 
     134#OCE= (opa, opa.xx, 31MPI) 
     135#ICE= ("" ,"" ) 
     136#MBG= ("" ,"" ) 
     137#CPL= ("", "" ) 
     138IOS= (xios_server.exe, xios.x, 1MPI) 
     139 
     140}}} 
     141 * Add the path of your new limit.nc files in [!BoundaryFiles] Section of lmdz.card 
     142 * (If you are working with IPSLCM5A you need to put "type_ocean=force" in PARAM/run.def) 
     143 * create your new job  
     144{{{ 
     145../../../libIGCM/ins_job 
     146}}} 
     147 
     148