Library information
Constants
MPI.MPI_VERSION
— Constant.MPI.MPI_LIBRARY
— Constant.MPI.MPI_LIBRARY_VERSION
— Constant.MPI_LIBRARY_VERSION :: VersionNumber
The version of the MPI library
MPI.MPI_LIBRARY_ABI
— Constant.MPI.MPI_LIBRARY_VERSION_STRING
— Constant.Enums
MPI.MPIImpl
— Type.MPIImpl
An enum corresponding to known MPI implementations
UnknownMPI
: unable to determine MPI implementationMPICH
: MPICHOpenMPI
: Open MPIMicrosoftMPI
: Microsoft MPIIntelMPI
: Intel MPISpectrimMPI
: IBM Spectrum MPIMVAPICH
: MVAPICH
See also
MPI.MPIABI
— Type.MPIABI
An enum corresponding to known MPI Application Binary Interfaces (ABI)
UnknownABI
: unable to determine MPI ABI. MPI.jl will attempt to build a small C program to determine the necessary constants and type information.MPICHABI
: Compatible with MPICH ABI Compatibility Initiative.OpenMPIABI
: Compatible with Open MPI.MicrosftMPIABI
: Compatible with Microsoft MPI.
Functions
MPI.has_cuda
— Function.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
.
MPI.identify_implementation
— Function.impl, version, abi = identify_implementation()
Attempt to identify the MPI implementation based on MPI_LIBRARY_VERSION_STRING
. Returns a triple of values:
impl
: a value of typeMPIImpl
version
: aVersionNumber
of the library, ornothing
if it cannot be determined.abi
: a value ofMPIABI
. This can be overridden by theJULIA_MPI_ABI
environment variable.
This function is only intended for internal use. Users should use MPI_LIBRARY
, MPI_LIBRARY_VERSION
or MPI_LIBRARY_ABI
.