Closed mikebentley15 closed 5 years ago
Looks like Intel's version of MPI is similar to MPICH. That means it is likely that when we get support for MPICH fully functional, we may also get it working with Intel MPI for free.
We think MVAPICH has the same interface as MPICH, so they can both be fixed by this.
Bug Report
Description of the problem The MPI support was developed against OpenMPI, but the
mpic++
command from OpenMPI has different flags than the one from MPICH. When trying to run FLiT under MPICH, it fails immediately.Suggested fix In
Makefile.in
, either do a check to see what kind of mpi we are using and change the flag accordingly, or just try both sets of flags, allowing the backup set to be used if the primary fails to function correctly.This allows swapping out the implementations of MPI by just changing your path to point to
mpirun
andmpic++
from the MPI runtime you desire.Alternative approaches
flit_update.py
when generating theMakefile
mpi_type
field inflit-config.toml
There may be other approaches not thought of or discussed in this bug report