"Go" Linux installation HDF5 and the problems encountered in summary

Source: Internet
Author: User

Linux installation HDF5 and summary of problems encountered transferred from: http://www.linuxdiyf.com/linux/26164.html
Ubuntu version: 16.04.2 64-bit download from HDF official website (https://support.hdfgroup.org/HDF5/) hdf5-1.8.17.tar.gz  The brief installation steps are as follows: (Detailed steps: Hdf5-1.8.17/release_docs/install) $ gunzip < hdf5-x.y.z.tar.gz | Tar XF-  #解压缩 $ cd hdf5-x.y.z$./configure--prefix=/usr/local/hdf5   #安装路径 $ make$ make check     &NBS P          # run test suite.$ make install$ make Check-install        # Verify Installation. Note: x.y.z is the HDF version   after the installation is successful, the Hdf5 folder appears under the installation directory/usr/local, and under/share/hdf5_examples/is the sample program. Open the C folder and we'll test it below. Under this folder is a file named Run-c-ex.sh, which executes all. c files under the C directory. Run the command: $ sudo./run-c-ex.sh to get all the file execution results.   Open a run-c-ex.sh file to view the contents of the file below   below we will show you how to execute a single. c file in the/USR/LOCAL/HDF5/SHARE/HDF5_EXAMPLES/C directory under H5_EXTEND.C as an example $ sudo h5cc-o h5_extend H5_EXTEND.C but it's an error: H5cc:command not found we input h5cc at the command line, we can see that we h5cc not install, as instructed, we input sudo apt Install hdf5-helpers next execution, but reported hdf5.h:no such file or directory errors as long as the installation of Libhdf5-serial-dev. Execute command: $ sudo apt-get install Libhdf5-serial-dev execute $ sudo again h5cc-o h5_eXtend H5_EXTEND.C No problem, execute: $./h5_extend in the/SHARE/HDF5_EXAMPLES/C directory, in addition to generating h5_extend and h5_extend.o two files, there are also extend.h5 files.   Here is a visualizer hdfview, which can be used to view and edit HDF files. (https://support.hdfgroup.org/products/Java/hdfview/) Download Hdfview to see what we just got extend.h5  this article permanent Update address:/HTTP Www.linuxdiyf.com/linux/26164.html

"Go" Linux installation HDF5 and the problems encountered in summary

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.