diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2019-09-17 19:11:53 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2019-09-17 19:11:53 (GMT) |
commit | 71c80267ba0db1c1b439d39e4bd7c27b82510c92 (patch) | |
tree | ff6c22fdf1d55ac459890de72371ac936ee6c9fb /src/H5public.h | |
parent | 406890277cbe92be1d68721a6fa115441ab1a726 (diff) | |
download | hdf5-71c80267ba0db1c1b439d39e4bd7c27b82510c92.zip hdf5-71c80267ba0db1c1b439d39e4bd7c27b82510c92.tar.gz hdf5-71c80267ba0db1c1b439d39e4bd7c27b82510c92.tar.bz2 |
Added MPICH_SKIP_MPICXX and OMPI_SKIP_CXX to H5public.h to avoid inadvertant
linking to the deprecated MPI C++ wrappers. Fixes HDFFV-10893.
Diffstat (limited to 'src/H5public.h')
-rw-r--r-- | src/H5public.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5public.h b/src/H5public.h index c15b58a..638de58 100644 --- a/src/H5public.h +++ b/src/H5public.h @@ -57,6 +57,9 @@ # include <stddef.h> #endif #ifdef H5_HAVE_PARALLEL +/* Don't link against MPI C++ bindings */ +# define MPICH_SKIP_MPICXX 1 +# define OMPI_SKIP_MPICXX 1 # include <mpi.h> #ifndef MPI_FILE_NULL /*MPIO may be defined in mpi.h already */ # include <mpio.h> |