easybuild.tools.toolchain.mpi module

Toolchain mpi module. Contains all MPI related classes

author:Stijn De Weirdt (Ghent University)
author:Kenneth Hoste (Ghent University)
class easybuild.tools.toolchain.mpi.Mpi(*args, **kwargs)

Bases: easybuild.tools.toolchain.toolchain.Toolchain

General MPI-like class can’t be used without creating new class M(Mpi)

MPI_COMPILER_MPICC = 'mpicc'
MPI_COMPILER_MPICXX = 'mpicxx'
MPI_COMPILER_MPIF77 = 'mpif77'
MPI_COMPILER_MPIF90 = 'mpif90'
MPI_COMPILER_MPIFC = 'mpifc'
MPI_FAMILY = None
MPI_LIBRARY_NAME = None
MPI_MODULE_NAME = None
MPI_SHARED_OPTION_MAP = {'_opt_MPICXX': 'cxx=%(CXX_base)s', '_opt_MPIF77': 'fc=%(F77_base)s', '_opt_MPIF90': 'f90=%(F90_base)s', '_opt_MPIFC': 'fc=%(FC_base)s', '_opt_MPICC': 'cc=%(CC_base)s'}
MPI_SHARED_OPTS = {'usempi': (False, 'Use MPI compiler as default compiler')}
MPI_TYPE = None
MPI_UNIQUE_OPTION_MAP = None
MPI_UNIQUE_OPTS = None
mpi_cmd_for(cmd, nr_ranks)

Construct an MPI command for the given command and number of ranks.

mpi_family()

Return type of MPI library used in this toolchain.

set_variables()

Set the variables