Library information

Constants

MPI.MPI_LIBRARYConstant
MPI_LIBRARY :: String

The current MPI implementation: this is determined by

source

Functions

MPI.versioninfoFunction
MPI.versioninfo(io::IO=stdout)

Print a summary of the current MPI configuration.

source
MPI.has_cudaFunction
MPI.has_cuda()

Check if the MPI implementation is known to have CUDA support. Currently only Open MPI provides a mechanism to check, so it will return false with other implementations (unless overridden). For "IBMSpectrumMPI" it will return true.

This can be overridden by setting the JULIA_MPI_HAS_CUDA environment variable to true or false.

Note

For OpenMPI or OpenMPI-based implementations you first need to call Init().

See also MPI.has_rocm for ROCm support.

source
MPI.has_rocmFunction
MPI.has_rocm()

Check if the MPI implementation is known to have ROCm support. Currently only Open MPI provides a mechanism to check, so it will return false with other implementations (unless overridden).

This can be overridden by setting the JULIA_MPI_HAS_ROCM environment variable to true or false.

See also MPI.has_cuda for CUDA support.

source
MPI.identify_implementationFunction
impl, version = identify_implementation()

Attempt to identify the MPI implementation based on MPI_LIBRARY_VERSION_STRING. Returns a triple of values:

  • impl: a String with the name of the MPI implementation, or "unknown" if it cannot be determined,
  • version: a VersionNumber of the library, or nothing if it cannot be determined.

This function is only intended for internal use. Users should use MPI_LIBRARY, MPI_LIBRARY_VERSION.

source