mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: Add pt-scotch32.
* gnu/packages/maths.scm (pt-scotch32): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
1c39f3b877
commit
1c25a52c4a
1 changed files with 23 additions and 0 deletions
|
@ -2018,6 +2018,29 @@ (define-public pt-scotch
|
|||
(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")
|
||||
|
|
Loading…
Reference in a new issue