Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Depending on the available hardware experiments can either be run interactively or as a batch job.

Running a batch job

A job wrapper file that is suitable for the batch scheduler needs to be used to call the oifs-run script.

We include an example job wrapper script run.ecmwf-hpc2020.job which is suitable for the ECMWF hpc2020 Atos HPC. It uses the SLURM batch job scheduler.

This script should be edited as required. The LAUNCH command here is only "srun" without any further options, as the parallel environment settings are provided through the script headers.

Running interactively

In order to run the experiment interactively run oifs-run in your terminal. If no command line parameters are provided with the oifs-run command, then the values from the exp-config.h will be used.

On the ECMWF hpc2020, running the model script interactively should be fine for lower grid resolutions up to T255L91.  If the LAUNCH variable in exp-config.h remains empty (and no --runcmd parameter is provided in the command line) then the oifs-run script will use its default launch parameters:  srun -c${OIFS_NPROC} --mem=64GB --time=60  which will work fine for OIFS_NPROC=4 or 8 with experiment i4xc. 

Alternatively, a job script could be used for submitting the script to the batch scheduler. An example script run.atos.job for the SLURM batch scheduler, used on the ECMWF hpc2020 is provided here: $OIFS_HOME/bin/run.atos.job

This script should be edited as required. The LAUNCH command here is only "srun" without any further options, as the parallel environment settings are provided through the script headers.


Code Block
languagebash
themeMidnight
# run interactively:
cd $PERM/i4xc/2016092500
./oifs-run

# run as batch job:
cd $PERM/i4xc/2016092500
sbatch run.atos.job

Postprocessing

...