diff options
author | Eric Bavier <bavier@member.fsf.org> | 2015-06-25 15:53:12 -0500 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2015-06-29 15:34:36 -0500 |
commit | aa75ad00970fa1fee0fd68d755b13ae7218755d9 (patch) | |
tree | af12308f940b263eb9fbf0c912e808c07632577f /gnu/packages/maths.scm | |
parent | 700ff22219c3edd5ecefb152d5bcdf25dc4c67c3 (diff) | |
download | patches-aa75ad00970fa1fee0fd68d755b13ae7218755d9.tar patches-aa75ad00970fa1fee0fd68d755b13ae7218755d9.tar.gz |
gnu: Add METIS.
* gnu/packages/maths.scm (metis): New variable.
Diffstat (limited to 'gnu/packages/maths.scm')
-rw-r--r-- | gnu/packages/maths.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 508c0e62ea..e5da8c2ea2 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -927,6 +927,36 @@ bio-chemistry.") (lambda _ (zero? (system* "make" "ptcheck")))))))) (synopsis "Programs and libraries for graph algorithms (with MPI)"))) +(define-public metis + (package + (name "metis") + (version "5.1.0") + (source + (origin + (method url-fetch) + (uri (string-append "http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/" + "metis-" version ".tar.gz")) + (sha256 + (base32 + "1cjxgh41r8k6j029yxs8msp3z6lcnpm16g5pvckk35kc7zhfpykn")))) + (build-system cmake-build-system) + (inputs + `(("blas" ,openblas))) + (arguments + `(#:tests? #f ;no tests + #:configure-flags `("-DSHARED=ON" + ,(string-append "-DGKLIB_PATH=" (getcwd) + "/metis-" ,version "/GKlib")))) + (home-page "http://glaros.dtc.umn.edu/gkhome/metis/metis/overview") + (synopsis "Graph partitioning and fill-reducing matrix ordering library") + (description + "METIS is a set of serial programs for partitioning graphs, partitioning +finite element meshes, and producing fill-reducing orderings for sparse +matrices. The algorithms implemented in METIS are based on the multilevel +recursive-bisection, multilevel k-way, and multi-constraint partitioning +schemes.") + (license license:asl2.0))) ;As of version 5.0.3 + (define-public p4est (package (name "p4est") |