Hello Simon;
Your advice has worked fine, I had already tried what you suggested but I missed the final “/serial” of the path. With the complete path finally HDF5 has been detected successfully. Definitively configure_hdf5.cmake is not good enough. For the sake of completion, I installed these Ubuntu packages: ‘libhdf5-103’ and ‘libhdf5-dev’, but ‘hdf5-helpers’ and ‘libhdf5-cpp-103’ also installed automatically. Thank you very much indeed, Simon. Curro De: dealii@googlegroups.com <dealii@googlegroups.com> En nombre de simon...@gmail.com Enviado el: lunes, 22 de marzo de 2021 17:36 Para: deal.II User Group <dealii@googlegroups.com> Asunto: Re: [deal.II] Installing 9.2.0 with HDF5 Hi, Can you try this: cmake -DDEAL_II_WITH_HDF5=ON -DHDF5_DIR=/usr/lib/x86_64-linux-gnu/hdf5/serial .. Because, as far as I can tell, the "hint" that is currently in configure_hdf5.cmake isn't good enough. Best, Simon On Sunday, March 21, 2021 at 6:50:56 PM UTC+1 Curro Trigo wrote: Hello again, The problem is when I type 'apt-cache search hdf5' I get 103 packages (attached to this e-mail) in Ubuntu related to hdf5. Which ones do I have to select? I've selected these four packages: hdf5-helpers libhdf5-103 libhdf5-cpp-103 libhdf5-dev with the same result: -- Include /home/curro/dealii-9.2.0/cmake/configure/configure_hdf5.cmake -- HDF5_INCLUDE_DIR not found! Call: -- FIND_PATH(HDF5_INCLUDE_DIR hdf5.h HINTS /usr/lib/x86_64-linux-gnu/hdf5 PATH_SUFFIXES hdf5 hdf5/include include/hdf5 include) -- HDF5_LIBRARY not found! Call: -- FIND_LIBRARY(HDF5_LIBRARY NAMES hdf5 HINTS /usr/lib/x86_64-linux-gnu/hdf5 PATH_SUFFIXES hdf5/lib lib lib64 lib) -- HDF5_HL_LIBRARY not found! Call: -- FIND_LIBRARY(HDF5_HL_LIBRARY NAMES hdf5_hl HINTS /usr/lib/x86_64-linux-gnu/hdf5 PATH_SUFFIXES lib lib64 lib) -- HDF5_PUBCONF not found! Call: -- FIND_FILE(HDF5_PUBCONF NAMES H5pubconf.h H5pubconf-64.h HINTS HDF5_INCLUDE_DIR-NOTFOUND /usr/lib/x86_64-linux-gnu/hdf5 PATH_SUFFIXES hdf5 hdf5/include include/hdf5 include) -- HDF5_LIBRARIES: *** Required variable "HDF5_HL_LIBRARY" set to NOTFOUND *** -- HDF5_INCLUDE_DIRS: *** Required variable "HDF5_INCLUDE_DIR" set to NOTFOUND *** -- HDF5_USER_INCLUDE_DIRS: *** Required variable "HDF5_INCLUDE_DIR" set to NOTFOUND *** -- Could NOT find HDF5 -- DEAL_II_WITH_HDF5 has unmet external dependencies. Any suggestion? Thank you! De: dea...@googlegroups.com <mailto:dea...@googlegroups.com> <dea...@googlegroups.com <mailto:dea...@googlegroups.com> > En nombre de Curro Trigo Enviado el: domingo, 21 de marzo de 2021 13:42 Para: deal.II User Group <dea...@googlegroups.com <mailto:dea...@googlegroups.com> > Asunto: [deal.II] Installing 9.2.0 with HDF5 Hello: I'm trying to install deal II 9.2.0 on Ubuntu 20.04.2 LTS realease. And I succeded. But if I try to install it with HDF5 activated I get errors like those shown below in the cmake process (while executing 'cmake -DDEAL_II_DIR=/home/curro/dealii-9.2.0/ ../'): -- Include /home/curro/dealii-9.2.0/cmake/configure/configure_hdf5.cmake -- HDF5_INCLUDE_DIR not found! Call: -- FIND_PATH(HDF5_INCLUDE_DIR hdf5.h HINTS PATH_SUFFIXES hdf5 hdf5/include include/hdf5 include) -- HDF5_LIBRARY not found! Call: -- FIND_LIBRARY(HDF5_LIBRARY NAMES hdf5 HINTS PATH_SUFFIXES hdf5/lib lib lib64 lib) -- HDF5_HL_LIBRARY not found! Call: -- FIND_LIBRARY(HDF5_HL_LIBRARY NAMES hdf5_hl HINTS PATH_SUFFIXES lib lib64 lib) -- HDF5_PUBCONF not found! Call: -- FIND_FILE(HDF5_PUBCONF NAMES H5pubconf.h H5pubconf-64.h HINTS HDF5_INCLUDE_DIR-NOTFOUND PATH_SUFFIXES hdf5 hdf5/include include/hdf5 include) -- HDF5_LIBRARIES: *** Required variable "HDF5_HL_LIBRARY" set to NOTFOUND *** -- HDF5_INCLUDE_DIRS: *** Required variable "HDF5_INCLUDE_DIR" set to NOTFOUND *** -- HDF5_USER_INCLUDE_DIRS: *** Required variable "HDF5_INCLUDE_DIR" set to NOTFOUND *** -- Could NOT find HDF5 -- DEAL_II_WITH_HDF5 has unmet external dependencies. I've downloaded from 'https://www.hdfgroup.org/' the file 'hdf5-1.12.0-linux-centos7-x86_64-shared-production.tar.gz'. And I have expanded it. Also, I've set the environment variable LD_LIBRARY_PATH to the folder where I've expanded it. With no success. Any help will be welcome. Thanks a lot in advance. Curro Trigo -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+un...@googlegroups.com <mailto:dealii+un...@googlegroups.com> . To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/1db3deab-8dcd-40ec-b4e2-9b2b1c255bf4n%40googlegroups.com <https://groups.google.com/d/msgid/dealii/1db3deab-8dcd-40ec-b4e2-9b2b1c255bf4n%40googlegroups.com?utm_medium=email&utm_source=footer> . -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com <mailto:dealii+unsubscr...@googlegroups.com> . To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/11818661-0cc0-4df0-9483-b87bec036e20n%40googlegroups.com <https://groups.google.com/d/msgid/dealii/11818661-0cc0-4df0-9483-b87bec036e20n%40googlegroups.com?utm_medium=email&utm_source=footer> . -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/002e01d71fc5%248c4d1800%24a4e74800%24%40gmail.com.