Repository for MATS level 2 processing tools
- GCC > 7.0
- Intel MKL
The invlib
Python interface uses Intel MKL for efficient matrix operations,
which can be installed from the intel homepage.
After successful installation it is recommended to source the compilervars.sh
script
which declares environment variables informing other code about the MKL installation.
source <intel_install_dir>/bin/compilervars.sh
Alternatively, it should suffice to set the environment variable MKL_ROOT
to point
to the mkl
folder in the intel install folder.
export MKL_ROOT=<intel_install_dir>/mkl
To get the invlib source code clone the (invlib)[https://github.com/simonpf/invlib] repository to a destination of your choice.
git clone https://github.com/simonpf/invlib
To build the interface cd
into the invlib source directory and run setuptools
:
cd invlib
python setup.py install
The test/mats.py
provides an example on how to run an OEM calculation using invlib.