wiki:Documentation/UserGuide/TestCaseBatch

Run a parallel job in the batch system

Author: J. Ghattas
Last revision: 2020/03/03

First prepare a run directory following the how to How to run a simple test case with ORCHIDEE.

Then prepare, see examples below, a job file according to computer environment and the choice of parallelization and submit it.

irene skylake at TGCC

#!/bin/ksh
#MSUB -r test             # name of the job
#MSUB -o Script_Output    # name of output file for standard messages
#MSUB -e Script_Output    # name of output file for error messages
#MSUB -eo
#MSUB -n 32               # Request number of cores
#MSUB -T 1800             # Time limit in seconds
#MSUB -q skylake
#MSUB -m store,work,scratch
#MSUB -A genXXX           # Set your project id. Most people working with
#                         # ORCHIDEE at LSCE belong to project gen6328


## Source same modules as used during compilation. See examples below depending on the configurations used.
# For ORCHIDEE_3 and more recent offline versions or coupled v6.2 and more recent versions:
#source ..../config/ORCHIDEE_OL/ARCH/arch-X64_IRENE.env
#source ..../config/LMDZOR_v6/ARCH/arch-X64_IRENE.env
# For ORCHIDEE_2_0, 2_1, 2_2 and coupled models v6.1.x:
#source /ccc/cont003/home/igcmg/igcmg/MachineEnvironment/irene/env_irene


## Go to current folder and execute the model
cd ${BRIDGE_MSUB_PWD}
/usr/bin/time ccc_mprun -n 32 ./orchidee_ol

Submit the job to the queue with the command

ccc_msub Myjobname

Check the status of the job by

ccc_mstat

or by

ccc_mstat -u mylogin

Read more here about job headers at irene: https://forge.ipsl.jussieu.fr/igcmg_doc/wiki/Doc/ComputingCenters/TGCC/Irene#Irenejobheaders

Jean-Zay at IDRIS

See job examples here: https://forge.ipsl.jussieu.fr/igcmg_doc/wiki/Doc/ComputingCenters/IDRIS/JeanZay#ExampleofajobtostartanexecutableinaParallelenvironnement

obelix at LSCE MPI

See job example here: https://forge.ipsl.jussieu.fr/igcmg_doc/wiki/Doc/ComputingCenters/LSCE#ExampleofparallelMPIjob

Ciclad and ClimServ at IPSL ESPRI-mesocenter

See job example here: https://forge.ipsl.jussieu.fr/igcmg_doc/wiki/Doc/ComputingCenters/ESPRImesocenter#ExampleofjobforaMPIexecutable

Last modified 8 months ago Last modified on 05/29/20 07:01:04