Changes between Version 12 and Version 13 of Doc/ComputingCenters/LSCE


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

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/ComputingCenters/LSCE

    v12 v13  
    4545 
    4646## Example of parallel MPI job ## 
    47 Here is an example of a simple job to run the orchidee_ol executable. All input files and the executable must be in the directory before running the executable.  
     47Here is an example of a job to run ORCHIDEE offline model launched on 15 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. 
     48 
     49All input files and executables should be available in the folder where the job is launched.  
    4850{{{ 
    4951###################### 
     
    5658#PBS -o Script_Output 
    5759#PBS -S /bin/ksh 
    58 #PBS -l nodes=1:ppn=8 
     60#PBS -l nodes=1:ppn=16 
    5961 
    6062 
    61 ## First source following to acces the command module under ksh 
     63## Go to current folder 
     64cd $PBS_O_WORKDIR 
     65 
     66## To access module command 
    6267source /usr/share/Modules/init/ksh 
    6368 
    6469## Source same modules as used during compilation. See examples below depending on the configurations used. 
    6570# For ORCHIDEE_3 and more recent offline versions or coupled v6.2 and more recent versions: 
    66 #source ..../config/ORCHIDEE_OL/ARCH/arch-ifort_LSCE.env 
    67 #source ..../config/LMDZOR_v6/ARCH/arch-ifort_LSCE.env 
     71#source ../modipsl/config/ORCHIDEE_OL/ARCH/arch-ifort_LSCE.env 
     72#source ../modipsl/config/LMDZOR_v6/ARCH/arch-ifort_LSCE.env 
    6873# For ORCHIDEE_2_0, 2_1, 2_2 and coupled models v6.1.x: 
    69 #source /home/orchideeshare/igcmg/MachineEnvironment/obelix/env_atlas_obelix 
     74# source /home/orchideeshare/igcmg/MachineEnvironment/obelix/env_atlas_obelix  
    7075 
    71 ## Go to current folder and execute 
    72 cd $PBS_O_WORKDIR 
    73 time mpirun orchidee_ol 
     76## Create a run_file to be used to lauch with XIOS in server mode 
     77# 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.  
     78#       If you want to run LMDZ, change orchidee_ol_prod into the name for the lmdz executable. 
     79rm -f run_file 
     80echo "-np 15 ./orchidee_ol_prod" > run_file 
     81echo "-np 1 ./xios_server_prod.exe " >> run_file 
     82chmod +x run_file 
     83 
     84## Launch the executables 
     85time mpirun --app ./run_file 
     86 
    7487}}} 
    7588