본문 바로가기
연구 노트/개발환경 구축

HDF5 :: HDF5 tools 설치

by Dr. STEAM 2023. 1. 12.
반응형

HDF5 tools

     • tested with version 1.6.4

   • obtained from: http://www.hdfgroup.org/HDF5  -deprecated

   • Downloads (hdfgroup.org)

 

 

 

 

Downloads

HDF5 1.10 is the recommended branch to use for HDF5 development that doesn't use the virtual object layer (VOL).

confluence.hdfgroup.org

HDF5 인스톨하기 :: 이름이 없는 블로그 (tistory.com) 

기억할 점. zlib 은 /usr 에 깔았고 szip 은 /opt/szip-2.1 에 깔았다.  ==> zlib과 szip을 먼저 설치해야 !!!

 

zlib 설치

zlib 인스톨하기 :: 이름이 없는 블로그 (tistory.com)

1. http://www.zlib.net/ 에 들어가서 최신버전을 받자.

2. 그리고 거기다가 바로 압축을 풀고

tar zxf zlib-1.2.8.tar.gz

3. 그 디렉토리에 들어가서

cd zlib-1.2.8

4. 컨피겨를 한다. 인스톨은 /usr 에 하도록 한다.

./configure --prefix=/usr

5. 만든다.

make

6. 인스톨한다.

sudo make install

 

 

szip 설치

szip 인스톨하기 :: 이름이 없는 블로그 (tistory.com)

1. szip 을 다운받는다.

2. /opt 에 옮긴다.

sudo mv ~/Download/szip-2.1.tar.gz /opt

3. 압축을 푼다.

sudo tar zxf szip-2.1.tar.gz

4. 내 생각에는 sudo 를 쓰는 것 보다 root 로 까는 게 더 편한 것 같다.

cd ~/

sudo -s

암호

source .bashrc

cd /opt/szip-2.1

5. configure 한다. 딱히 따로 설정할 건 없는 듯.

./configure

6. 설치한다.

make

make check

make install

7. root 를 빠져나온다.

exit

 

 

HDF5 설치

HDF5 인스톨하기 :: 이름이 없는 블로그 (tistory.com)

HDF5 를 parallel 로 zlib 와 szip 을 쓰면서 깔아보자. 포트란, MPI, zlib, szip 은 이미 깔려있다고 가정하고 시작한다.

1. 우선 여기서 다운받는다.

2. root privilege 로 들어간다.

cd ~/

sudo -s

암호

source .bashrc

3. environmental variable 을 지정한다.

export CC=mpicc

export FC=mpif90

4. 압축을 푼다.

cd /opt

mv /home/사용자명/Download/hdf5-1.10.0.tar.gz ./

tar zxf hdf5-1.10.0.tar.gz

5. 압축을 푼 디렉토리로 들어가서

cd hdf5-1.10.0

6. configure 하자. fortran 과 szip 을 쓰는 옵션으로 parallel 로 깔 거다. parallel 로 깔면 C++ 은 못 쓴다.

기억할 점. zlib 은 /usr 에 깔았고 szip 은 /opt/szip-2.1 에 깔았다.

./configure --enable-fortran --enable-fortran2003 --enable-parallel --with-zlib=/usr --with-szlib=/opt/szip-2.1

7. 인스톨을 하자.

make

make check

make install

 

https://hdfeos.org/software/hdfeos.php

 

How to build HDF-EOS

How to build HDF-EOS This page explains how to build the HDF-EOS2 library and the HDF-EOS5 library. HDF-EOS2 You can get the latest release from here. As of August 2021, HDF-EOS 3.0 is the latest version, and you can get the library from NASA web site . Th

hdfeos.org

 

HDF5 Version 1.8.4 Requires Zlib and SZip ?

 

Downloads

HDF5 1.10 is the recommended branch to use for HDF5 development that doesn't use the virtual object layer (VOL).

confluence.hdfgroup.org

HDF5 Version 1.8.4 Requires Zlib and SZip ? - Hdf-forum archives - HDF Forum (hdfgroup.org)

 

 

Downloads

HDF5 1.10 is the recommended branch to use for HDF5 development that doesn't use the virtual object layer (VOL).

confluence.hdfgroup.org

 

728x90
반응형