From: "Franck Pérignon" <Franck.Perignon@univ-grenoble-alpes.fr>
To: 47613@debbugs.gnu.org
Subject: [bug#47613] [PATCH] add parmetis
Date: Tue, 6 Apr 2021 11:39:39 +0200 [thread overview]
Message-ID: <F54E8E4E-1750-4BB9-9676-8E70195ECDFF@univ-grenoble-alpes.fr> (raw)
[-- Attachment #1: Type: text/plain, Size: 144 bytes --]
Hello,
the attached file adds parmetis (http://glaros.dtc.umn.edu/gkhome/metis/parmetis/overview) in guix, saved in gnu/packages/math.scm
[-- Attachment #2: 0001-PATCH-Add-parmetis.patch --]
[-- Type: application/octet-stream, Size: 2918 bytes --]
From a5ab2390787b144c76e8a0838f60f841e37b37bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Franck=20P=C3=A9rignon?=
<Franck.Perignon@univ-grenoble-alpes.fr>
Date: Tue, 6 Apr 2021 09:07:23 +0000
Subject: [PATCH] [PATCH] Add parmetis
---
gnu/packages/maths.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 5cd11ec435..bdfa051db1 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -43,6 +43,7 @@
;;; Copyright © 2020 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2021 Gerd Heber <gerd.heber@gmail.com>
+;;; Copyright © 2021 Franck Pérignon <franck.perignon@univ-grenoble-alpes.fr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -3326,6 +3327,44 @@ recursive-bisection, multilevel k-way, and multi-constraint partitioning
schemes.")
(license license:asl2.0))) ;As of version 5.0.3
+(define-public parmetis
+ (package
+ (name "parmetis")
+ (version "4.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/"
+ "parmetis-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0pvfpvb36djvqlcc3lq7si0c5xpb2cqndjg8wvzg35ygnwqs5ngj"))))
+ (build-system cmake-build-system)
+ (native-inputs `(("gcc" ,gcc)
+ ("openmpi" ,openmpi)))
+ (arguments
+ `(#:tests? #f ;no tests
+ #:configure-flags `("-DSHARED=ON"
+ ,"-DCMAKE_C_COMPILER=mpicc"
+ ,"-DCMAKE_CXX_COMPILER=mpic++"
+ ,"-DCMAKE_VERBOSE_MAKEFILE=1"
+ ,(string-append "-DGKLIB_PATH=../parmetis-4.0.3/metis/GKlib")
+ ,(string-append "-DMETIS_PATH=../parmetis-4.0.3/metis" ))))
+ (home-page "http://glaros.dtc.umn.edu/gkhome/metis/parmetis/overview")
+ (synopsis "Parallel Graph Partitioning and Fill-reducing Matrix Ordering")
+ (description
+ "ParMETIS is an MPI-based parallel library that implements a variety of algorithms
+ for partitioning unstructured graphs, meshes, and for computing fill-reducing
+ orderings of sparse matrices. ParMETIS extends the functionality provided
+ by METIS and includes routines that are especially
+ suited for parallel AMR computations and large scale numerical simulations.
+ The algorithms implemented in ParMETIS are based on the parallel multilevel k-way
+ graph-partitioning, adaptive repartitioning, and parallel multi-constrained
+ partitioning schemes developed in our lab.")
+ (license license:asl2.0)))
+
+
+
(define-public p4est
(package
(name "p4est")
--
2.25.1
next reply other threads:[~2021-04-06 13:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-06 9:39 Franck Pérignon [this message]
2021-04-06 17:43 ` [bug#47613] [PATCH] add parmetis Leo Famulari
2021-04-07 14:02 ` Franck Pérignon
2021-04-08 7:16 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=F54E8E4E-1750-4BB9-9676-8E70195ECDFF@univ-grenoble-alpes.fr \
--to=franck.perignon@univ-grenoble-alpes.fr \
--cc=47613@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).