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

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

[debbugs-tracker] bug#32818: closed ([PATCH] gnu: Add petsc-mumps-openmp


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#32818: closed ([PATCH] gnu: Add petsc-mumps-openmpi.)
Date: Thu, 04 Oct 2018 23:09:03 +0000

Your message dated Thu, 4 Oct 2018 19:08:15 -0400
with message-id <address@hidden>
and subject line Re: [bug#32818] [PATCH] gnu: petsc-openmpi: Configure with 
support for MUMPS solver.
has caused the debbugs.gnu.org bug report #32818,
regarding [PATCH] gnu: Add petsc-mumps-openmpi.
to be marked as done.

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


-- 
32818: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32818
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: Add petsc-mumps-openmpi. Date: Mon, 24 Sep 2018 11:32:44 +0100
* gnu/packages/maths.scm (petsc-mumps-openmpi): New variable.
---
 gnu/packages/maths.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 736bac1..b2fff54 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1724,6 +1724,48 @@ scientific applications modeled by partial differential 
equations.")
            ,@(delete "--with-mpi=0" ,cf)))))
     (synopsis "Library to solve PDEs (with complex scalars and MPI support)")))
 
+(define-public petsc-mumps-openmpi
+  (package (inherit petsc-openmpi)
+    (name "petsc-mumps-openmpi")
+    (inputs
+     `(("metis" ,metis)
+       ("mumps" ,mumps-openmpi)
+       ("scalapack" ,scalapack)
+       ("scotch" ,pt-scotch)
+       ,@(package-inputs petsc-openmpi)))
+    (arguments
+     (substitute-keyword-arguments (package-arguments petsc-openmpi)
+       ((#:configure-flags cf)
+        ``(,(string-append "--with-metis-include="
+                           (assoc-ref %build-inputs "metis") "/include")
+           ,(string-append "--with-metis-lib="
+                           (assoc-ref %build-inputs "metis") "/lib/"
+                           "libmetis.so")
+           ,(string-append "--with-mumps-include="
+                           (assoc-ref %build-inputs "mumps") "/include")
+           ,(string-append "--with-mumps-lib=["
+                           (assoc-ref %build-inputs "mumps") "/lib/"
+                           "libdmumps.a,"
+                           "libzmumps.a,"
+                           "libsmumps.a,"
+                           "libcmumps.a,"
+                           "libmumps_common.a,"
+                           "libpord.a]")
+           ,(string-append "--with-scalapack-lib="
+                           (assoc-ref %build-inputs "scalapack") "/lib/"
+                           "libscalapack.so")
+           ,(string-append "--with-ptscotch-include="
+                           (assoc-ref %build-inputs "scotch") "/include")
+           ,(string-append "--with-ptscotch-lib=["
+                           (assoc-ref %build-inputs "scotch") "/lib/"
+                           "libesmumps.a,"
+                           "libscotch.a,"
+                           "libscotcherr.a,"
+                           "libptesmumps.a,"
+                           "libptscotch.a,"
+                           "libptscotcherr.a]")
+           ,@,cf))))
+    (synopsis "Library to solve PDEs (with MUMPS and MPI support)")))
 
 (define-public python-kiwisolver
   (package
-- 
1.8.3.1




--- End Message ---
--- Begin Message --- Subject: Re: [bug#32818] [PATCH] gnu: petsc-openmpi: Configure with support for MUMPS solver. Date: Thu, 4 Oct 2018 19:08:15 -0400 User-agent: Mutt/1.10.1 (2018-07-13)
On Thu, Oct 04, 2018 at 02:53:16PM +0100, Paul Garlick wrote:
> Hi Guix,
> 
> Are there any comments on the revised patch? 
> 
> I  have re-checked that it builds successfully.  It does.

I pushed as 9e2aa70bad8c06cdf9a44065a31f12b3205e92e0. Thanks!

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

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