mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: petsc: Add input superlu.
* gnu/packages/maths.scm (petsc): Configure with superlu support.
This commit is contained in:
parent
183e44ae44
commit
f258212df5
1 changed files with 7 additions and 1 deletions
|
@ -389,6 +389,7 @@ (define-public petsc
|
|||
(inputs
|
||||
`(("gfortran" ,gfortran-4.8)
|
||||
("lapack" ,lapack)
|
||||
("superlu" ,superlu)
|
||||
;; leaving out hdf5 and fftw, as petsc expects them to be built with mpi
|
||||
;; leaving out opengl, as configuration seems to only be for mac
|
||||
))
|
||||
|
@ -397,7 +398,12 @@ (define-public petsc
|
|||
#:parallel-build? #f
|
||||
#:configure-flags
|
||||
`("--with-mpi=0"
|
||||
"--with-openmp=1")
|
||||
"--with-openmp=1"
|
||||
"--with-superlu=1"
|
||||
,(string-append "--with-superlu-include="
|
||||
(assoc-ref %build-inputs "superlu") "/include")
|
||||
,(string-append "--with-superlu-lib="
|
||||
(assoc-ref %build-inputs "superlu") "/lib/libsuperlu.a"))
|
||||
#:phases
|
||||
(alist-replace
|
||||
'configure
|
||||
|
|
Loading…
Reference in a new issue