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.2.2-cp35-cp35m-macosx_10_6_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9319f0ac52f6d29584ea2bb02015e361925d8a0d606376456e61710cfc3070c0 |
|
MD5 | 2d636c1b4e7bbdeb020e61870e0120c3 |
|
BLAKE2b-256 | 2af73c1e9745669fe5d7faf377eaee19c4aad41a6ab2985d311179b039ae64fa |
Hashes for scikit_umfpack-0.2.2-cp34-cp34m-macosx_10_6_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54b10922dcff66b5794697022a6a39782c5646a457b5402c2b1b521efe01746b |
|
MD5 | af539fcae8fccbfb328e389733bf1fcb |
|
BLAKE2b-256 | feac2f433d2d0d18518d899d02a2729328f0c75275b4c7c08914061354bb0c17 |
Hashes for scikit_umfpack-0.2.2-cp27-none-macosx_10_6_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 937a8f1695b529477574db39897922a68821b844ca23067a00f316e1f1963044 |
|
MD5 | 4f6012959f40e6103719ca8c796bca41 |
|
BLAKE2b-256 | 4da02b601762f8e3d3603baa6e34614d3f21acbb379013f69dfa0f37526d9d03 |