condaでのパッケージインストール

MKLやhdf5に問題があったりして、conda-forgeで入れるものは入れたほうが良さそう。依存関係がシンプルなので。

インストール手順。

conda create -n dev -c conda-forge python=3.7

Linuxの場合

conda install -c conda-forge gcc_linux-64 gxx_linux-64 matplotlib pyyaml scipy ipython liblapacke boost eigen cmake h5py spglib
conda install -c conda-forge hdf5=1.8.20

macOSの場合

conda install -c conda-forge matplotlib pyyaml scipy ipython liblapacke boost eigen cmake clang_osx-64 clangxx_osx-64 llvm-openmp h5py spglib

注意 lapacke.hopenblasパッケージに入っている。liblapackeではない。

追記(2019/6/6) boostもconda-forgeからいれたほうがいい。anaconda/boostにはbimap.hppが無い。cmakeとeigenも念の為にconda-forgeから。