mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 06:36:37 -05:00
gnu: petsc: Link against OpenBLAS rather than LAPACK.
OpenBLAS performs better than LAPACK, the reference implementation. This is also consistent with the choice of BLAS/LAPACK implementations made in most other packages. * gnu/packages/maths.scm (petsc)[inputs]: Replace LAPACK by OPENBLAS. [arguments]: Pass "--with-openblas=1".
This commit is contained in:
parent
7c5d50f431
commit
c7a5c3e0bb
1 changed files with 2 additions and 1 deletions
|
@ -2417,7 +2417,7 @@ (define-public petsc
|
|||
`(("python" ,python-2)))
|
||||
(inputs
|
||||
`(("gfortran" ,gfortran)
|
||||
("lapack" ,lapack)
|
||||
("openblas" ,openblas)
|
||||
("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
|
||||
|
@ -2428,6 +2428,7 @@ (define-public petsc
|
|||
#:configure-flags
|
||||
`("--with-mpi=0"
|
||||
"--with-openmp=1"
|
||||
"--with-openblas=1"
|
||||
"--with-superlu=1")
|
||||
#:make-flags
|
||||
;; Honor (parallel-job-count) for build. Do not use --with-make-np,
|
||||
|
|
Loading…
Reference in a new issue