Commit 0ec97c28 authored by Alexander Danilov's avatar Alexander Danilov

Fix mpio.h inclusion conditions

mpio.h is only needed if USE_MPI_FILE is enabled
mpio.h may be absent if MPICH is compiled without MPI-IO support
mpio.h is not provided by Open MPI at all, is is already included in mpi.h
parent e64a012a
......@@ -72,7 +72,7 @@
#endif
#if defined(USE_MPI)
#include <mpi.h>
#if !defined(MSMPI_VER) && !defined(MPIO_INCLUDE)
#if !defined(MSMPI_VER) && !defined(MPIO_INCLUDE) && defined(USE_MPI_FILE) && !defined(OMPI_PROVIDE_MPI_FILE_INTERFACE)
#include <mpio.h> //some versions of MPI doesn't include that
#endif
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment