[slurm-users] srun and mpirun

Mahmood Naderan mahmood.nt at gmail.com
Fri Apr 13 03:19:56 MDT 2018


Hi,
I see some old posts on the web about performance comparison of srun
vs. mpirun. Is that still an issue? Both the following scripts works
for test programs and surely the performance concerns is not visible
here.

#!/bin/bash
#SBATCH --job-name=hello_mpi
#SBATCH --output=hellompi.log
#SBATCH --ntasks=120
#SBATCH --time=10:00
mpirun mpihello

and

#!/bin/bash
#SBATCH --job-name=hello_mpi
#SBATCH --output=hellompi.log
#SBATCH --ntasks=120
#SBATCH --time=10:00
srun mpihello


Regards,
Mahmood



More information about the slurm-users mailing list