MPI support: does not work with MPICH #222
Labels
bug
documentation
Involves touching documentation
make
Involves touching GNU Makefiles
python
Involves touching python code
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
The text was updated successfully, but these errors were encountered: