From mboxrd@z Thu Jan 1 00:00:00 1970 From: ericbavier@openmailbox.org Subject: [PATCH 09/14] gnu: Add METIS. Date: Sat, 27 Jun 2015 22:45:46 -0500 Message-ID: <1435463151-32099-10-git-send-email-ericbavier@openmailbox.org> References: <1435463151-32099-1-git-send-email-ericbavier@openmailbox.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z93Wi-0001FB-VY for guix-devel@gnu.org; Sat, 27 Jun 2015 23:45:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z93We-0003jP-Gu for guix-devel@gnu.org; Sat, 27 Jun 2015 23:45:04 -0400 Received: from smtp22.openmailbox.org ([62.4.1.56]:35142) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z93We-0003iZ-Bl for guix-devel@gnu.org; Sat, 27 Jun 2015 23:45:00 -0400 In-Reply-To: <1435463151-32099-1-git-send-email-ericbavier@openmailbox.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org Cc: Eric Bavier From: Eric Bavier * gnu/packages/maths.scm (metis): New variable. --- gnu/packages/maths.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 3852311..bc13fd5 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -928,6 +928,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") -- 2.2.1