Install & Configure HDF5 -reg

43 views
Skip to first unread message

mani maran

unread,
Dec 20, 2018, 2:00:37 PM12/20/18
to dea...@googlegroups.com
Dear all,

I am new to deal_ii. I have installed deal_ii in my ubuntu 16.04 desktop. I don't know, how to link hdf5 with deal_ii. 

Do suggest a remedy for this issue.

Thanks and regards
Manimaran J


David Wells

unread,
Dec 20, 2018, 5:41:45 PM12/20/18
to deal.II User Group
Dear Manimaran,

The version of deal.II that can be installed with apt (on ubuntu 16.04; newer versions fix this) does not include HDF5 as a dependency: you will have to compile deal.II by yourself if you want to use it with HDF5.

I recommend installing HDF5 (via apt) first and then compiling and installing deal.II in your home directory. CMake should automatically detect your system installation of HDF5: if not, pass -DHDF5_DIR=/path/to/hdf5 to CMake when configuring. Complete directions are available here:

https://dealii.org/9.0.0/index.html

Let me know if this works for you, or if you have more questions.

Thanks,
David Wells

mani maran

unread,
Dec 21, 2018, 12:19:39 AM12/21/18
to dea...@googlegroups.com
Dear David Wells,

 Thank you for your kind reply. I am a beginner of Ubuntu and deal_II. Could you say elaborately.  I am not strong in the command line.  
I installed the deal_ii 9.0.1.  I installed like the following way

cmake -DCMAKE_INSTALL_PREFIX=/home/taylor/bin/dealii-9.0.1 ../

Could you explain HDF5 install, I downloaded the "hdf5-1.10.4.tar.gz".  I don't know, where I installed it. 

Please suggest me.  Could you say elaborately.


 





--
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.
For more options, visit https://groups.google.com/d/optout.

David Wells

unread,
Dec 21, 2018, 12:35:34 PM12/21/18
to deal.II User Group
Dear Manimaran,

Not a problem. It looks like you installed deal.II correctly but you will have to compile it again to link it with HDF5.

I recommend using apt to install HDF5; run

sudo apt-get install libhdf5-dev

at the command line to get a copy of HDF5 (that can be used for development, hence the -dev suffix) installed on your computer. Once its installed you should delete the deal.II build directory and compile it again (doing what you did before); it should automatically detect the copy of HDF5 you just installed (you can double-check this by reading the output file detailed.log).

Does this make sense? Let me know if you have more questions.

Thanks,
David Wells

You received this message because you are subscribed to a topic in the Google Groups "deal.II User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dealii/IxQ1rlpydmU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dealii+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages