milc-qcd / milc_qcd

MILC collaboration code for lattice QCD calculations
Other
34 stars 33 forks source link

Deprecated MPI constructs #46

Open mcopik opened 2 years ago

mcopik commented 2 years ago

MILC is still using MPI_ERRHANDLER_CREATE even though this has been deprecated since 1996. Starting from OpenMPI 4.0, the function declaration is gone from mpi.h headers. While it still might compile with a C compiler, a C++ compiler will report failures.

The fix is very simple and requires changing function names: https://www.open-mpi.org/faq/?category=mpi-removed#mpi-1-mpi-errhandler-create