[FLASH-USERS] Compilation error with Parallel HDF5 1.10.5

Ryan Farber rjfarber at umich.edu
Thu Mar 7 13:46:39 EST 2019


Hi Mattia,

I haven't played around with hdf5 much, but I found that for my version of
hdf5 (1.8.20+intelmpi-5.1+intel-16.0) that H5D_MPIO_FILTERS is defined in
${HDF5_DIR}/include/H5Ppublic.h

I'm guessing your problem is that that was present in your HDF5 1.10.4
serial but not 1.10.5 parallel.
I'm not sure how to solve your problem. You could check if the hdf5 user
guide / manual for 1.10.5 has a list of changes from the previous version
which might explain what to do with instances of H5D_MPIO_FILTERS.
Or, perhaps someone with more hdf5 experience than me can chime in.

Best,
--------
Ryan


On Wed, Mar 6, 2019 at 4:37 AM Mattia Cipriani <mattia.cipriani at enea.it>
wrote:

> Dear FLASH Users,
>
> I am compiling FLASH4.5 code by using OpenMPI 3.1.2 and HDF5 1.10.5, to
> take advantage of OpenMPI for parallel data output.
> I have the following issue:
>
> /usr/mpi/gcc730/openmpi-3.1.2/bin/mpicc -I/afs/
> enea.it/project/iner/SIMULAZIONI/software/build/hdf5/include
> -DH5_USE_16_API -I/afs/
> enea.it/project/iner/SIMULAZIONI/software/build/hypre/include -ggdb -c
> -O2 -Wuninitialized -D_FORTIFY_SOURCE=2 -DFLASH_3T -DMAXBLOCKS=1000
> -DNXB=16 -DNYB=16 -DNZB=1 -DN_DIM=2 io_h5_report_xfer_method.c
> io_h5_report_xfer_method.c: In function ‘io_h5_report_xfer_method’:
> io_h5_report_xfer_method.c:105:26: error: ‘H5D_MPIO_FILTERS’ undeclared
> (first use in this function)
>        if (global_cause & H5D_MPIO_FILTERS) {
>                           ^
> io_h5_report_xfer_method.c:105:26: note: each undeclared identifier is
> reported only once for each function it appears in
> make: *** [io_h5_report_xfer_method.o] Error 1
>
> What can be the problem?
> I am succesfully running the same FLASH version with HDF5 1.10.4 serial.
>
> Best regards,
> Mattia
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20190307/8fd55f79/attachment.htm>


More information about the flash-users mailing list