Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error #211

Open
rkube opened this issue Aug 27, 2020 · 6 comments
Open

Compilation error #211

rkube opened this issue Aug 27, 2020 · 6 comments

Comments

@rkube
Copy link

rkube commented Aug 27, 2020

Hi,
I'm trying to compile ADIOS1 using gcc8. I'm getting the following error:
[ 11%] Building C object src/CMakeFiles/adios.dir/write/adios_mpi_amr.c.o
[ 11%] Building C object src/CMakeFiles/adios.dir/write/adios_posix.c.o
/home/rkube/repos/ADIOS/src/write/adios_posix.c: In function ‘adios_posix_write_pg’:
/home/rkube/repos/ADIOS/src/write/adios_posix.c:739:32: error: ‘struct adios_POSIX_data_struct’ has no member named ‘rank’
fd->name, p->rank, strerror(errno));
^~
/home/rkube/repos/ADIOS/src/write/adios_posix.c:746:32: error: ‘struct adios_POSIX_data_struct’ has no member named ‘rank’
fd->name, p->rank, to_write, wrote);
^~
make[2]: *** [src/CMakeFiles/adios.dir/build.make:1090: src/CMakeFiles/adios.dir/write/adios_posix.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:160: src/CMakeFiles/adios.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

@pnorbert
Copy link
Contributor

Did you configure with mpicc or gcc?

@pnorbert
Copy link
Contributor

My setup on Rhea is:

export BUILD_WRITE=ON
export BUILD_FORTRAN=ON
export adios_timers=ON
export INSTALL_PREFIX="$PWD/install"
export CC=mpicc
export CXX=mpiCC
export FC=mpif90
export EXTRA_CFLAGS=""
export CFLAGS="-g -fPIC ${EXTRA_CFLAGS}"
/ccs/proj/e2e/pnorbert/ADIOS/ADIOS/build.rhea.gcc $ cmake ..
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- Check for working C compiler: /autofs/nccs-svm1_sw/rhea/.swci/0-core/opt/spack/20191017/linux-rhel7-x86_64/gcc-8.4.0/openmpi-3.1.4-bmn7or3eq2xi2sol4f7yvlpnwniut7yd/bin/mpicc
-- Check for working C compiler: /autofs/nccs-svm1_sw/rhea/.swci/0-core/opt/spack/20191017/linux-rhel7-x86_64/gcc-8.4.0/openmpi-3.1.4-bmn7or3eq2xi2sol4f7yvlpnwniut7yd/bin/mpicc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /autofs/nccs-svm1_sw/rhea/.swci/0-core/opt/spack/20191017/linux-rhel7-x86_64/gcc-8.4.0/openmpi-3.1.4-bmn7or3eq2xi2sol4f7yvlpnwniut7yd/bin/mpiCC
-- Check for working CXX compiler: /autofs/nccs-svm1_sw/rhea/.swci/0-core/opt/spack/20191017/linux-rhel7-x86_64/gcc-8.4.0/openmpi-3.1.4-bmn7or3eq2xi2sol4f7yvlpnwniut7yd/bin/mpiCC -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PythonInterp: /usr/bin/python (found version "2.7.5") 
-- Python 2.7.5 will be used in building ADIOS
-- MACRODEFFLAG = -D
research_transports is NOT enabled
-- Looking for include file Attributes.h
-- Looking for include file Attributes.h - not found
-- Looking for nanosleep
-- Looking for nanosleep - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for clock_gettime
-- Looking for clock_gettime - found
-- Looking for clock_get_time
-- Looking for clock_get_time - not found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of clockid_t
-- Check size of clockid_t - done
-- Looking for include file infiniband/verbs.h
-- Looking for include file infiniband/verbs.h - found
-- Looking for ibv_alloc_pd
-- Looking for ibv_alloc_pd - not found
-- Looking for PtlInit
-- Looking for PtlInit - not found
-- Looking for include file portals3.h
-- Looking for include file portals3.h - not found
-- Looking for include file portals/portals3.h
-- Looking for include file portals/portals3.h - not found
-- Looking for include file p3nal_utcp.h
-- Looking for include file p3nal_utcp.h - not found
-- Looking for include file p3rt/p3rt.h
-- Looking for include file p3rt/p3rt.h - not found
-- Looking for include file dlfcn.h
-- Looking for include file dlfcn.h - found
-- Looking for include file dmalloc.h
-- Looking for include file dmalloc.h - not found
-- Looking for fdatasync
-- Looking for fdatasync - found
-- Found MPI_C: /autofs/nccs-svm1_sw/rhea/.swci/0-core/opt/spack/20191017/linux-rhel7-x86_64/gcc-8.4.0/openmpi-3.1.4-bmn7or3eq2xi2sol4f7yvlpnwniut7yd/lib/libmpi.so  
-- Found MPI_CXX: /autofs/nccs-svm1_sw/rhea/.swci/0-core/opt/spack/20191017/linux-rhel7-x86_64/gcc-8.4.0/openmpi-3.1.4-bmn7or3eq2xi2sol4f7yvlpnwniut7yd/lib/libmpi_cxx.so;/autofs/nccs-svm1_sw/rhea/.swci/0-core/opt/spack/20191017/linux-rhel7-x86_64/gcc-8.4.0/openmpi-3.1.4-bmn7or3eq2xi2sol4f7yvlpnwniut7yd/lib/libmpi.so  
-- find MPI
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file memory.h
-- Looking for include file memory.h - found
-- MXML will be built for ADIOS in ./src/mxml
-- Checking type long long int
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Looking for pthread_yield
-- Looking for pthread_yield - found
-- Looking for PtlACEntry
-- Looking for PtlACEntry - not found
-- Looking for PtlErrorStr
-- Looking for PtlErrorStr - not found
-- Looking for PtlEventKindStr
-- Looking for PtlEventKindStr - not found
-- Looking for PtlGetJid
-- Looking for PtlGetJid - not found
-- Looking for PtlNIFailStr
-- Looking for PtlNIFailStr - not found
-- Looking for sched_yield
-- Looking for sched_yield - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for strncpy
-- Looking for strncpy - found
-- Looking for strdup
-- Looking for strdup - found
-- Looking for strndup
-- Looking for strndup - found
-- Looking for snprintf
-- Looking for snprintf - found
-- Looking for vsnprintf
-- Looking for vsnprintf - found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.7") 
-- ZFP will be built for ADIOS in ./src/zfp
-- The Fortran compiler identification is GNU
-- Check for working Fortran compiler: /autofs/nccs-svm1_sw/rhea/.swci/0-core/opt/spack/20191017/linux-rhel7-x86_64/gcc-8.4.0/openmpi-3.1.4-bmn7or3eq2xi2sol4f7yvlpnwniut7yd/bin/mpif90
-- Check for working Fortran compiler: /autofs/nccs-svm1_sw/rhea/.swci/0-core/opt/spack/20191017/linux-rhel7-x86_64/gcc-8.4.0/openmpi-3.1.4-bmn7or3eq2xi2sol4f7yvlpnwniut7yd/bin/mpif90  -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /autofs/nccs-svm1_sw/rhea/.swci/0-core/opt/spack/20191017/linux-rhel7-x86_64/gcc-8.4.0/openmpi-3.1.4-bmn7or3eq2xi2sol4f7yvlpnwniut7yd/bin/mpif90 supports Fortran 90
-- Checking whether /autofs/nccs-svm1_sw/rhea/.swci/0-core/opt/spack/20191017/linux-rhel7-x86_64/gcc-8.4.0/openmpi-3.1.4-bmn7or3eq2xi2sol4f7yvlpnwniut7yd/bin/mpif90 supports Fortran 90 -- yes
-- CMAKE_Fortran_COMPILER_WORKS =TRUE
-- Detecting Fortran/C Interface
-- Detecting Fortran/C Interface - Found GLOBAL and MODULE mangling
-- C;CXX;Fortran
*********************************
adios configured as follows:
*********************************

  - Build both the Write and Read libraries
  - Build both the C and Fortran libraries

  - General Compile FLAGS
      - CC  = /autofs/nccs-svm1_sw/rhea/.swci/0-core/opt/spack/20191017/linux-rhel7-x86_64/gcc-8.4.0/openmpi-3.1.4-bmn7or3eq2xi2sol4f7yvlpnwniut7yd/bin/mpicc
      - CXX = /autofs/nccs-svm1_sw/rhea/.swci/0-core/opt/spack/20191017/linux-rhel7-x86_64/gcc-8.4.0/openmpi-3.1.4-bmn7or3eq2xi2sol4f7yvlpnwniut7yd/bin/mpiCC
      - FC  = /autofs/nccs-svm1_sw/rhea/.swci/0-core/opt/spack/20191017/linux-rhel7-x86_64/gcc-8.4.0/openmpi-3.1.4-bmn7or3eq2xi2sol4f7yvlpnwniut7yd/bin/mpif90
      - CPPFLAGS = 
      - CFLAGS   = -g -fPIC 
      - CXXFLAGS = 
      - FCFLAGS  = 
      - LIBS     = 
      - MPILIBS  = 

  - ADIOS Timers Enabled
  - ADIOS Timer Events Disabled
  - MXML -- Build with ADIOS
  - No LUSTRE
  - No FGR
  - No GLIB
  - Networking library for staging methods:
  - No DATASPACES to build DATASPACES transport method
  - No DIMES to build DIMES transport method
  - No PHDF5 to build PHDF5 transport method
  - No HDF5
  - No NETCDF 4 Parallel to build NC4 transport method
  - No NetCDF
  - No FLEXPATH to build FLEXPATH transport method
  - No ICEE to build ICEE transport method
  - ZLIB
      - ZLIB_CFLAGS = 
      - ZLIB_CPPFLAGS = -I/usr/include
      - ZLIB_LIBS = /usr/lib64/libz.so

  - No LZ4 to build LZ4 transform method
  - No BLOSC to build BLOSC transform method
  - No BZIP2 to build BZIP2 transform method
  - No SZIP to build SZIP transform method
  - No ISOBAR to build ISOBAR transform method
  - No APLOD to build APLOD transform method
  - No FASTBIT to build FASTBIT query method
  - No ALACRITY to build ALACRITY transform & query method
  - ZFP is built with ADIOS
  - No SZ to build SZ transform method
  - No MGARD to build MGARD transform method
  - No Z-Checker to build ZCHECKER transform method
  - BGQ METHOD is disabled

  - Install path = /ccs/proj/e2e/pnorbert/ADIOS/ADIOS/build.rhea.gcc/install

-- Configuring done
-- Generating done
-- Build files have been written to: /ccs/proj/e2e/pnorbert/ADIOS/ADIOS/build.rhea.gcc

@rkube
Copy link
Author

rkube commented Aug 27, 2020

Oh, I've just used the plain CC=gcc/CXX=g++ . I've changed the compilers but still get the errors
I'm on traverse.princeton.edu (power9). Here is the output from cmake

Configuring on traverse
-- The C compiler identification is GNU 8.3.1
-- The CXX compiler identification is GNU 8.3.1
-- Check for working C compiler: /usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/bin/mpicc
-- Check for working C compiler: /usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/bin/mpicc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/bin/mpic++
-- Check for working CXX compiler: /usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/bin/mpic++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /home/rkube/local/anaconda3/bin/python (found version "3.7.3")
-- Python 3.7.3 will be used in building ADIOS
-- MACRODEFFLAG = -D
research_transports is NOT enabled
-- Looking for include file Attributes.h
-- Looking for include file Attributes.h - not found
-- Looking for nanosleep
-- Looking for nanosleep - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for clock_gettime
-- Looking for clock_gettime - found
-- Looking for clock_get_time
-- Looking for clock_get_time - not found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of clockid_t
-- Check size of clockid_t - done
-- Looking for include file infiniband/verbs.h
-- Looking for include file infiniband/verbs.h - found
-- Looking for ibv_alloc_pd
-- Looking for ibv_alloc_pd - not found
-- Looking for PtlInit
-- Looking for PtlInit - not found
-- Looking for include file portals3.h
-- Looking for include file portals3.h - not found
-- Looking for include file portals/portals3.h
-- Looking for include file portals/portals3.h - not found
-- Looking for include file p3nal_utcp.h
-- Looking for include file p3nal_utcp.h - not found
-- Looking for include file p3rt/p3rt.h
-- Looking for include file p3rt/p3rt.h - not found
-- Looking for include file dlfcn.h
-- Looking for include file dlfcn.h - found
-- Looking for include file dmalloc.h
-- Looking for include file dmalloc.h - not found
-- Looking for fdatasync
-- Looking for fdatasync - found
-- Could NOT find MPI (missing: MPI_Fortran_FOUND Fortran)
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file memory.h
-- Looking for include file memory.h - found
-- MXML will be built for ADIOS in ./src/mxml
-- Checking type long long int
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Looking for pthread_yield
-- Looking for pthread_yield - found
-- Looking for PtlACEntry
-- Looking for PtlACEntry - not found
-- Looking for PtlErrorStr
-- Looking for PtlErrorStr - not found
-- Looking for PtlEventKindStr
-- Looking for PtlEventKindStr - not found
-- Looking for PtlGetJid
-- Looking for PtlGetJid - not found
-- Looking for PtlNIFailStr
-- Looking for PtlNIFailStr - not found
-- Looking for sched_yield
-- Looking for sched_yield - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for strncpy
-- Looking for strncpy - found
-- Looking for strdup
-- Looking for strdup - found
-- Looking for strndup
-- Looking for strndup - found
-- Looking for snprintf
-- Looking for snprintf - found
-- Looking for vsnprintf
-- Looking for vsnprintf - found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.7")
-- ZFP will be used from /home/rkube/repos/zfp/build
-- The Fortran compiler identification is GNU 8.3.1
-- Check for working Fortran compiler: /usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/bin/mpifort
-- Check for working Fortran compiler: /usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/bin/mpifort -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/bin/mpifort supports Fortran 90
-- Checking whether /usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/bin/mpifort supports Fortran 90 -- yes
-- CMAKE_Fortran_COMPILER_WORKS =TRUE
-- Detecting Fortran/C Interface
-- Detecting Fortran/C Interface - Found GLOBAL and MODULE mangling
-- C;CXX;Fortran


adios configured as follows:


  • Build both the Write and Read libraries

  • Build both the C and Fortran libraries

  • General Compile FLAGS

    • CC = /usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/bin/mpicc
    • CXX = /usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/bin/mpic++
    • FC = /usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/bin/mpifort
    • CPPFLAGS =
    • CFLAGS = -g -fPIC -I/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/
    • CXXFLAGS =
    • FCFLAGS =
    • LIBS =
    • MPILIBS =
  • ADIOS Timers Enabled

  • ADIOS Timer Events Disabled

  • MXML -- Build with ADIOS

  • No LUSTRE

  • No FGR

  • No GLIB

  • Networking library for staging methods:

  • No DATASPACES to build DATASPACES transport method

  • No DIMES to build DIMES transport method

  • No PHDF5 to build PHDF5 transport method

  • HDF5

    • HDF5_CFLAGS =
    • HDF5_FLAGS = -Iusr/local/hdf5/pgi-19.5/openmpi-4.0.2rc1/1.10.5/include
    • HDF5_LIBS =
  • No NETCDF 4 Parallel to build NC4 transport method

  • No NetCDF

  • No FLEXPATH to build FLEXPATH transport method

  • No ICEE to build ICEE transport method

  • ZLIB

    • ZLIB_CFLAGS =
    • ZLIB_CPPFLAGS = -I/usr/include
    • ZLIB_LIBS = /usr/lib64/libz.so
  • No LZ4 to build LZ4 transform method

  • No BLOSC to build BLOSC transform method

  • No BZIP2 to build BZIP2 transform method

  • No SZIP to build SZIP transform method

  • No ISOBAR to build ISOBAR transform method

  • No APLOD to build APLOD transform method

  • No FASTBIT to build FASTBIT query method

  • No ALACRITY to build ALACRITY transform & query method

  • No ZFP to build ZFP transform method

  • No SZ to build SZ transform method

  • No MGARD to build MGARD transform method

  • No Z-Checker to build ZCHECKER transform method

  • BGQ METHOD is disabled

  • Install path = /home/rkube/software/ADIOS1

-- Configuring done
-- Generating done
-- Build files have been written to: /home/rkube/repos/ADIOS/build
...

build$ make
[ 11%] Building C object src/CMakeFiles/adios.dir/write/adios_posix.c.o
/home/rkube/repos/ADIOS/src/write/adios_posix.c: In function ‘adios_posix_write_pg’:
/home/rkube/repos/ADIOS/src/write/adios_posix.c:739:32: error: ‘struct adios_POSIX_data_struct’ has no member named ‘rank’
fd->name, p->rank, strerror(errno));

@pnorbert
Copy link
Contributor

Do you have HAVE_MPI on?

$ grep HAVE_MPI config.h
#define HAVE_MPI 1

Actually, I see the reason for the error when compiling with gcc (not mpicc) and so should always see the error when building the non-mpi version of the library. But your error message is when building the MPI version.

@rkube
Copy link
Author

rkube commented Aug 27, 2020

Ah, this was not defined. I've defined HAVE_MPI. Now there are lots of errors in the HDF5 part of adios:

Scanning dependencies of target bp2h5
[ 72%] Building C object utils/bp2h5/CMakeFiles/bp2h5.dir/bp2h5.c.o
In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:398:30: error: conflicting types for ‘MPI_Offset’
typedef OMPI_MPI_OFFSET_TYPE MPI_Offset;
^~~~~~~~~~
In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:32:18: note: previous declaration of ‘MPI_Offset’ was here
typedef uint64_t MPI_Offset;
^~~~~~~~~~
In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:400:37: error: conflicting types for ‘MPI_Comm’
typedef struct ompi_communicator_t *MPI_Comm;
^~~~~~~~
In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:27:13: note: previous declaration of ‘MPI_Comm’ was here
typedef int MPI_Comm;
^~~~~~~~
In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:401:33: error: conflicting types for ‘MPI_Datatype’
typedef struct ompi_datatype_t MPI_Datatype;
^~~~~~~~~~~~
In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:31:13: note: previous declaration of ‘MPI_Datatype’ was here
typedef int MPI_Datatype; /
Store the byte size of a type in such vars */
^~~~~~~~~~~~
In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:403:29: error: conflicting types for ‘MPI_File’
typedef struct ompi_file_t *MPI_File;
^~~~~~~~
In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:29:13: note: previous declaration of ‘MPI_File’ was here
typedef int MPI_File;
^~~~~~~~
In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:405:29: error: conflicting types for ‘MPI_Info’
typedef struct ompi_info_t *MPI_Info;
^~~~~~~~
In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:30:13: note: previous declaration of ‘MPI_Info’ was here
typedef int MPI_Info;
^~~~~~~~
In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:406:27: error: conflicting types for ‘MPI_Op’
typedef struct ompi_op_t MPI_Op;
^~~~~~
In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:36:28: note: previous declaration of ‘MPI_Op’ was here
typedef enum mpi_operation MPI_Op;
^~~~~~
In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:409:37: error: conflicting types for ‘MPI_Status’
typedef struct ompi_status_public_t MPI_Status;
^~~~~~~~~~
In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:28:18: note: previous declaration of ‘MPI_Status’ was here
typedef uint64_t MPI_Status;
^~~~~~~~~~
In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:479: warning: "MPI_ANY_SOURCE" redefined
#define MPI_ANY_SOURCE -1 /
match any source rank */

In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:64: note: this is the location of the previous definition
#define MPI_ANY_SOURCE 0

In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:482: warning: "MPI_ANY_TAG" redefined
#define MPI_ANY_TAG -1 /* match any message tag */

In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:65: note: this is the location of the previous definition
#define MPI_ANY_TAG 0

In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:483: warning: "MPI_MAX_PROCESSOR_NAME" redefined
#define MPI_MAX_PROCESSOR_NAME OPAL_MAX_PROCESSOR_NAME /* max proc. name length */

In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:69: note: this is the location of the previous definition
#define MPI_MAX_PROCESSOR_NAME 32

In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:484: warning: "MPI_MAX_ERROR_STRING" redefined
#define MPI_MAX_ERROR_STRING OPAL_MAX_ERROR_STRING /* max error message length */

In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:44: note: this is the location of the previous definition
#define MPI_MAX_ERROR_STRING 512

In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:520: warning: "MPI_MODE_RDONLY" redefined
#define MPI_MODE_RDONLY 2 /* ADIO_RDONLY */

In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:45: note: this is the location of the previous definition
#define MPI_MODE_RDONLY O_RDONLY

In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:531: warning: "MPI_SEEK_SET" redefined
#define MPI_SEEK_SET 600

In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:46: note: this is the location of the previous definition
#define MPI_SEEK_SET SEEK_SET

