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
Release files for scikit-umfpack 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| scikit-umfpack-0.2.1.tar.gz | 18.8 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| scikit_umfpack-0.2.1-cp35-cp35m-macosx_10_6_intel.whl | CPython 3.5 | CPython 3.5 pymalloc | macOS 10.6+ Intel (x86-64, i386) | Details |
| scikit_umfpack-0.2.1-cp34-cp34m-macosx_10_6_intel.whl | CPython 3.4 | CPython 3.4 pymalloc | macOS 10.6+ Intel (x86-64, i386) | Details |
| scikit_umfpack-0.2.1-cp27-none-macosx_10_6_intel.whl | CPython 2.7 | none | macOS 10.6+ Intel (x86-64, i386) | Details |
Total release size: 2.8 MB
Release files / scikit-umfpack-0.2.1.tar.gz
| Download URL | scikit-umfpack-0.2.1.tar.gz |
|---|---|
| Size | 18.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9ebfb4ac4cd1ec545a9211160c65129a77b6e2fab02d8cfa30b10278f5773fd1
|
|
BLAKE2b-256 checksum How to use checksums |
cb5c1da1181dfda148b8a7f79319a7bac24c71d972a48dd7f197ded7eb944eec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / scikit_umfpack-0.2.1-cp35-cp35m-macosx_10_6_intel.whl
| Download URL | scikit_umfpack-0.2.1-cp35-cp35m-macosx_10_6_intel.whl |
|---|---|
| Size | 916.7 kB |
| Tags | CPython 3.5 CPython 3.5 pymalloc macOS 10.6+ Intel (x86-64, i386) |
|
SHA-256 checksum How to use checksums |
340a90215833fb8293098d997155bf9085d48acc6f597d8869db86a9a7c8d29d
|
|
BLAKE2b-256 checksum How to use checksums |
3141e5f5b8d2440b8efdb738055bd80eb25e683a8f48cb9b2f5b1c88fde329df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / scikit_umfpack-0.2.1-cp34-cp34m-macosx_10_6_intel.whl
| Download URL | scikit_umfpack-0.2.1-cp34-cp34m-macosx_10_6_intel.whl |
|---|---|
| Size | 916.7 kB |
| Tags | CPython 3.4 CPython 3.4 pymalloc macOS 10.6+ Intel (x86-64, i386) |
|
SHA-256 checksum How to use checksums |
46a6bb4096f7de50f52c62c7b0ffc7cb143c338806657cc7a38c26cd23bf3ae5
|
|
BLAKE2b-256 checksum How to use checksums |
301f2cdd58dcec3347088f5c7c78cd53e0ce658705bf400007a4bb6317c3cf6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / scikit_umfpack-0.2.1-cp27-none-macosx_10_6_intel.whl
| Download URL | scikit_umfpack-0.2.1-cp27-none-macosx_10_6_intel.whl |
|---|---|
| Size | 918.6 kB |
| Tags | CPython 2.7 macOS 10.6+ Intel (x86-64, i386) |
|
SHA-256 checksum How to use checksums |
68635ab4f562bc75780852273fa0e008bf805f9ee1fc7202535e78e1ac429a2e
|
|
BLAKE2b-256 checksum How to use checksums |
25b3416c5331ae806ecb7fcdcee3dbaf9f890addc6ab8d63aa32aa14476c1fcb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |