Skip to main content

Python interface to the Intel MKL Pardiso library to solve large sparse linear systems of equations

Project description

PyPardisoProject

Anaconda-Server Badge PyPardiso-Tests

Python interface to the Intel MKL Pardiso library to solve large sparse linear systems of equations

More documentation is coming soon. In the meantime, refer to the comments and docstrings in the source code.

Installation

Anaconda-Server Badge

Use PyPardiso with the anaconda python distribution (use miniconda if you need to install it). PyPardiso makes use of the Intel Math Kernel Library that is included for free with conda and therefore doesn't work with other distributions (at least for the moment).

To install PyPardiso:

conda install -c haasad pypardiso

Basic usage

PyPardiso provides a spsolve and a factorized method that are significantly faster than their counterparts in scipy.sparse.linalg.

>>> from pypardiso import spsolve
>>> x = spsolve(A,b)

Changelog

v0.3.3

  • Release on PyPI and anaconda.org/haasad with github actions (see #19 and #20)

v0.3.2

v0.3.1

  • Revert to the old way of detecting the mkl_rt library on osx, since psutil doesn't work (see [#14])

v0.3.0

  • Changed how pypardiso detects the mkl_rt library to fix a breaking change on windwos with mkl 2021.2.0. See #12 for details.

v0.2.2

  • CSR-matrix format is forced in spsolve and factorized. This fixes a serious compatibility issue with brightway2, where a technosphere matrix in CSC-format produces wrong results, due to the bad conditioning of the matrix (see details in issue #7).

v0.2.1

  • Switched from zero- to one-based indexing for the call to the pardiso library. This brings performance of the factorization phase back to the level of v0.1.0, v0.2.0 is much slower.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypardiso-0.3.3.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypardiso-0.3.3-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file pypardiso-0.3.3.tar.gz.

File metadata

  • Download URL: pypardiso-0.3.3.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.6

File hashes

Hashes for pypardiso-0.3.3.tar.gz
Algorithm Hash digest
SHA256 9a02dad1b286394e9593fc89053e7278d9a02bcb34d651aa510f8bf3a1a082eb
MD5 a8047f727c2a7e4fcc42d3e9ccde125f
BLAKE2b-256 d5589c3caaab384ad6580b9b0a64746b423ca0422db1329fd958d1fb21b065cd

See more details on using hashes here.

File details

Details for the file pypardiso-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: pypardiso-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.6

File hashes

Hashes for pypardiso-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c2100b5a6f444b8f26bddc0b94830801485d7111e2c8593adb7d59b8ee8b6e64
MD5 41c2c4c86d0b6218b18548bee30b7c95
BLAKE2b-256 ac807efe950a48b29c403b4a86809c38329e36ee832bd5913310bb0c52e80c7a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page