[slurm-users] MPICH

22 views
Skip to first unread message

Diego Zuccato

unread,
Apr 28, 2022, 2:42:25 AM4/28/22
to Slurm User Community List
Hello all.

Does someone know which flags to use to compile MPICH to be
Slurm-compatible?

One of our users is trying to do that, but:
./configure --with-slurm-include=/usr/include/slurm/
--with-slurm-lib=/usr/lib/x86_64-linux-gnu/slurm-wlm/ --with-pm=none
--with-pmi=slurm --prefix=${HOME}/usr/mpich-4.0.2
gives an executable that only uses 1 CPU even if sbatch requested 52. :(

Any hint appreciated.

Tks.

--
Diego Zuccato
DIFA - Dip. di Fisica e Astronomia
Servizi Informatici
Alma Mater Studiorum - Università di Bologna
V.le Berti-Pichat 6/2 - 40127 Bologna - Italy
tel.: +39 051 20 95786

Stephan Roth

unread,
Apr 28, 2022, 5:49:48 AM4/28/22
to Slurm User Community List

Hi Diego,

I don't know about MPICH, but in case you haven't done this already, you
might check the Slurm side if everything is ready:

Did you make sure your Slurm was built with PMI support (as in
`configure ... --with-pmix=/path/to/pmix`)?

Do you see MPI types:
srun --mpi=list

Does a test like the following work:
srun --mpi=pmix -n2 -N2 pmix_client -n 2 --job-fence -c

Best,
Stephan
Reply all
Reply to author
Forward
0 new messages