gnu: Add parform.

* gnu/packages/algebra.scm (parform): New variable.

Signed-off-by: Eric Bavier <bavier@posteo.net>
This commit is contained in:
Antero Mejr 2023-03-21 18:39:02 +00:00 committed by Eric Bavier
parent 15ee08ebf2
commit 31bed61b82
No known key found for this signature in database
GPG key ID: BC45CA67E2F8D007

View file

@ -1881,3 +1881,20 @@ (define-public form
;; https://github.com/vermaseren/form/issues/426
(supported-systems '("x86_64-linux"))
(license license:gpl3+))))
(define-public parform
(package
(inherit form)
(name "parform")
(arguments
(substitute-keyword-arguments (package-arguments form)
((#:configure-flags flags)
#~(cons* "--enable-parform=yes" #$flags))
((#:phases phases)
#~(modify-phases #$phases
(add-before 'check 'mpi-setup
#$%openmpi-setup)))))
(inputs (list bash-minimal openmpi))
(description (string-append (package-description form)
" This package also includes
@code{parform}, a version of FORM parallelized using OpenMPI."))))