Skip to content

Commit 3f68d71

Browse files
authored
Tell them how to resolve MPI error when running in Slurm job context
1 parent 4ce9582 commit 3f68d71

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

docs/installing-on-top.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,15 @@ 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...`"
359+
If you see a different error which starts with `There are not enough slots available in the system to satisfy...`
360+
this is because you are trying to run an MPI job while already in a Slurm job context (perhaps an interactive
361+
JupyterHub job). Our workload here is really small so we can safely tell OpenMPI that is ok to overload the CPUs:
362+
``` { .bash .copy }
363+
export PRTE_MCA_rmaps_default_mapping_policy=:oversubscribe
364+
```
365+
(this environment variable works with OpenMPI 5)
366+
358367
## Why did our build fail the tests when using EESSI?
359368

360369
To understand where the failure is coming from, we first need to understand what actually happens when we try to run a

0 commit comments

Comments
 (0)