[FLASH-USERS] compilation error with hdf5 1.10.1.1 on nersc

Yingchao Lu yingchao.lu at gmail.com
Sun Oct 14 21:28:38 EDT 2018


Hi,

On edison.nersc, I got the error compiling eos_tabBrowsehdf5. The error
message is

cc -fopenmp   -ggdb -c -O2 -Wuninitialized -D_FORTIFY_SOURCE=2
-DFLASH_OPENMP=1 -DFLASH_3T -DMAXBLOCKS=130 -DNXB=16 -DNYB=16 -DNZB=16
-DN_DIM=3 eos_tabBrowsehdf5.c
In file included from /opt/cray/pe/hdf5-parallel/
1.10.1.1/GNU/5.1/include/H5public.h:32:0,
                 from /opt/cray/pe/hdf5-parallel/
1.10.1.1/GNU/5.1/include/hdf5.h:22,
                 from eos_tabBrowsehdf5.c:33:
eos_tabBrowsehdf5.c: In function 'eos_tabbrowsehdf5_':
/opt/cray/pe/hdf5-parallel/1.10.1.1/GNU/5.1/include/H5version.h:417:19:
error: too few arguments to function 'H5Gopen2'
   #define H5Gopen H5Gopen2
                   ^
eos_tabBrowsehdf5.c:50:11: note: in expansion of macro 'H5Gopen'
   group = H5Gopen(oppf, groupName);          //open groupName
           ^~~~~~~
In file included from /opt/cray/pe/hdf5-parallel/
1.10.1.1/GNU/5.1/include/hdf5.h:29:0,
                 from eos_tabBrowsehdf5.c:33:
/opt/cray/pe/hdf5-parallel/1.10.1.1/GNU/5.1/include/H5Gpublic.h:76:14:
note: declared here
 H5_DLL hid_t H5Gopen2(hid_t loc_id, const char *name, hid_t gapl_id);
              ^~~~~~~~
Makefile:123: recipe for target 'eos_tabBrowsehdf5.o' failed
make: *** [eos_tabBrowsehdf5.o] Error 1

I loaded these modules

Currently Loaded Modulefiles:
  1) modules/3.2.10.6                                 14)
udreg/2.3.2-6.0.7.0_33.18__g5196236.ari
  2) nsg/1.2.0                                        15)
ugni/6.0.14.0-6.0.7.0_23.1__gea11d3d.ari
  3) vim/8.0                                          16) pmi/5.0.13
  4) altd/2.0                                         17)
dmapp/7.1.1-6.0.7.0_34.3__g5a674e0.ari
  5) darshan/3.1.4                                    18)
gni-headers/5.0.12.0-6.0.7.0_24.1__g3b1768f.ari
  6) cray-mpich/7.7.0                                 19)
xpmem/2.2.15-6.0.7.1_5.8__g7549d06.ari
  7) gcc/7.3.0                                        20)
job/2.2.3-6.0.7.0_44.1__g6c4e934.ari
  8) craype-ivybridge                                 21)
dvs/2.7_2.2.112-6.0.7.1_6.4__ge96a422
  9) craype-network-aries                             22)
alps/6.6.43-6.0.7.0_26.4__ga796da3.ari
 10) craype/2.5.14                                    23)
rca/2.2.18-6.0.7.0_33.3__g2aa4f39.ari
 11) cray-hdf5-parallel/1.10.0.3                      24) atp/2.1.1
 12) cray-tpsl/17.06.1                                25) PrgEnv-gnu/6.0.4
 13) cray-libsci/18.03.1                              26)
cray-hdf5-parallel/1.10.1.1

The system removed 1.8.x, which worked with no error before. What should I
do?

Thanks,
Yingchao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20181014/659922bb/attachment.htm>


More information about the flash-users mailing list