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.
Installation
Releases of scikit-umfpack can be installed using pip. For a system-wide installation run:
pip install --upgrade scikit-umfpack
or for a user installation run
pip install --upgrade --user scikit-umfpack
To install scikit-umfpack from its source code directory, run in that directory (--user means a user installation):
pip install --upgrade --user .
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.1-cp36-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b53a073ecfa1a133490dfe0a20e523d9a4e952b3b81ce5f48cec7ff7230e6ef |
|
MD5 | b71b74df799d12414734392a8c2880bb |
|
BLAKE2b-256 | d8789953840ea60b35347b23ba5885a50f3f1dd18ba28028a374489cf402dd89 |
Hashes for scikit_umfpack-0.3.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4a261ebee459b72a282228e7560e4de7c8857d1f1b2b54d8903d4e937193e26 |
|
MD5 | c6dc1f14a23400abf79e7b5cf0050d46 |
|
BLAKE2b-256 | b7b7b7269979004345b2b3972e22165b8a605f6cb4c196f84fcf0d6d66b4fdd3 |
Hashes for scikit_umfpack-0.3.1-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b82091cc13c37e09fae3b942230fe0a8a09ca4a09bd677ed6e908221fbc3d9e3 |
|
MD5 | 1265e784e7f9e715edb7f69105c7b837 |
|
BLAKE2b-256 | 85d0f3acac75f96d728a6cc94e4c3230c543675b48043f45885560e4ded4dfd8 |
Hashes for scikit_umfpack-0.3.1-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f48980fabd35748de1ee7d58828e1f2b8d3eb7d35be1bd4fbfd13d04a9e155d1 |
|
MD5 | f5c5a66d0b855b793e2c141f4516e505 |
|
BLAKE2b-256 | c246e95c2e7f37158e59c0c47110ea49423225cb5fcfde73e7c9f8d54e304915 |
Hashes for scikit_umfpack-0.3.1-cp35-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98d4dad9b32e157510abe3cc5e0294f7a9a7552d415c61661fb401352c0b4f38 |
|
MD5 | 1d279082964595ef0324c01131ccd381 |
|
BLAKE2b-256 | c1bbf5dc8035b0b8711353dc37276586a51ab9b4dc989c3b96ab0f93d1f9813a |
Hashes for scikit_umfpack-0.3.1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ebec4b7dc1c13bc207b79800a2562eea5f87fbf8d76101b2a62290dd3d3a464 |
|
MD5 | f6d7d7cddfe88158ef5d07490d5fb4ab |
|
BLAKE2b-256 | 30f136088b49ee6005b90ba6e5f0163b6a0dec50f120d9175b49939f4e89b2ac |
Hashes for scikit_umfpack-0.3.1-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 947212bbfbfad67f20a7b545b9bd8b289a97de12d43916d9db955d4c0d6c615c |
|
MD5 | a077dc5526c28cc9b2ac609c769eaf90 |
|
BLAKE2b-256 | eef64b30556139c58b0050746961e5c5ece31a8db9cc20919c8e8fe48895e389 |
Hashes for scikit_umfpack-0.3.1-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa0da1c5e1fbfda7cdc2b343d145e70573ffaff8b71e74d2cbcb9f565982be7f |
|
MD5 | ce721bbc1837c68447a9ab3eeae7587f |
|
BLAKE2b-256 | 25dde9c258685280205845b449348238dd8f63481ef65f8232fe74c91634d6ad |
Hashes for scikit_umfpack-0.3.1-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91bad812c9e2d9d76a99dda8b973ec685dd67d3b39d7c73a7325399bb0f2cff0 |
|
MD5 | a2e2a8f239cf014a5c7f1a973a314ef5 |
|
BLAKE2b-256 | 823b9fe7cabc8bb576522160ac019fa23797490941393da70636642b2ac4bb95 |
Hashes for scikit_umfpack-0.3.1-cp34-cp34m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58ec25ab4134d0a1d601d0844b522c439d379a6748346ebbf29ce0747f3284ed |
|
MD5 | e41b05483815b8610e1ce96c1fe48ef9 |
|
BLAKE2b-256 | 6d5acd6213b067ceb9087ecd9aff3ba4e6d3a66dd36217e961e0876bd2c2849f |
Hashes for scikit_umfpack-0.3.1-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd2913734cdfcd774a504cb363fd4a4010f366c41c68a3cab38e4d9db639ccbb |
|
MD5 | ef772ee8428aff621cde6ee71748ae2d |
|
BLAKE2b-256 | 4db2b063ac7874c5707f96d2e159a29f09dd467bd16ffae60d1209945124c0ba |
Hashes for scikit_umfpack-0.3.1-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3ca12dd5939139aff64176848d6689377020292bbd5f403b5f17cb7e1820373 |
|
MD5 | e0456d748d581153cf73c3a0ff0feb80 |
|
BLAKE2b-256 | 54c6c0c29290aa7df09390fa45af9e78880f26ccfd5520debd50ea4fa98d9711 |
Hashes for scikit_umfpack-0.3.1-cp27-cp27mu-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdc4b88fc7a90d12d99a22d61393f7d53dfabaad49a86c362057ef9bbefba72d |
|
MD5 | e838b9ba4db56b2ba03a4e7a832f7785 |
|
BLAKE2b-256 | 82f11995c2caa5699c1fef355603675f1d70ea238563f4fd5d1aa6ee217b5c60 |
Hashes for scikit_umfpack-0.3.1-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52746a96cb6e175bfeb3a27f49dec3f840f1c33b624a2190330a1978d0d33c56 |
|
MD5 | 8559ff7ee751dedac470711b095a65ab |
|
BLAKE2b-256 | c6fc102008afa4a1c7172445ba805f13dae659c0f8e96a1ce6c82b2a260b6afc |
Hashes for scikit_umfpack-0.3.1-cp27-cp27m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c7040e643de810134bfd7da8a2b6d63bef4bb36d5264d3da10ee3ff61903c33 |
|
MD5 | a7f50a83507f7d1a58469239a2eff05b |
|
BLAKE2b-256 | c1094b72dd240f060e24188ea6020509c0cd3bc380d3ed45864977fee3a54148 |
Hashes for scikit_umfpack-0.3.1-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85c2616905f86ee0e895fe1921edfdc55f7945df3e239003e81274f73e4507de |
|
MD5 | 6afdcf48c01ae38acf7cc09bbd23a27e |
|
BLAKE2b-256 | 06064de668c09d84d440373ab10b10f5efdcd4e9a6e8ed1260f9371b25b964d3 |