Skip to content

Commit e2a884a

Browse files
committed
repeat warning on OpenMPI oversubscribe
1 parent afe25f4 commit e2a884a

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

docs/installing-on-top.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,9 @@ Our output is full of errors like
355355
```
356356
What went wrong?
357357

358-
??? warning "`There are not enough slots available in the system to satisfy...`"
358+
### Problem with MPI in Slurm job context
359+
360+
!!! warning "`There are not enough slots available in the system to satisfy...`"
359361

360362
If you see a different error which starts with `There are not enough slots available in the system to satisfy...`
361363
this is because you are trying to run an MPI job while already in a Slurm job context (perhaps an interactive
@@ -652,6 +654,20 @@ Total Test time (real) = 2.03 sec
652654
have explicitly verified that our package is using EESSI for all it's dependencies and is using the runtime loader
653655
provided by EESSI.
654656

657+
!!! Warning "Problem with MPI in Slurm job context"
658+
659+
If the tests are still failing, it's probably due to errors that include:
660+
```
661+
There are not enough slots available in the system to satisfy...
662+
```
663+
664+
OpenMPI needs to be configured to allow oversubscription, by running:
665+
``` { .bash .copy }
666+
export PRTE_MCA_rmaps_default_mapping_policy=:oversubscribe
667+
```
668+
669+
See also this [subsection](#problem-with-mpi-in-slurm-job-context).
670+
655671
## Extending EESSI using `EESSI-extend`
656672

657673
While the `buildenv` may allow many applications to be built directly on top of EESSI, it cannot work miracles

0 commit comments

Comments
 (0)