question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

There are not enough slots available in the system to satisfy the 8 slots

See original GitHub issue

When I run:
torchpack dist-run -np 8 -v python train.py configs/semantic_kitti/spvcnn/cr0p5.yaml

the system tell me:

--------------------------------------------------------------------------
There are not enough slots available in the system to satisfy the 8 slots 
that were requested by the application:
  python

Either request fewer slots for your application, or make more slots available
for use.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
MEIXuYancommented, Oct 19, 2020

Hi Haotian, I found that I installed mpich package instead of open-mpi package, which is not perfectly suitable for torchpack, sorry. I reinstall openmpi, torchpack and mpi4py using following shell commands, everything is fine now.

wget https://download.open-mpi.org/release/open-mpi/v4.0/openmpi-4.0.5.tar.gz
gunzip -c openmpi-4.0.5.tar.gz | tar xf -
cd openmpi-4.0.5
./configure --prefix=/usr/local --with-orte
sudo make all -j8 install
sudo ldconfig
pip install mpi4py
pip install --upgrade git+https://github.com/zhijian-liu/torchpack.git

Hope this can help someone with the same questions.

Best, Yan Xu

0reactions
MEIXuYancommented, Oct 29, 2020

Hi Haotian, I found that I installed mpich package instead of open-mpi package, which is not perfectly suitable for torchpack, sorry. I reinstall openmpi, torchpack and mpi4py using following shell commands, everything is fine now.

wget https://download.open-mpi.org/release/open-mpi/v4.0/openmpi-4.0.5.tar.gz
gunzip -c openmpi-4.0.5.tar.gz | tar xf -
cd openmpi-4.0.5
./configure --prefix=/usr/local --with-orte
sudo make all -j8 install
sudo ldconfig
pip install mpi4py
pip install --upgrade git+https://github.com/zhijian-liu/torchpack.git

Hope this can help someone with the same questions. Best, Yan Xu

Hi Yan Xu, I met the same problem and I do as you mentioned above, and It didn’t work.

Best, Gorzhij

Maybe you can try sudo rm -rf ~/.cache/pip to remove the pip cache, then redo the above pip install commands.

Read more comments on GitHub >

github_iconTop Results From Across the Web

mpi - mpirun - not enough slots available - Stack Overflow
I'm using OpenMPI 1.10 on a quad-core system and your mpirun command works like a charm. – Harald. Feb 29, 2016 at 17:23....
Read more >
There are not enough slots available in the system to satisfy ...
Hi all, I tested a multi-node task with openmpi in this project. As In the title, when I comment --oversubscribe in this line,...
Read more >
Open MPI error -- CFD Online Discussion Forums
... There are not enough slots available in the system to satisfy the 8 slots that were requested by the application: snappyHexMesh Either ......
Read more >
Not enough slots available in the system with OpenMPI
I am launching a code using openmpi, that I have compiled simply doing. mpif90 bin.f90 -llapack -lblas -o bin.x. If I do. mpirun...
Read more >
[OMPI users] MPI doesn't recognize multiple cores available ...
Did you mean "MPI process" instead of "processor"? ... When you get the "There are not enough slots available in the system..." message,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found