[slurm-users] MPICH

Stephan Roth stephan.roth at ee.ethz.ch
Thu Apr 28 09:48:49 UTC 2022


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

On 28.04.22 08:41, Diego Zuccato wrote:
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4252 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20220428/d01499c1/attachment.bin>


More information about the slurm-users mailing list