Using multiple programs on different data within a single job takes a bit ofset up, as you need to tell the MPI starter exaectly what to run and where to run it.
Example script hello.slurm for a code with two binaries
- one OpenMP binary hello_omp.bin running on 1 node, 2 MPI tasks per node and 4 OpenMP threads per task,
- one MPI binary hello_mpi.bin running on 2 nodes, 4 MPI tasks per node.
- Mit srun geht das auch. Leider läuft grade keins unserer Systeme...