Content
Code execution
For examples for code execution, please visit CPU Genoa partition.
Code compilation
For code compilation please use gnu compiler.
Slurm job script
A slurm script is submitted to the job scheduler slurm. It contains
- the request for compute nodes of a CPU Genoa partition and
- commands to start your binary. You have two options to start an MPI binary.
- using
mpirun
- using
srun
- using
Using mpirun
Using mpirun
(from the MPI library) to start the binary you need to switch off slurm binding by adding export SLURM_CPU_BIND=none
.
You can run one code compiled with MPI and OpenMP. The example covers the setup
- 2 nodes,
- 8 processes per node, 24 threads per process.
Using srun
You can run one code compiled with MPI and OpenMP. The example covers the setup
- 2 nodes,
- 8 processes per node, 24 threads per process.