Closed opoplawski closed 6 years ago
Looks like the HDF5 symbols are missing during the link process. Can we verify that Trilinos was built with HDF5 enabled? Or, rather, was https://github.com/NaluCFD/Nalu/blob/master/build/do-configTrilinos_release used to configure Trilinos? The CMake configure step in Nalu is set up to inherit the configuration of Trilinos, so we assume that HDF5 should be taken care of by Trilinos.
I used do-configTrilinos_release (modified as needed) to configure Trilinos, but it seems it did not enable HDF5 (at least not the HDF5 TPL):
Final set of enabled TPLs: Pthread MPI BLAS LAPACK Boost Netcdf SuperLU BoostLib DLlib 9
Final set of non-enabled TPLs: MKL yaml-cpp Peano CUDA CUSPARSE Thrust Cusp TBB HWLOC QTHREAD BinUtils ARPREC QD Scotch OVIS gpcd METIS MTMETIS ParMETIS PuLP TopoManager LibTopoMap PaToH CppUnit ADOLC ADIC TVMET MF ExodusII Nemesis XDMF Zlib HDF5 CGNS Pnetcdf y12m SuperLUDist SuperLUMT Cholmod UMFPACK MA28 AMD CSparse HYPRE PETSC BLACS SCALAPACK MUMPS PARDISO_MKL PARDISO Oski TAUCS ForUQTK Dakota HIPS MATLAB CASK SPARSKIT QT gtest BoostAlbLib OpenNURBS Portals CrayPortals Gemini InfiniBand BGPDCMF BGQPAMI Pablo HPCToolkit Clp GLPK qpOASES Matio PAPI MATLABLib Eigen X11 Lemon GLM quadmath CAMAL RTlib AmgX CGAL CGALCore VTune TASMANIAN ArrayFireCPU SimMesh SimModel SimParasolid SimAcis SimField Valgrind QUO 96
I also see:
CMake Warning:
Manually-specified variables were not used by the project:
HDF5_NO_SYSTEM_PATHS
HDF5_ROOT
Ok I think that is the problem then. I'm a little worried about the version of Trilinos as well based on it ignoring HDF5_ROOT
, since I believe specifying HDF5_ROOT
as we currently do should work with the latest Trilinos develop branch. Using the <TPL>_ROOT
hints in the CMake configure is something Trilinos enabled within the past year. So the next thing I would do is verify that you are using either Trilinos version 12.12.1, master branch, or the develop branch, which are the minimum versions required for the latest Nalu. Next, in the do-config script, you can try using:
-DHDF5_INCLUDE_DIRS:PATH=${hdf_install_dir}/include \
-DHDF5_LIBRARY_DIRS:PATH=${hdf_install_dir}/lib \
These more explicit hints can typically find TPLs in Trilinos where <TPL>_ROOT
fails. Hopefully Trilinos will then find and build with HDF5 and subsequently, Nalu hopefully should as well.
I'm using the master branch of Trilinos at commit b7036615905c18ca108007c8803f71d8bae81aec
The main issues seems to be a missing "-DTPL_ENABLE_HDF5=ON" in do-configTrilinosrelease. After enabling that and setting the needed -DHDF5*_DIRS it found HDF5.
Thanks for looking into that. I have updated the config scripts to include TPL_ENABLE_HDF5
.
thanks.
Building current git master: