emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#28221: closed ([PATCH 2/2] gnu: Add pt-scotch32)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#28221: closed ([PATCH 2/2] gnu: Add pt-scotch32)
Date: Thu, 31 Aug 2017 10:28:03 +0000

Your message dated Thu, 31 Aug 2017 12:27:25 +0200
with message-id <address@hidden>
and subject line Re: [bug#28221] [PATCH 2/2] gnu: Add pt-scotch32
has caused the debbugs.gnu.org bug report #28221,
regarding [PATCH 2/2] gnu: Add pt-scotch32
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
28221: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28221
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH 2/2] gnu: Add pt-scotch32 Date: Thu, 24 Aug 2017 15:56:45 +0100
*gnu/packages/maths.scm: Add pt-scotch32
---
 gnu/packages/maths.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index bc0ffb09a..f228518b0 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -2007,6 +2007,30 @@ YACC = bison -pscotchyy -y -b y
             (lambda _ (zero? (system* "make" "ptcheck"))))))))
     (synopsis "Programs and libraries for graph algorithms (with MPI)")))
 
+(define-public pt-scotch32
+  (package (inherit scotch32)
+    (name "pt-scotch32")
+    (propagated-inputs
+     `(("openmpi" ,openmpi)))           ;Headers include MPI headers
+    (arguments
+     (substitute-keyword-arguments (package-arguments scotch)
+       ((#:phases scotch-phases)
+        `(modify-phases ,scotch-phases
+           (replace
+            'build
+            (lambda _
+              (and
+               (zero? (system* "make"
+                               (format #f "-j~a" (parallel-job-count))
+                               "ptscotch" "ptesmumps"))
+               ;; Install the serial metis compatibility library
+               (zero? (system* "make" "-C" "libscotchmetis" "install")))))
+           (replace
+            'check
+            (lambda _ (zero? (system* "make" "ptcheck"))))))))
+    (synopsis
+"Programs and libraries for graph algorithms (with MPI and 32-bit integers)")))
+
 (define-public metis
   (package
     (name "metis")
-- 
2.13.0




--- End Message ---
--- Begin Message --- Subject: Re: [bug#28221] [PATCH 2/2] gnu: Add pt-scotch32 Date: Thu, 31 Aug 2017 12:27:25 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
Paul Garlick <address@hidden> skribis:

> *gnu/packages/maths.scm: Add pt-scotch32

Applied, thanks!

Ludo'.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]