[Trilinos-Users] hdf5

Eric Bavier bavier at cray.com
Fri Nov 10 11:13:50 EST 2017


Hello Elek,

The 'H5Tget_tag' symbol is defined in libhdf5.a, so you'll need to make sure that the HDF5 TPL includes that library when configuring.  FWIW when I build Trilinos with cray-hdf5, I usually set:

  -D TPL_ENABLE_HDF5:BOOL=ON \
  -D TPL_HDF5_INCLUDE_DIRS:FILEPATH=${HDF5_DIR}/include \
  -D HDF5_LIBRARY_DIRS:FILEPATH=${HDF5_DIR}/lib \
  -D HDF5_LIBRARY_NAMES:STRING="hdf5_hl_parallel;hdf5_parallel;z;dl"

Hope that helps,

Eric Bavier, Scientific Libraries, Cray Inc.

________________________________________
From: Trilinos-Users <trilinos-users-bounces at trilinos.org> on behalf of Eligiusz Postek <ewpostek at googlemail.com>
Sent: Thursday, November 9, 2017 18:35
To: trilinos-users at trilinos.org
Subject: [Trilinos-Users] hdf5

Hello,
Could it mean that the cray libs (hdf5) are incomplete ?
Is there any other error ?
best regards, Elek


[ 34%] Building CXX object packages/teuchos/parameterlist/src/CMakeFiles/teuchosparameterlist.dir/Teuchos_StringInputStream.cpp.o
/opt/cray/hdf5/1.8.16/GNU/5.1/lib/libhdf5.a(H5PL.o): In function `H5PL_load':
H5PL.c:(.text+0x634): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/opt/cray/hdf5/1.8.16/GNU/5.1/lib/libhdf5_hl.a(H5LT.o): In function `H5LT_dtype_to_text':
H5LT.c:(.text+0x2871): undefined reference to `H5Tget_tag'
/opt/cray/hdf5/1.8.16/GNU/5.1/lib/libhdf5_hl.a(H5LTparse.o): In function `H5LTyyparse':
H5LTparse.c:(.text+0x108d): undefined reference to `H5Tset_tag'
collect2: error: ld returned 1 exit status
make[2]: *** [packages/seacas/applications/nem_slice/nem_slice] Error 1



More information about the Trilinos-Users mailing list