You should be doing:

srun -n X program

instead of srun -n X mpiexec ...

Thanks,
Kiran

On 09/23/2014 01:49 PM, Lev Givon wrote:

I have OpenMPI 1.8.2 compiled with PMI support enabled and slurm 2.6.5 
installed on an
8-CPU machine running Ubuntu 14.04.1. I noticed that attempting to any
program compiled against said OpenMPI installation via srun using

srun -n X mpiexec program

with X > 1 effectively is equivalent to running

mpiexec -np X program

X times. Is this behavior expected? Running the program via sbatch only causes 1
run over X MPI processes.

Reply via email to