Installation - SpM-lab/irbasis GitHub Wiki
Python
You need to install only a few standard scientific libraries (such as numpy, h5py) shown in our PyPI project page. If you install irbasis through pip, pip will take care of these dependencies properly.
We strongly recommend to install the irbasis library using the standard Python package system. This package contains the data file (irbasis.h5) as well.
python -mpip install -U pip
python -mpip install -U irbasis
Alternatively, we can put irbasis.py and irbasis.h5 into your working directory. You can load irbasis and use the full functionality.
If you want run sample Python scripts, please also install additional Python packages (scipy, matplotlib) using the following command.
pip install scipy matplotlib
C++
You need a C++03-compatible compiler. The use of the C++ irbasis library requires only the HDF5 C library (not C++).
The C++ library consists of a single header file. All what you need to do is to include irbasis.hpp in your C++ project. The data file irbasis.h5 will be read at runtime. Please do not forget to link your executable to the HDF5 C library.