In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:532: warning: "MPI_SEEK_CUR" redefined
#define MPI_SEEK_CUR 602

In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:47: note: this is the location of the previous definition
#define MPI_SEEK_CUR SEEK_CUR

In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:533: warning: "MPI_SEEK_END" redefined
#define MPI_SEEK_END 604

In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:48: note: this is the location of the previous definition
#define MPI_SEEK_END SEEK_END

In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:835: warning: "MPI_COMM_NULL" redefined
#define MPI_COMM_NULL OMPI_PREDEFINED_GLOBAL(MPI_Comm, ompi_mpi_comm_null)

In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:51: note: this is the location of the previous definition
#define MPI_COMM_NULL 0

In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:840: warning: "MPI_INFO_NULL" redefined
#define MPI_INFO_NULL OMPI_PREDEFINED_GLOBAL(MPI_Info, ompi_mpi_info_null)

In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:49: note: this is the location of the previous definition
#define MPI_INFO_NULL 0

In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:842: warning: "MPI_FILE_NULL" redefined
#define MPI_FILE_NULL OMPI_PREDEFINED_GLOBAL(MPI_File, ompi_mpi_file_null)

In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:67: note: this is the location of the previous definition
#define MPI_FILE_NULL 0

In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:1121: warning: "MPI_COMM_WORLD" redefined
#define MPI_COMM_WORLD OMPI_PREDEFINED_GLOBAL( MPI_Comm, ompi_mpi_comm_world)

