-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
open MPI error: A system-required executable either could not be found or was not executable by this user in file ess_singleton_module.c at line 458 #573
Comments
Hi @andersahp ! Frankly, this does not look an error I have seen before, and it seems to be related to MPI rather than to python / baselines.
If that succeeds (prints "foo" twice), that means that the error is somewhere in mpi4py; otherwise - in your particular installation of MPI. In that case I'd recommend re-installing OpenMPI, and if that does not help, try MPICH. |
Thanks pzhovkov. I actually thought mpi was used for parallel computing. But your question made me Google again, and I see that it's not. In what situation would I need mpi when using baselines? |
MPI is used for parallel computing (stands for message passing interface - the protocol in which parallel processes explicitly send each other messages with data), but that's not the only way to do parallel computing. When all processes are running on the same machine, processes can also communicate via shared memory or pipes (actually, pipes can work over network too); when running on multiple machines, other communication interfaces can be used. Now, to your question - in what situation would you need mpi when using baselines - some of the baselines algorithms are compatible with mpi (at the moment ppo2 and trpo_mpi). These algorithms run copies of neural network in several processes and share parameters using MPI; but MPI does not have to be used - if you don't need to run them on a cluster, no MPI acts exactly like MPI with one process. |
Thanks alot pzhokov for the clarification. :) |
Had the same error. Solved it with: |
Just installed gym and baselines, and when testing the baselines install running DQN/Pong example i get an Open MPI error.
I am pretty much clueless as to what i can try, so any suggestions are appreciated. I have tried force reinstalling mpi4py (version 3.0.0), but no luck.
I run python 3.6.5 in a virtualenv, on linux mint 19 cinnamon 3.8.8.
The text was updated successfully, but these errors were encountered: