Python interface to UMFPACK sparse direct solver.
Project description
scikit-umfpack
scikit-umfpack provides wrapper of UMFPACK sparse direct solver to SciPy.
Usage:
>>> from scikits.umfpack import spsolve, splu
>>> lu = splu(A)
>>> x = spsolve(A, b)
Installing scikits.umfpack also enables using UMFPACK solver via some of the scipy.sparse.linalg functions, for SciPy >= 0.14.0. Note you will need to have installed UMFPACK before hand. UMFPACK is parse of SuiteSparse.
Dependencies
scikit-umfpack depends on NumPy, SciPy, SuiteSparse, and swig is a build-time dependency.
Building SuiteSparse
SuiteSparse may be available from your package manager or as a prebuilt shared library. If that is the case use that if possible. Installation on Ubuntu 14.04 can be achieved with
sudo apt-get install libsuitesparse-dev
Otherwise, you will need to build from source. Unfortunately, SuiteSparse’s makefiles do not support building a shared library out of the box. You may find Stefan Fürtinger instructions helpful.
Furthmore, building METIS-4.0, an optional but important compile time dependency of SuiteSparse, has problems on newer GCCs. This patch and instructions from Nadir Soualem are helpful for getting a working METIS build.
Otherwise, I commend you to the documentation.
Install
This package uses distutils, which is the default way of installing python modules. In the directory scikit-umfpack (the same as the file you are reading now) do:
python setup.py install
or for a local installation:
python setup.py install --root=<DIRECTORY>
Development
Code
You can check the latest sources with the command:
git clone https://github.com/scikit-umfpack/scikit-umfpack.git
or if you have write privileges:
git clone git@github.com:scikit-umfpack/scikit-umfpack.git
Testing
After installation, you can launch the test suite from outside the source directory (you will need to have the nose package installed):
nosetests -v scikits.umfpack
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for scikit_umfpack-0.3.0-cp36-cp36m-macosx_10_6_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b2fb5f09927233a29ef067cd7e7b04b2e74071b754db4d04455157a12451780 |
|
MD5 | 762eb573af0270e9caa9ffd3c0560ebc |
|
BLAKE2b-256 | 77ac7cb0179e6f8bb79ad8073025e95fb38a8dbaef2c295a7b99ac4c96017d96 |
Hashes for scikit_umfpack-0.3.0-cp35-cp35m-macosx_10_6_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59278e1d1cddd33efc38b9d4731c466d4b2fd74dcedb0e005123d361ace597b5 |
|
MD5 | e0fbe72aa635a0e29529db6761d772fe |
|
BLAKE2b-256 | 9c4ced89d6aca11a07af3d7b126f0452de34dd1ba8a8e512b4073270f6ea5b6c |
Hashes for scikit_umfpack-0.3.0-cp34-cp34m-macosx_10_6_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93276dff79041a147212a48d1ac3000d0ef60b92a80f3f2ff0a54ab56d615b7e |
|
MD5 | 85ff1783ec87c0cafd9a17490df2cb93 |
|
BLAKE2b-256 | ec89f2716bfa5b0bfa05b0dd0d4a2c4172c3a7dca6fcb62eaf2044ff278a7a62 |
Hashes for scikit_umfpack-0.3.0-cp27-none-macosx_10_6_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76cfd3b9a875e933dd8961b49fe4f84ed179fd35101ea81a4d31c99646e88597 |
|
MD5 | 8868d905436dd143b25094786bfcdabb |
|
BLAKE2b-256 | cba8e9765f2b75271e5ac1788e73865ec512d0b1d39dba0cb299d97b671654cc |