Proposals:Sparse Linear Solvers: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
 
(4 intermediate revisions by 2 users not shown)
Line 36: Line 36:
| [http://eigen.tuxfamily.org/index.php?title=Main_Page Eigen] || LGPL v3 (headers only) || 3.8 Mb  || Yes ||  Yes ||  C++ || Unknown || Unknown || Yes || [http://eigen.tuxfamily.org/CDash/index.php Yes]
| [http://eigen.tuxfamily.org/index.php?title=Main_Page Eigen] || LGPL v3 (headers only) || 3.8 Mb  || Yes ||  Yes ||  C++ || Unknown || Unknown || Yes || [http://eigen.tuxfamily.org/CDash/index.php Yes]
|-
|-
| [http://www.boost.org/doc/libs/release/libs/numeric Boost uBLAS] + [http://mathema.tician.de/software/boost-bindings Numeric Bindings] || ||  || ||  Yes ||  C++ || Unknown || Unknown || || [http://www.boost.org/development/tests/trunk/developer/numeric-ublas.html Yes for uBLAS]
| [http://www.boost.org/doc/libs/release/libs/numeric Boost uBLAS] + [http://mathema.tician.de/software/boost-bindings Numeric Bindings] or [http://www.guwi17.de/ublas/examples/ user contributions] || [http://www.boost.org/LICENSE_1_0.txt Boost License] but need to check binded libs ||  || Yes ||  Yes ||  C++ || Unknown || Unknown || [http://sodium.resophonic.com/boost-cmake/current-docs/index.html Under development] || [http://www.boost.org/development/tests/trunk/developer/numeric-ublas.html Yes for uBLAS]
|-
|-
| [http://www.ime.unicamp.br/~chico/arpack++/ ARPACK++] || ||  Templates || Yes ||  || C++  || Unknown || No ||  ||  
| [http://www.ime.unicamp.br/~chico/arpack++/ ARPACK++] || BSD ||  Templates || Yes ||  || C++  || Unknown || No ||  ||  
|-
|-
| [http://www.caam.rice.edu/software/ARPACK/ ARPACK] || New BSD || 1.5 Mb || Yes ||  || FORTRAN  || Unknown || No ||  ||  
| [http://www.caam.rice.edu/software/ARPACK/ ARPACK] || New BSD || 1.5 Mb || Yes ||  || FORTRAN  || Unknown || No ||  ||  
Line 79: Line 79:
* Cdash dashboard [http://eigen.tuxfamily.org/CDash/index.php here]
* Cdash dashboard [http://eigen.tuxfamily.org/CDash/index.php here]
* Support for both sparse and dense matrices and algorithms
* Support for both sparse and dense matrices and algorithms
* [https://launchpad.net/pyeigen Python bindings] are available with BSD licence


== MUMPS ==
== MUMPS ==
Line 96: Line 97:
** [https://svn.boost.org/svn/boost/sandbox/numeric_bindings/ Trunk version of the automatically generated boost bindings]
** [https://svn.boost.org/svn/boost/sandbox/numeric_bindings/ Trunk version of the automatically generated boost bindings]
*** Things might be [http://permalink.gmane.org/gmane.comp.lib.boost.ublas/5573 moving towards a real release]
*** Things might be [http://permalink.gmane.org/gmane.comp.lib.boost.ublas/5573 moving towards a real release]
* Alternatives to the numeric bindings for uBLAS could be to rely on:
** Some [http://www.guwi17.de/ublas/examples/ user contributions]. This contains code for Cholesky decomposition, GMRES method, etc.
** [http://devernay.free.fr/hacks/ublasJama.html ublasJama] a public domain port of [http://math.nist.gov/javanumerics/jama/ JAMA (Java Matrix Package)] for uBLAS


== ARPACK++ ==
== ARPACK++ ==


* C++ Template API for sparse matrix containers and API to ARPACK FORTRAN library solvers
* C++ Template API for sparse matrix containers and API to ARPACK FORTRAN library solvers
* License: ??
* License: BSD
* http://www.ime.unicamp.br/~chico/arpack++/
* http://www.ime.unicamp.br/~chico/arpack++/



Latest revision as of 07:44, 24 June 2010

The Problem

ITK requires functionalities for solving large sparse linear systems.

The current solution obtained though VXL must be replaced because it relies internally on code whose Copyright is held by ACM, and is subject to a license that precludes commercial use.

Some interesting threads from the mailing lists about this issue:

Previous Review

Tom Vercauteren previously gathered the following list of options.

ITK_Release_4.0#3rd_Party_Libraries


Options

Comparative Table

Name License Size Support Sparse Support Dense Language Coverage Valgrind CMakeified Dashboard
SuiteSparse LGPL / GPL Yes C/C++ (with Fortran and Matlab interfaces) Unknown Unknown
TAUCS google code page MIT Yes C Unknown Unknown
SuperLU BSD Yes C Unknown Unknown
Eigen LGPL v3 (headers only) 3.8 Mb Yes Yes C++ Unknown Unknown Yes Yes
Boost uBLAS + Numeric Bindings or user contributions Boost License but need to check binded libs Yes Yes C++ Unknown Unknown Under development Yes for uBLAS
ARPACK++ BSD Templates Yes C++ Unknown No
ARPACK New BSD 1.5 Mb Yes FORTRAN Unknown No
MUMPS Public Domain 11 Mb Yes FORTRAN 90 Unknown Unknown
lapack BSD 86 Mb No Yes Fortran ?? Unknown Yes ??
clapack BSD 22 Mb No Yes C 80% Unknown Yes Yes
PLASMA BSD 13 Mb No Yes C + FORTRAN Yes
OpenNL ?, BSD 2.8 Mb Yes C, C++, CUDA Unknown Unknown Yes
LSQR CPL (& BSD?) Yes No C, Fortran Yes (already in ITK) Part of ITK dashboard
OpenNL BSD 5.0Mb Yes ?? C 0% (no tests) Unknown (no tests) Yes

SuiteSparse

TAUCS

SuperLU

Eigen

MUMPS

Boost uBLAS + Numeric Bindings

ARPACK++

ARPACK

lapack

clapack

PLASMA

OpenNL

LSQR