mtspy
Multi-threaded sparse matrix operations in Python
Installation
Install with:
pip3 install git+https://github.com/IgorBaratta/mtspy.git --upgrade
To install mtspy along with the requirements, use:
git clone --recursive https://github.com/IgorBaratta/mtspy.git
cd mtspy
python3 -m pip install -r requirements.txt
python3 -m pip install .
Requirements
Make sure to clone with --recursive to download the required submodules!
- Numpy
- Scipy
- C++ compiler with OpenMP 4.5 support (eg.: gcc>5)
- pybind11
Using docker container with all requirements installed:
docker pull igorbaratta/mtspy:latest
Tests
python3 -m pytest -v tests/
License
mtspy is licensed under the GNU General Public License v3.0 -- see the LICENSE file for details