Skip to content

Commit 1f2d58b

Browse files
committed
Solved problem on not enough slots in conda/docker
1 parent 6231d90 commit 1f2d58b

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

conda_env/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,19 @@ Then:
104104
105105
```bash
106106
make kcp # not in parallel.
107+
```
108+
109+
# How to solve the *There are not enough slots available in the system...*
110+
111+
This happens when we run *mpirun* asking for more processes than the available slots.
112+
Just look for the `/home/jovyan/.conda/envs/codes/etc/openmpi-default-hostfile`:
113+
114+
```bash
115+
find /home/jovyan/.conda/envs/codes/* -name *hostfile
116+
```
117+
118+
and add this line:
119+
120+
```bash
121+
localhost slots=24
107122
```

0 commit comments

Comments
 (0)