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.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to