...
- A job wrapper script that is suitable for the locally available batch scheduler needs to be used to call the
oifs-runscript. - We include the an example job wrapper script
run.ecmwf-hpc2020.jobin$OIFS_HOME/bin, which is suitable for the ECMWF hpc2020 Atos HPC. It This uses the SLURM batch job scheduler.- In section 3, this script is copied to the experiment directory because it needs to be located
- here, to run an experiment.
run.ecmwf-hpc2020.jobneeds to be edited with the following essential and optional changess- Intially
run.ecmwf-hpc2020.jobsets thePLATFORM_CFGvariable as follows
- Intially
| Code Block | ||||
|---|---|---|---|---|
| ||||
# set OpenIFS platform environment:
PLATFORM_CFG="/path/to/your/config/oifs-config.edit_me.sh" |
- It is important to change
"/path/to/your/config/oifs-config.edit_me.sh"to the actual path for theoifs-config.edit_me.sh,e.g.,"$HOME/openifs/openifs_48R1.0/bin/oifs-config.edit_me.sh" - The default resources requested in
run.ecmwf-hpc2020.jobare 8 nodes on ECMWF hpc2020, with a total of 256 MPI tasks and
4 OpenMP threads.- It is important to change
- You will also need to set the appropriate path for your platform configuration script.
...
- 4 OpenMP threads. This can be changed as required.
- For information, the
LAUNCHcommand for batch job submission is set to "srun" without any further options
...
- , because all required parallel environment settings are provided through the SLURM script headers.
Once you have made the appropriate changes to run.ecmwf-hpc2020.job, you can submit it and, hence, run the experiment with the following commands
| Code Block | ||||
|---|---|---|---|---|
| ||||
# run as batch job: cd $PERM/i4xc/2016092500 sbatch ./run.ecmwf-hpc2020.job |
...