mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: arpack-ng-openmpi: Fix build.
* gnu/packages/maths.scm (arpack-ng-openmpi)[arguments]: Add 'set-test-environment phase. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
d2fe71b04d
commit
aa82260bc0
1 changed files with 11 additions and 1 deletions
|
@ -508,7 +508,17 @@ (define-public arpack-ng-openmpi
|
|||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments arpack-ng)
|
||||
((#:configure-flags _ '())
|
||||
''("--enable-mpi"))))
|
||||
''("--enable-mpi"))
|
||||
((#:phases phases '%standard-phases)
|
||||
`(modify-phases ,phases
|
||||
(add-before 'check 'set-test-environment
|
||||
(lambda _
|
||||
;; By default, running the test suite would fail because 'ssh'
|
||||
;; could not be found in $PATH. Define this variable to
|
||||
;; placate Open MPI without adding a dependency on OpenSSH (the
|
||||
;; agent isn't used anyway.)
|
||||
(setenv "OMPI_MCA_plm_rsh_agent" (which "cat"))
|
||||
#t))))))
|
||||
(synopsis "Fortran subroutines for solving eigenvalue problems with MPI")))
|
||||
|
||||
(define-public lapack
|
||||
|
|
Loading…
Reference in a new issue