LMDZOR_v6 is a configuration under construction. It can already be used but it is not in its final version. More information to come...
Person in charge: Josefine Ghattas
LMDZOR_v6 configuration contains the atmospheric model LMDZ and the land surface model ORCHIDEE. Currently this configuration contains the following components:
Default compilation is still 96x96x39. Default option during run time is old physics and 2-layer hydrology. These options can be changed.
LMDZOR_v6 :
Default compilation is still 96x96x39 but other resolutions can be compiled. To compile 144x142x79 grid do as follow :
gmake LMD144142-L79
By default the compiling is done for hybrid MPI and OMP parallelism. It is not necessary but possible to activate OMP threads during run time.
The default set up is using 31MPI for the gcm.e and 1MPI for the xios server. Following is set in config.card :
[Executable] ATM= (gcm.e, lmdz.x, 31MPI, 1OMP) SRF= ("", "") SBG= ("", "") IOS= (xios_server.exe, xios.x, 1MPI)
See here an example suitable for resolution 144x142x79 using 47MPI and 2 threads OMP for gcm and 1MPI for the xios server:
#D-- Executable - [Executable] ATM= (gcm.e, lmdz.x, 47MPI, 2OMP) SRF= ("", "") SBG= ("", "") IOS= (xios_server.exe, xios.x, 1MPI)
XIOS is the new component 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 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.
LMDZOR_v6 is only using XIOS for writing diagnostic output files. The output level is managed by xml files. The files beginning with file_def....xml are controlling the variables and the files that are written. These files are stored in PARAM/ directory or directly in the model source directory, look into lmdz.card and orchidee.card to have precise information.
A basic level of output control is done from config.card with the variables WriteFrequency. For LMDZ it is also possible to change the output level for the files using the variable OutLevel in lmdz.card. Finer control of the output must be done directly in the file_def_....xml files. Where it is set _AUTO_, it can be replaced manually for example in PARAM/file_def_histday_lmdz.xml :
<file id="histday" name="histday" output_freq="1d" output_level="_AUTO_" enabled="_AUTO_">
can be changed into
<file id="histday" name="histday" output_freq="1800s" output_level="1" enabled=".TRUE.">
Most parameter file are found in PARAM/ directory as for the v5 configurations. But some files are now also copied from the model directories. This is the case for field_def_lmdz.xml and field_def_orchidee.xml. In lmdz.card and orchidee.card you can see where the files are taken from.
In 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 are set according to the options from lmdz.card, orchidee.card, stomate.card and config.card.
A 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.
New physics in LMDZ:
NPv3.2, NPv5.17g and NPv5.17h are added currently. To run another physics version, you need to add the corresponding file physiq.def_L79_NPvXX coming from Abderrahmane Idelkadi simulations in PARAM and activate it in lmdz.card by setting LMDZ_Physics=NpvXX. The other .def files corresponds to what Abderrahmane has except for pmagic which is =0 in LMDZOR_v6. Note that the different physics are related to a specific number of vertical layers so don't forget to compile the corresponding resolution.
CWRR 11-layer hydrology in ORCHIDEE:
Change from Choisnel 2-layer into CWRR 11-layer in orchidee.card by setting DefSuffix=CWRR.
Default compiling is done without COSP. Options to activate COSP are available in lmdz.card but running with COSP output has not been tested.
NMC monthly output are activated by default.
# Installation and compilation svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk modipsl cd modipsl/util ./model LMDZOR_v6 cd ../config/LMDZOR_v6 gmake [or gmake LMD144142-L79] # Experiment setup cp EXPERIMENT/LMDZOR/clim/config.card . # => modify at least JobName=MyJobname, DateBegin, DateEnd in config.card ../../libIGCM/ins_job cd MyJobname # Modify default setup: change physics in lmdz.card # Change hydrology(2- or 11- layer) in orchidee.card ccc_msub Job_MyJobname / llsubmit Job_MyJobname
You run a simulation with IPSLCM6 and you want to launch the same with LMDZOR_v6. For this you need to follow all these steps :
cd modipsl/config/IPSLCM6 cp -r MyIPSLCM6piControl MyLmdzor6piControl cd MyLmdzor6piControl rm -rf Script* run.card Job* Debug
# # #======================================================================== # #D-- OCE - # [OCE] # WriteFrequency="1M" # # If config_Restarts_OverRule == 'n' next 4 params are read # Restart= n # ##-- Last day of the experience used as restart for this component if Restart=y # RestartDate=1859-12-31 # #D- Define restart simulation name for all components # RestartJobName=O1T07V01 # #D- Path Server Group Login # RestartPath=/ccc/store/cont003/dsm/p86mart/IGCM_OUT/IPSLCM6/DEVT/piControl # # #======================================================================== # #D-- ICE - # [ICE] # WriteFrequency="1M" # # If config_Restarts_OverRule == 'n' next 4 params are read # Restart= n # ##-- Last day of the experience used as restart for this component if Restart=y # RestartDate=1859-12-31 # #D- Define restart simulation name for all components # RestartJobName=O1T07V01 # #D- Path Server Group Login # RestartPath=/ccc/store/cont003/dsm/p86mart/IGCM_OUT/IPSLCM6/DEVT/piControl # # #======================================================================== # #D-- MBG - # [MBG] # WriteFrequency="1M" # Restart= n # ##-- Last day of the experience used as restart for this component if Restart=y # RestartDate=1859-12-31 # #D- Define restart simulation name for all components # RestartJobName=O1T07V01 # #D- Path Server Group Login # RestartPath=/ccc/store/cont003/dsm/p86mart/IGCM_OUT/IPSLCM6/DEVT/piControl # # #======================================================================== # #D-- CPL - # [CPL] # WriteFrequency="1M" # # If config_Restarts_OverRule == 'n' next 4 params are read # Restart= n # # Last day of the experience used as restart for this component if Restart=y # RestartDate=1859-12-31 # #D- Define restart simulation name for all components # RestartJobName=O1T07V01 # #D- Path Server Group Login # RestartPath=/ccc/store/cont003/dsm/p86mart/IGCM_OUT/IPSLCM6/DEVT/piControl # #======================================================================== #D-- ListOfComponents - [ListOfComponents] #D- For each component, Name of component, Tag of component ATM= (lmdz, LMDZ4-dev) SRF= (orchidee, ORCHIDEE_1_9_5) SBG= (stomate, ORCHIDEE_1_9_5) #OCE= (opa9, CMIP5_IPSL) #ICE= (lim2, CMIP5_IPSL) #MBG= (pisces, CMIP5_IPSL) #CPL= (oasis, OASIS3-MCT) IOS= (xios, XIOS) #======================================================================== #D-- Executable - [Executable] #D- For each component, Real name of executable, Name of executable for oasis ATM= (gcm.e, lmdz.x, 32MPI, 4OMP) SRF= ("" ,"" ) SBG= ("" ,"" ) #OCE= (opa, opa.xx, 31MPI) #ICE= ("" ,"" ) #MBG= ("" ,"" ) #CPL= ("", "" ) IOS= (xios_server.exe, xios.x, 1MPI)
../../../libIGCM/ins_job