Installation

Installation

Requirements

MPI.jl requires a shared library installation of a C MPI library, supporting the MPI 3.0 standard or later.

Building

The MPI.jl package can be installed via add MPI in the Julia package manager. The package will attempt to find and identify the MPI installation.

The MPI standard doesn't specify the exact application binary interface (ABI), but the following implementations should work directly:

For other implementations, the build script will attempt to build a small C program to determine the appropriate type definitions and constants. This requires a compatible C compiler (mpicc by default).

Environment variables

The following optional environment variables can be used to control certain aspects of the build script and other library behaviour: