Changes between Version 37 and Version 38 of Doc/ComputingCenters/ESPRImesocenter
- Timestamp:
- 01/18/22 21:45:35 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Doc/ComputingCenters/ESPRImesocenter
v37 v38 162 162 163 163 ## Example of job for a MPI executable ## 164 In this example, ORCHIDEE offline is launched on 31 cores with XIOS server on 1 core. This example can also be used for LMDZ, change the executable name in the run_file. A minimum change before launching the script is to source the module that are needed. Same modules as used during compilation should be set. 164 In this example, ORCHIDEE offline is launched on 31 cores with XIOS server on 1 core. This example can also be used for LMDZ, change the executable name in the run_file. A minimum change before launching the script is to source the modules that are needed. The same modules as used during compilation should be set. 165 166 All input files and executables should be available in the folder where the job is launched. 165 167 166 168 {{{ … … 186 188 ## Source same modules as used during compilation. See examples below depending on the configurations used. 187 189 # For ORCHIDEE_3 and more recent offline versions or coupled v6.2 and more recent versions: 188 #source .. ../config/ORCHIDEE_OL/ARCH/arch-ifort_CICLAD.env189 #source .. ../config/LMDZOR_v6/ARCH/arch-ifort_CICLAD.env190 #source ../modipsl/config/ORCHIDEE_OL/ARCH/arch-ifort_CICLAD.env 191 #source ../modipsl/config/LMDZOR_v6/ARCH/arch-ifort_CICLAD.env 190 192 # For ORCHIDEE_2_0, 2_1, 2_2 and coupled models v6.1.x: 191 #source /home/igcmg/.atlas_env_ciclad_ksh 192 193 ## Execute the model 194 # Server mode. First create run_file 195 # Note1: 31+1 should be equal the number set in the header. For example, if you set 16 in the header, set -np 15 for orchidee and keep -np 1 for xios. 196 # Note2: Here orchidee is launched in offline on 31 cores with the XIOS server on 1 core. 197 # If you want to run LMDZ, change orchidee_ol_prod into the name for the lmdz executable. 193 # source /ciclad-home/igcmg/.atlas_env_ciclad_ksh 194 195 ## Create a run_file to be used to lauch with XIOS in server mode 196 # Note: 31+1 should be equal the number set in the header. For example, if you set 16 in the header, set -np 15 for orchidee and keep -np 1 for xios. 197 # If you want to run LMDZ, change orchidee_ol_prod into the name for the lmdz executable. 198 198 rm -f run_file 199 199 echo "-np 31 ./orchidee_ol_prod" > run_file … … 201 201 chmod +x run_file 202 202 203 # Launch the executables203 ## Launch the executables 204 204 time mpirun --app ./run_file 205 205 206 207 206 }}} 208 207