/
OpenMPI on CPU CLX
OpenMPI on CPU CLX
Content
Code execution
For examples for code execution, please visit Slurm partition CPU CLX.
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 Slurm partition CPU CLX 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,
- 4 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,
- 4 processes per node, 24 threads per process.
, multiple selections available,
Related content
OpenMP on CPU CLX
OpenMP on CPU CLX
More like this
OpenMPI on CPU Genoa
OpenMPI on CPU Genoa
More like this
Intel MPI on CPU CLX
Intel MPI on CPU CLX
More like this
Compilation on CPU CLX
Compilation on CPU CLX
More like this
Compilation on CPU Genoa
Compilation on CPU Genoa
More like this
Slurm partition CPU CLX
Slurm partition CPU CLX
More like this