Skip to content

mpi

Toolchain mpi module. Contains all MPI related classes

Authors:

  • Stijn De Weirdt (Ghent University)
  • Kenneth Hoste (Ghent University)

Mpi

Bases: Toolchain

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

mpi_cmd_for(cmd, nr_ranks)

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

mpi_cmd_prefix(nr_ranks=1)

Construct an MPI command prefix to precede an executable

mpi_family()

Return type of MPI library used in this toolchain.

set_variables()

Set the variables

get_mpi_cmd_template(mpi_family, params, mpi_version=None)

Return template for MPI command, for specified MPI family.

PARAMETER DESCRIPTION
mpi_family

MPI family to use to determine MPI command template