Library information
Constants
MPI.MPI_VERSION — ConstantMPI_VERSION :: VersionNumberThe supported version of the MPI standard.
External links
MPI.MPI_LIBRARY — ConstantMPI_LIBRARY :: StringThe current MPI implementation: this is determined by
MPI.MPI_LIBRARY_VERSION — ConstantMPI_LIBRARY_VERSION :: VersionNumberThe version of the MPI library
MPI.MPI_LIBRARY_VERSION_STRING — ConstantMPI_LIBRARY_VERSION_STRING :: StringThe full version string provided by the library
External links
Functions
MPI.versioninfo — FunctionMPI.versioninfo(io::IO=stdout)Print a summary of the current MPI configuration.
MPI.has_cuda — FunctionMPI.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.
For OpenMPI or OpenMPI-based implementations you first need to call Init().
See also MPI.has_rocm for ROCm support.
MPI.has_rocm — FunctionMPI.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.
MPI.has_gpu — FunctionMPI.has_gpu()Checks if the MPI implementation is known to have GPU support. Currently this checks for the following GPUs:
- CUDA: via
MPI.has_cuda - ROCm: via
MPI.has_rocm
See also MPI.has_cuda and MPI.has_rocm for more fine-grained checks.
MPI.identify_implementation — Functionimpl, version = identify_implementation()Attempt to identify the MPI implementation based on MPI_LIBRARY_VERSION_STRING. Returns a triple of values:
impl: aStringwith the name of the MPI implementation, or"unknown"if it cannot be determined,version: aVersionNumberof the library, ornothingif it cannot be determined.
This function is only intended for internal use. Users should use MPI_LIBRARY, MPI_LIBRARY_VERSION.