Skip to content

Commit

Permalink
Solved problem on not enough slots in conda/docker
Browse files Browse the repository at this point in the history
  • Loading branch information
mikibonacci committed Oct 4, 2024
1 parent 6231d90 commit 1f2d58b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions conda_env/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,19 @@ Then:
```bash
make kcp # not in parallel.
```
# How to solve the *There are not enough slots available in the system...*
This happens when we run *mpirun* asking for more processes than the available slots.
Just look for the `/home/jovyan/.conda/envs/codes/etc/openmpi-default-hostfile`:
```bash
find /home/jovyan/.conda/envs/codes/* -name *hostfile
```
and add this line:
```bash
localhost slots=24
```

0 comments on commit 1f2d58b

Please sign in to comment.