Changes between Version 36 and Version 37 of Doc/ComputingCenters/ESPRImesocenter


Ignore:
Timestamp:
01/18/22 16:09:55 (2 years ago)
Author:
jgipsl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/ComputingCenters/ESPRImesocenter

    v36 v37  
    162162 
    163163## Example of job for a MPI executable ## 
     164In 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.   
    164165 
    165166{{{ 
     
    191192 
    192193## Execute the model 
    193  
    194 #time mpirun ./orchidee_ol_prod 
    195 time mpirun ./lmdz.x > lmdz.out 2>&1 
     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. 
     198rm -f run_file 
     199echo "-np 31 ./orchidee_ol_prod" > run_file 
     200echo "-np 1 ./xios_server_prod.exe " >> run_file 
     201chmod +x run_file 
     202 
     203# Launch the executables 
     204time mpirun --app ./run_file 
     205 
     206 
    196207}}} 
    197208