gnu: petsc-complex-mpi: Setup MPI for tests.
* gnu/packages/maths.scm (petsc-complex-mpi)[arguments]: Add 'mpi-setup phase.master
parent
5c48519204
commit
e586c6faf3
|
@ -1845,7 +1845,11 @@ scientific applications modeled by partial differential equations.")
|
||||||
``("--with-mpiexec=mpirun"
|
``("--with-mpiexec=mpirun"
|
||||||
,(string-append "--with-mpi-dir="
|
,(string-append "--with-mpi-dir="
|
||||||
(assoc-ref %build-inputs "openmpi"))
|
(assoc-ref %build-inputs "openmpi"))
|
||||||
,@(delete "--with-mpi=0" ,cf)))))
|
,@(delete "--with-mpi=0" ,cf)))
|
||||||
|
((#:phases phases)
|
||||||
|
`(modify-phases ,phases
|
||||||
|
(add-before 'configure 'mpi-setup
|
||||||
|
,%openmpi-setup)))))
|
||||||
(synopsis "Library to solve PDEs (with complex scalars and MPI support)")))
|
(synopsis "Library to solve PDEs (with complex scalars and MPI support)")))
|
||||||
|
|
||||||
(define-public python-petsc4py
|
(define-public python-petsc4py
|
||||||
|
|
Reference in New Issue