Intel® MPI Library Developer Guide for Linux* OS

ID 768728
Date 12/16/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Libfabric* Support

The Intel® MPI Library switched from the Open Fabrics Alliance* (OFA) framework to the Open Fabrics Interfaces* (OFI) framework and currently supports libfabric*.

Enabling Libfabric Support

By  default, the script that sets the environmental variables (vars.sh)  sets the environment to libfabric shipped with the Intel MPI Library. To disable this, use the I_MPI_OFI_LIBRARY_INTERNAL environment variable or the -i_mpi_ofi_internal option passed to the script:

# Do not set the environment to libfabric from the Intel MPI Library.
$ source <install-dir>/env/vars.sh -i_mpi_ofi_internal=0

# Set the environment to libfabric from the Intel MPI Library.
$ source <install-dir>/env/vars.sh -i_mpi_ofi_internal=1 

# A short form of -ofi-internal=1
$ source <install-dir>/env/vars.sh
NOTE:
Set the I_MPI_DEBUG environment variable to 1 before running an MPI application to see the libfabric version and provider.

Example

$ export I_MPI_DEBUG=1
$ mpiexec -n 1 IMB-MPI1 -help
[0] MPI startup(): libfabric version: 1.5.0
[0] MPI startup(): libfabric provider: psm2


...

Supported Providers

  • psm3
  • efa
  • tcp
  • shm
  • psm2
  • mlx
  • verbs

See Also