SchedMD SLURM image has two versions of MPI installed? #943
-
In the
loads OpenMPI v4.1.5. Which is preferred to build applications with? I need to do |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Hi Tristan, I am not sure either. Let me ask SchedMD. |
Beta Was this translation helpful? Give feedback.
-
Hi Tristan, SchedMD is building 4.1.5 --with-slurm enabled by default, it is built against Slurm's PMI library, and so you should prefer using that one. SchedMD also added that because of how debian's bash does its profile sourcing, you may need to |
Beta Was this translation helpful? Give feedback.
-
A bit more detail in case you don't know:
Tests run on a slurm-gcp cluster using 4.1.5 built against slurm's libpmi
Both of these work and are (I think) essentially the same. OpenMPI's slurm integration allows mpirun to detect when it is inside a slurm job and behave correctly. 4.0.3 in from Debian
This does not work due to lack of slurm pmi support.
This appears to be working. |
Beta Was this translation helpful? Give feedback.
Hi Tristan, SchedMD is building 4.1.5 --with-slurm enabled by default, it is built against Slurm's PMI library, and so you should prefer using that one.
SchedMD also added that because of how debian's bash does its profile sourcing, you may need to
source /etc/profile
or/etc/profile.d/z00_lmod.sh
to have module load available. This is needed if the bash session is not a login shell, which it looks likesalloc
andsbatch
are not.