summaryrefslogtreecommitdiff
path: root/gnu/packages/algebra.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/algebra.scm')
-rw-r--r--gnu/packages/algebra.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index 8d0552de3c..42384ecd82 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -1881,3 +1881,20 @@ and not by the available RAM.")
;; 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."))))