Giter VIP home page Giter VIP logo

Comments (2)

abuccts avatar abuccts commented on May 22, 2024

When there're multiple Ethernet interfaces available, there won't be "default", OMPI will automatically detect the usable interface using its routability algorithm. The detection is complex and it still cannot cover some cases which require user to specify btl_tcp_if_include and btl_tcp_if_exclude explicitly.

You can pass through such parameters in config yaml:

modes:
- name: mpi
  mca:
    btl_tcp_if_include: azure2

For the proposed get_eth_interfaces detection, it cannot cover some scenarios as well and may not be better than current OMPI's detection. Here're two cases:

  • "MPI job that spans public and private networks" that OMPI cannot cover, consider the following two nodes

    |    Node A     |     |    Node B     |
    |               |     |               |
    |     eth0      |     |     eth0      |    # public network, cannot route to each other
    | 192.168.100.1 |     | 192.168.100.2 |
    |               |     |               |
    |     eth1      |     |     eth1      |    # private network, can route to each other
    | 192.168.200.1 |     | 192.168.200.2 |
    

    eth0 is only used to access Internet and they cannot route to each other, while eth1 of two nodes are connected to the same switch in private networking. You detection method would think both of them are usable (ipv4, with ip, no bridge, not docker), it's hard to choose the correct one without extra knowledge for cluster networking.

  • When all ethernet interfaces (azure2 and eth0 in your case) are disabled or unavailable, IPoIB can also be used for mpi, for example, changing to btl_tcp_if_include ib0 should also work in your environment. The get_eth_interfaces detection would also exclude suitable interfaces.

from superbenchmark.

LiweiPeng avatar LiweiPeng commented on May 22, 2024

will use one by setting the config file

from superbenchmark.

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.