[Trilinos-Users] Compilation with hdf5 TPL fails

Martin Vymazal martin.vymazal at vki.ac.be
Fri May 21 04:15:32 MDT 2010


Hello trilinos users & developers,

  I'd like to compile trilinos with hdf5 support, but the compilation  
fails with this error:

In file included from  
/data/repository/trilinos/trilinos-10.2.1-Source/packages/epetraext/src/inout/EpetraExt_HDF5.cpp:28:0:
/data/repository/trilinos/trilinos-10.2.1-Source/packages/epetraext/src/inout/EpetraExt_HDF5.h: In member function ?void EpetraExt::HDF5::CreateGroup(const  
std::string&)?:
/data/repository/trilinos/trilinos-10.2.1-Source/packages/epetraext/src/inout/EpetraExt_HDF5.h:333:64: error: too few arguments to function ?hid_t H5Gcreate2(hid_t, const char*, hid_t, hid_t,  
hid_t)?
/usr/include/H5Gpublic.h:75:14: note: declared here
/data/repository/trilinos/trilinos-10.2.1-Source/packages/epetraext/src/inout/EpetraExt_HDF5.cpp: In function ?void WriteParameterListRecursive(const Teuchos::ParameterList&,  
hid_t)?:

I configure trilinos with the following script:

#!/bin/bash

EXTRA_ARGS=$@

cd build

cmake \
   -D CMAKE_BUILD_TYPE:STRING=RELEASE \
   -D Trilinos_ENABLE_ML:BOOL=ON \
   -D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON \
   -D Trilinos_ENABLE_TESTS:BOOL=ON \
   -D Trilinos_ENABLE_Anasazi:BOOL=ON \
   -D Trilinos_Anasazi_ENABLE_TESTS:BOOL=ON \
   -D Trilinos_Anasazi_ENABLE_EXAMPLES:BOOL=ON \
   -D Trilinos_Anasazi_ENABLE_Epetra:BOOL=ON \
   -D Trilinos_ENABLE_Zoltan:BOOL=ON \
   -D Zoltan_ENABLE_MPI:BOOL=ON \
   -D EpetraExt_ENABLE_Zoltan:BOOL=ON \
   -D EpetraExt_BUILD_Zoltan:BOOL=ON \
   -D EpetraExt_BUILD_PETSC:BOOL=ON \
   -D EpetraExt_BUILD_UMFPACK:BOOL=ON \
   -D EpetraExt_ENABLE_AMD:BOOL=ON \
   -D HDF_INCLUDE_DIRS:PATH=/usr/include \
   -D HDF_LIBRARY_DIRS:PATH=/usr/lib \
   -D EpetraExt_ENABLE_HDF5:BOOL=ON \
   -D ML_ENABLE_Aztec:BOOL=ON \
   -D ML_ENABLE_MPI:BOOL=ON \
   -D ML_ENABLE_Zoltan:BOOL=ON \
   -D DART_TESTING_TIMEOUT:STRING=600 \
   -D TPL_ENABLE_MPI:BOOL=ON \
   -D CMAKE_INSTALL_PREFIX:PATH=$HOME/libs/trilinos \
   $EXTRA_ARGS \
   ${TRILINOS_HOME}

I'm sorry if this question was answered in the past, but your system  
denies me the access to the mailing list archives (I tried different  
browsers, had password reminder sent to me too).

I'll be grateful for any suggestions conerning the compilation error.

Best regards,

   Martin Vymazal

P.S The error is the same with trilinos 10.2.0 and 10.2.1



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





More information about the Trilinos-Users mailing list