In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:52: note: this is the location of the previous definition
#define MPI_COMM_WORLD 1

In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:1122: warning: "MPI_COMM_SELF" redefined
#define MPI_COMM_SELF OMPI_PREDEFINED_GLOBAL(MPI_Comm, ompi_mpi_comm_self)

In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:53: note: this is the location of the previous definition
#define MPI_COMM_SELF 2

In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:1145: warning: "MPI_BYTE" redefined
#define MPI_BYTE OMPI_PREDEFINED_GLOBAL(MPI_Datatype, ompi_mpi_byte)

In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:61: note: this is the location of the previous definition
#define MPI_BYTE (MPI_CHAR)

In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:1147: warning: "MPI_CHAR" redefined
#define MPI_CHAR OMPI_PREDEFINED_GLOBAL(MPI_Datatype, ompi_mpi_char)

In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:56: note: this is the location of the previous definition
#define MPI_CHAR 2

In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:1149: warning: "MPI_INT" redefined
#define MPI_INT OMPI_PREDEFINED_GLOBAL(MPI_Datatype, ompi_mpi_int)

In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:55: note: this is the location of the previous definition
#define MPI_INT 1

In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:1151: warning: "MPI_FLOAT" redefined
#define MPI_FLOAT OMPI_PREDEFINED_GLOBAL(MPI_Datatype, ompi_mpi_float)

