me
/
guix
Archived
1
0
Fork 0

gnu: petsc: Add input superlu.

* gnu/packages/maths.scm (petsc): Configure with superlu support.
master
Eric Bavier 2014-05-02 14:11:37 -05:00
parent 183e44ae44
commit f258212df5
1 changed files with 7 additions and 1 deletions

View File

@ -389,6 +389,7 @@ ASCII text files using Gmsh's own scripting language.")
(inputs (inputs
`(("gfortran" ,gfortran-4.8) `(("gfortran" ,gfortran-4.8)
("lapack" ,lapack) ("lapack" ,lapack)
("superlu" ,superlu)
;; leaving out hdf5 and fftw, as petsc expects them to be built with mpi ;; 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 ;; leaving out opengl, as configuration seems to only be for mac
)) ))
@ -397,7 +398,12 @@ ASCII text files using Gmsh's own scripting language.")
#:parallel-build? #f #:parallel-build? #f
#:configure-flags #:configure-flags
`("--with-mpi=0" `("--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 #:phases
(alist-replace (alist-replace
'configure 'configure