Giter Site home page Giter Site logo

Comments (5)

ggouaillardet avatar ggouaillardet commented on July 18, 2024

/etc/hosts is not a valid Open MPI hostfile.

from ompi.

sacharin1993 avatar sacharin1993 commented on July 18, 2024

Thanks for the reply but I am not sure I understand what you mean I should change.
In the past using a etc.hosts file as the ones I attached in the former message I managed to have openMPI run correctly with two nodes.
Even if I did not mention it, I have also tried -this time - using a "machines" text file to read nodes from A and B (just these names or IP and the names). If I just write A and have openMPI run with 64 cores $ mpirun --hostfile machines -np 64 ./hello , it works. If I change the name to B or A and B (and changing -np to 128 ) and launch mpirun from A , it does not work. Justs hungs as with the other situation (/etc/hosts)

from ompi.

ggouaillardet avatar ggouaillardet commented on July 18, 2024

make sure there is no firewall between both hosts (passwordless ssh is necessary but not enough). With Open MPI v4, try restricting to known interfaces, for example mpirun --mca btl_tcp_if_include eth0 --mca oob_tcp_if_include eth0 ...

from ompi.

jsquyres avatar jsquyres commented on July 18, 2024

@sacharin1993 Please see https://docs.open-mpi.org/en/v5.0.x/getting-help.html#for-problems-launching-mpi-or-openshmem-applications

from ompi.

github-actions avatar github-actions commented on July 18, 2024

It looks like this issue is expecting a response, but hasn't gotten one yet. If there are no responses in the next 2 weeks, we'll assume that the issue has been abandoned and will close it.

from ompi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.