Skip to content

Determine MPI Stack

Compare
Choose a tag to compare
@mathomp4 mathomp4 released this 20 Feb 19:52
· 184 commits to main since this release
6d6133c

This release adds a new DetermineMPIStack.cmake file that will detect the MPI Stack being used. The stacks it can detect (and therefore are allowed) are below and the variable filled is MPI_STACK:

MPI Stack MPI_STACK
Open MPI openmpi
MPICH mpich
Intel MPI intelmpi
MVAPICH mvapich
MPT mpt

The MPI_STACK variable can be overridden by setting MPI_STACK to one of the allowed values via -DMPI_STACK=...

We will also set MPI_STACK_VERSION to the version of the stack being used. (NOTE: This is the version of the stack not the version of MPI supported by the stack.)


From CHANGELOG.md

Fixed

  • Quoted generator expression arguments (see #308)

Added

  • Added new DetermineMPIStack.cmake file that will detect the MPI Stack being used
    • The allowed stacks are openmpi, mpich, intel, mvapich, mpt which will
      be set in the MPI_STACK variable
      • Can be overridden by setting MPI_STACK to one of the allowed values via -DMPI_STACK=...
    • Will also set MPI_STACK_VERSION to the version of the stack being used
      • NOTE: This is the version of the stack not the version of MPI supported by the stack

What's Changed

Full Changelog: v3.40.0...v3.41.0