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 curent 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 overriden).

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

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