LoginSignup
2
3

More than 3 years have passed since last update.

macにhdf5をインストールする

Posted at

はじめに

2019年10月の時点の情報です。
公式サイトのダウンロードページにmacOS用のファイルがなかったので調べました。
2019年10月現在、最新バージョンは1.10.5のようです。

環境

  • mac OS Mojave 10.14.6
  • Homebrew 2.1.11

HDF5とは

こちらの記事が詳しいです。
意外と奥が深い、HDFの世界(Python・h5py入門)

英語を読める方は公式サイトも参考になります.
THE HDF5® LIBRARY & FILE FORMAT

本題

brewを使います。

$ brew install hdf5

インストールが完了後ターミナルで以下が表示されれば完了です。

$ h5ls -V
h5ls: Version 1.10.5

同時にその他のコマンド群もインストールされているはずです。

h52gif            (Executable link, 118kB)
h5c++              (Executable link, 12kB)
h5cc               (Executable link, 12kB)
h5clear           (Executable link, 117kB)
h5copy            (Executable link, 122kB)
h5debug            (Executable link, 24kB)
h5diff            (Executable link, 216kB)
h5dump            (Executable link, 199kB)
h5fc               (Executable link, 12kB)
h5format_convert  (Executable link, 117kB)
h5import          (Executable link, 167kB)
h5jam             (Executable link, 118kB)
h5ls              (Executable link, 145kB)
h5mkgrp           (Executable link, 113kB)
h5perf_serial     (Executable link, 144kB)
h5redeploy        (Executable link, 5.8kB)
h5repack          (Executable link, 195kB)
h5repart           (Executable link, 17kB)
h5stat            (Executable link, 134kB)
h5unjam           (Executable link, 118kB)
h5watch           (Executable link, 126kB)
2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3