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.
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 frommpi.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