In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:57: note: this is the location of the previous definition
#define MPI_FLOAT 3

In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:1152: warning: "MPI_DOUBLE" redefined
#define MPI_DOUBLE OMPI_PREDEFINED_GLOBAL(MPI_Datatype, ompi_mpi_double)

In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:58: note: this is the location of the previous definition
#define MPI_DOUBLE 4

In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:1170: warning: "MPI_UNSIGNED_LONG_LONG" redefined
#define MPI_UNSIGNED_LONG_LONG OMPI_PREDEFINED_GLOBAL(MPI_Datatype, ompi_mpi_unsigned_long_long)

In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:60: note: this is the location of the previous definition
#define MPI_UNSIGNED_LONG_LONG 6

In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:1206: warning: "MPI_REAL" redefined
#define MPI_REAL OMPI_PREDEFINED_GLOBAL(MPI_Datatype, ompi_mpi_real)

In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:62: note: this is the location of the previous definition
#define MPI_REAL (MPI_FLOAT)

In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:1240: warning: "MPI_UINT64_T" redefined
#define MPI_UINT64_T OMPI_PREDEFINED_GLOBAL(MPI_Datatype, ompi_mpi_uint64_t)

In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:59: note: this is the location of the previous definition
#define MPI_UINT64_T 5

In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:1288:20: error: conflicting types for ‘MPI_Allgather’
OMPI_DECLSPEC int MPI_Allgather(const void *sendbuf, int sendcount, MPI_Datatype sendtype,
^~~~~~~~~~~~~
In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:85:5: note: previous declaration of ‘MPI_Allgather’ was here
int MPI_Allgather(void *sendbuf, int sendcount, MPI_Datatype sendtype,
^~~~~~~~~~~~~
In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:1302:20: error: conflicting types for ‘MPI_Allreduce’
OMPI_DECLSPEC int MPI_Allreduce(const void *sendbuf, void *recvbuf, int count,
^~~~~~~~~~~~~
In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:92:5: note: previous declaration of ‘MPI_Allreduce’ was here
int MPI_Allreduce(const void *sendbuf, void *recvbuf, int count,
^~~~~~~~~~~~~
In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:1324:20: error: conflicting types for ‘MPI_Barrier’
OMPI_DECLSPEC int MPI_Barrier(MPI_Comm comm);
^~~~~~~~~~~
In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:74:5: note: previous declaration of ‘MPI_Barrier’ was here
int MPI_Barrier(MPI_Comm comm);
^~~~~~~~~~~
In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:1326:20: error: conflicting types for ‘MPI_Bcast’
OMPI_DECLSPEC int MPI_Bcast(void *buffer, int count, MPI_Datatype datatype,
^~~~~~~~~
In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:75:5: note: previous declaration of ‘MPI_Bcast’ was here
int MPI_Bcast(void *buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm);
^~~~~~~~~
In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:1367:20: error: conflicting types for ‘MPI_Comm_dup’
OMPI_DECLSPEC int MPI_Comm_dup(MPI_Comm comm, MPI_Comm *newcomm);
^~~~~~~~~~~~
In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:77:5: note: previous declaration of ‘MPI_Comm_dup’ was here
int MPI_Comm_dup(MPI_Comm comm, MPI_Comm *newcomm);
^~~~~~~~~~~~
In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:1370:25: error: conflicting types for ‘MPI_Comm_f2c’
OMPI_DECLSPEC MPI_Comm MPI_Comm_f2c(MPI_Fint comm);
^~~~~~~~~~~~
In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:81:10: note: previous declaration of ‘MPI_Comm_f2c’ was here
MPI_Comm MPI_Comm_f2c(MPI_Fint comm);
^~~~~~~~~~~~
In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:1372:20: error: conflicting types for ‘MPI_Comm_free’
OMPI_DECLSPEC int MPI_Comm_free(MPI_Comm *comm);
^~~~~~~~~~~~~
In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:80:5: note: previous declaration of ‘MPI_Comm_free’ was here
int MPI_Comm_free(MPI_Comm *comm);
^~~~~~~~~~~~~
In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:1402:20: error: conflicting types for ‘MPI_Comm_rank’
OMPI_DECLSPEC int MPI_Comm_rank(MPI_Comm comm, int *rank);
^~~~~~~~~~~~~
In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:78:5: note: previous declaration of ‘MPI_Comm_rank’ was here
int MPI_Comm_rank(MPI_Comm comm, int *rank);
^~~~~~~~~~~~~
In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:1409:20: error: conflicting types for ‘MPI_Comm_size’
OMPI_DECLSPEC int MPI_Comm_size(MPI_Comm comm, int *size);
^~~~~~~~~~~~~
In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:79:5: note: previous declaration of ‘MPI_Comm_size’ was here
int MPI_Comm_size(MPI_Comm comm, int *size);
^~~~~~~~~~~~~
In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:1417:20: error: conflicting types for ‘MPI_Comm_split’
OMPI_DECLSPEC int MPI_Comm_split(MPI_Comm comm, int color, int key, MPI_Comm *newcomm);
^~~~~~~~~~~~~~
In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:103:5: note: previous declaration of ‘MPI_Comm_split’ was here
int MPI_Comm_split ( MPI_Comm comm, int color, int key, MPI_Comm *comm_out );
^~~~~~~~~~~~~~
In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:1442:20: error: conflicting types for ‘MPI_File_open’
OMPI_DECLSPEC int MPI_File_open(MPI_Comm comm, const char *filename, int amode,
^~~~~~~~~~~~~
In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:95:5: note: previous declaration of ‘MPI_File_open’ was here
int MPI_File_open(MPI_Comm comm, char *filename, int amode, MPI_Info info, MPI_File *fh);
^~~~~~~~~~~~~
In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:1444:20: error: conflicting types for ‘MPI_File_close’
OMPI_DECLSPEC int MPI_File_close(MPI_File *fh);
^~~~~~~~~~~~~~
In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:96:5: note: previous declaration of ‘MPI_File_close’ was here
int MPI_File_close(MPI_File *fh);
^~~~~~~~~~~~~~
In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:1448:20: error: conflicting types for ‘MPI_File_get_size’
OMPI_DECLSPEC int MPI_File_get_size(MPI_File fh, MPI_Offset *size);
^~~~~~~~~~~~~~~~~
In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:97:5: note: previous declaration of ‘MPI_File_get_size’ was here
int MPI_File_get_size(MPI_File fh, MPI_Offset *size);
^~~~~~~~~~~~~~~~~
In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:1474:20: error: conflicting types for ‘MPI_File_read’
OMPI_DECLSPEC int MPI_File_read(MPI_File fh, void *buf, int count,
^~~~~~~~~~~~~
In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:98:5: note: previous declaration of ‘MPI_File_read’ was here
int MPI_File_read(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Status *status);
^~~~~~~~~~~~~
In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:1490:20: error: conflicting types for ‘MPI_File_seek’
OMPI_DECLSPEC int MPI_File_seek(MPI_File fh, MPI_Offset offset, int whence);
^~~~~~~~~~~~~
In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:99:5: note: previous declaration of ‘MPI_File_seek’ was here
int MPI_File_seek(MPI_File fh, MPI_Offset offset, int whence);
^~~~~~~~~~~~~
In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:1534:20: error: conflicting types for ‘MPI_Gather’
OMPI_DECLSPEC int MPI_Gather(const void *sendbuf, int sendcount, MPI_Datatype sendtype,
^~~~~~~~~~
In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:83:5: note: previous declaration of ‘MPI_Gather’ was here
int MPI_Gather(void *sendbuf, int sendcnt, MPI_Datatype sendtype, void *recvbuf, int recvcnt, MPI_Datatype recvtype, int root, MPI_Comm comm) ;
^~~~~~~~~~
In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:1540:20: error: conflicting types for ‘MPI_Gatherv’
OMPI_DECLSPEC int MPI_Gatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype,
^~~~~~~~~~~
In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:84:5: note: previous declaration of ‘MPI_Gatherv’ was here
int MPI_Gatherv(void *sendbuf, int sendcnt, MPI_Datatype sendtype, void *recvbuf, int *recvcnts, int *displs, MPI_Datatype recvtype, int root, MPI_Comm comm);
^~~~~~~~~~~
In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:1547:20: error: conflicting types for ‘MPI_Get_count’
OMPI_DECLSPEC int MPI_Get_count(const MPI_Status *status, MPI_Datatype datatype, int *count);
^~~~~~~~~~~~~
In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:101:5: note: previous declaration of ‘MPI_Get_count’ was here
int MPI_Get_count(MPI_Status *status, MPI_Datatype datatype, int *count);
^~~~~~~~~~~~~
In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:1750:20: error: conflicting types for ‘MPI_Scatter’
OMPI_DECLSPEC int MPI_Scatter(const void *sendbuf, int sendcount, MPI_Datatype sendtype,
^~~~~~~~~~~
In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:89:5: note: previous declaration of ‘MPI_Scatter’ was here
int MPI_Scatter(void *sendbuf, int sendcnt, MPI_Datatype sendtype, void *recvbuf, int recvcnt, MPI_Datatype recvtype, int root, MPI_Comm comm);
^~~~~~~~~~~
In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60,
from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/hdf5.h:22,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:39:
/usr/local/openmpi/4.0.3rc1/devtoolset-8/ppc64le/include/mpi.h:1756:20: error: conflicting types for ‘MPI_Scatterv’
OMPI_DECLSPEC int MPI_Scatterv(const void *sendbuf, const int sendcounts[], const int displs[],
^~~~~~~~~~~~
In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13,
from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:19,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/mpidummy.h:90:5: note: previous declaration of ‘MPI_Scatterv’ was here
int MPI_Scatterv(void *sendbuf, int *sendcnts, int *displs, MPI_Datatype sendtype, void *recvbuf, int recvcnt, MPI_Datatype recvtype, int root, MPI_Comm comm);
^~~~~~~~~~~~
/home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c: In function ‘main’:
/home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:114:44: warning: passing argument 2 of ‘adios_fopen_v1’ makes integer from pointer without a cast [-Wint-conversion]
ADIOS_FILE * f = adios_fopen (argv[1], comm_dummy);
^~~~~~~~~~
In file included from /home/rkube/repos/ADIOS/src/public/adios_read_v1.h:20,
from /home/rkube/repos/ADIOS/src/public/adios_read.h:15,
from /home/rkube/repos/ADIOS/utils/bp2h5/bp2h5.c:36:
/home/rkube/repos/ADIOS/src/public/adios_read_v1_defs.h:35:21: note: expected ‘MPI_Comm’ {aka ‘int’} but argument is of type ‘MPI_Comm’ {aka ‘struct ompi_communicator_t *’}
#define adios_fopen adios_fopen_v1
^~~~~~~~~~~~~~
/home/rkube/repos/ADIOS/src/public/adios_read_v1.h:154:14: note: in expansion of macro ‘adios_fopen’
ADIOS_FILE * adios_fopen (const char * fname, MPI_Comm comm);
^~~~~~~~~~~
make[2]: *** [utils/bp2h5/CMakeFiles/bp2h5.dir/build.make:63: utils/bp2h5/CMakeFiles/bp2h5.dir/bp2h5.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1455: utils/bp2h5/CMakeFiles/bp2h5.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

@pnorbert
Copy link
Contributor

I did not mean you to define it. This should have been automatic, when using the mpi compiler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants