Dear Slurm Users, I am facing issues with the following combinations of OpenMPI and SLURM. I was wondering if you have faced something similar and can help me.
OpenMPI-3.1.6 and slurm 19.05.5 OpenMPI-4.0.3 and slurm 19.05.5 I have the OpenMPI packages configured with "--with-slurm" option and installed. * Configure command line: '--prefix=/home/manumachu/openmpi-4.0.3/OPENMPI_INSTALL' '--with-slurm' MCA ess: slurm (MCA v2.1.0, API v3.0.0, Component v4.0.3) MCA plm: slurm (MCA v2.1.0, API v2.0.0, Component v4.0.3) MCA ras: slurm (MCA v2.1.0, API v2.0.0, Component v4.0.3) MCA schizo: slurm (MCA v2.1.0, API v1.0.0, Component v4.0.3)* I am executing the sbatch script shown below: *#!/bin/bash#SBATCH --account=xxxxx* *#SBATCH --job-name=ompi4#SBATCH --output=ompi4.out#SBATCH --error=ompi4.err* *#SBATCH --ntasks-per-node=1#SBATCH --time=00:30:00export PATH=/scratch/manumachu/openmpi-4.0.3/OPENMPI_INSTALL/bin:$PATHexport LD_LIBRARY_PATH=/scratch/manumachu/openmpi-4.0.3/OPENMPI_INSTALL/lib:$LD_LIBRARY_PATHmpirun -np 4 ./bcast_timing -t 1* No matter what option I give to mpirun, I get the following error: *mpirun: Error: unknown option "-np"* I have used mpiexec also but received the same errors. To summarize, I am not able to call mpirun from a SLURM script. I can use srun but I have no idea how to pass MCA parameters I usually give to mpirun such as, "*--map-by ppr:1:socket -mca pml ob1 -mca btl tcp,self -mca coll_tuned_use_dynamic_rules 1*". Thank you for your help. -- Kind Regards Dr. Ravi Reddy Manumachu Research Fellow, School of Computer Science, University College Dublin Ravi Manumachu on Google Scholar <https://scholar.google.com/citations?user=QlvhSSUAAAAJ&hl=en>, ResearchGate <https://www.researchgate.net/profile/Ravi_Manumachu>