Job scripts

Here you find some simple parallel batch job examples which are designed to be submitted to and run in the nf queue on the Atos HPCF. Use them as templates to learn from, or as starting points for constructing your own jobs.

Do not forget to modify the scripts with your own workdir, UID and GID as necessary!

HPC2020: example parallel job using hybrid MPI - Open MP

These example parallel jobs compute the value of pi using a Monte Carlo method implemented in Fortran.

The algorithm has been parallelised with a hybrid MPI - OpenMP approach.  The jobs can be run in either the np or nf parallel queues on the Atos HPC

Examples are provided both for using the Intel compiler with Intel MPI and the GNU compiler with OpenMPI.

HPC2020: example parallel job using OpenMP

These example parallel jobs compute the value of pi using a Monte Carlo method implemented in Fortran.

The algorithm has been parallelised with OpenMP and the jobs can be run on a single node in either the np or nf parallel queues on the Atos HPC.  

Examples are provided both for using the Intel compiler and the GNU compiler

HPC2020: example parallel job using pure MPI

These example parallel jobs compute the value of pi using a Monte Carlo method implemented in Fortran.

The algorithm has been parallelised with pure MPI and the jobs can be run in either the np or nf parallel queues on Atos HPC.  

Examples are provided both for using the Intel compiler with Intel MPI and the GNU compiler with OpenMPI.

HPC2020: example parallel MPMD job using MPI + OpenMP code

This example parallel job shows how to run a Multiple Program Multiple Data (MPMD) hybrid MPI + OpenMP execution, such as a coupled model. 

It is using the heterogeneous step feature in Slurm, which assigns complete nodes to every step of the MPMD run, and allows for different layout in terms of tasks and threads for each of them. The dummy program used is based on Cray's xthi tool, which displays the rank and thread for each unit of execution, as well as the node where they run and the cpu pinned to them. See HPC2020: Affinity for more details on cpu pinning and why it is important. This example simulates a coupled MPI+OpenMP execution with 3 different binaries, each of them running with a different layout:

HPC2020: example serial job

This example  job computes the value of pi using a Monte Carlo method implemented  in Fortran 

The Fortran program has not been parallelised and the job  is designed to run in the ns serial queue on the Atos HPC.

Examples are provided both for using the Intel compiler and the GNU compiler.

Further information

To submit these examples, please check: