diff options
author | Antero Mejr <antero@mailbox.org> | 2023-03-21 18:39:02 +0000 |
---|---|---|
committer | Eric Bavier <bavier@posteo.net> | 2023-03-21 23:03:20 -0500 |
commit | 31bed61b8278d3736cc29055d60db068a1160071 (patch) | |
tree | 79f49510f5f184357ec66db5d9dfaed33ba29f11 /gnu/packages/algebra.scm | |
parent | 15ee08ebf23ea6bc5be9fa157889419aa079076a (diff) | |
download | guix-31bed61b8278d3736cc29055d60db068a1160071.tar.gz |
gnu: Add parform.
* gnu/packages/algebra.scm (parform): New variable. Signed-off-by: Eric Bavier <bavier@posteo.net>
Diffstat (limited to 'gnu/packages/algebra.scm')
-rw-r--r-- | gnu/packages/algebra.scm | 17 |
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.")))) |