mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: elemental: Update to 0.87.7-0.6eb15a0.
The build of elemental is failed on GCC 7+: https://github.com/elemental/Elemental/issues/254 Fixed but not released yet in merge request: https://github.com/elemental/Elemental/pull/259 * gnu/packages/maths.scm (elemental): Update to 0.87.7-0.6eb15a0. Change-Id: I333f1de160489035f1a8875173abdd57c03ef777 Signed-off-by: Eric Bavier <bavier@posteo.net>
This commit is contained in:
parent
6c077dd304
commit
f653560990
1 changed files with 57 additions and 52 deletions
|
@ -7593,60 +7593,65 @@ (define-public elpa-openmpi
|
||||||
(synopsis "Eigenvalue solvers for symmetric matrices (with MPI support)")))
|
(synopsis "Eigenvalue solvers for symmetric matrices (with MPI support)")))
|
||||||
|
|
||||||
(define-public elemental
|
(define-public elemental
|
||||||
(package
|
;; The build of 0.87.7 is failed for a long time due to new version of GCC. The
|
||||||
(name "elemental")
|
;; latest commit has fixes.
|
||||||
(version "0.87.7")
|
;; See https://github.com/elemental/Elemental/issues/254
|
||||||
(source (origin
|
(let ((commit "6eb15a0da2a4998bf1cf971ae231b78e06d989d9")
|
||||||
(method git-fetch)
|
(revision "0"))
|
||||||
(uri (git-reference
|
(package
|
||||||
(url "https://github.com/elemental/Elemental")
|
(name "elemental")
|
||||||
(commit (string-append "v" version))))
|
(version (git-version "0.87.7" revision commit))
|
||||||
(file-name (git-file-name name version))
|
(source (origin
|
||||||
(sha256
|
(method git-fetch)
|
||||||
(base32
|
(uri (git-reference
|
||||||
"1687xpjjzig27y2pnqv7hv09smpijyfdpz7qjgmcxf4shfajlfkc"))))
|
(url "https://github.com/elemental/Elemental")
|
||||||
(build-system cmake-build-system)
|
(commit commit)))
|
||||||
(home-page "https://github.com/elemental/Elemental")
|
(file-name (git-file-name name version))
|
||||||
(native-inputs
|
(sha256
|
||||||
(list gfortran))
|
(base32
|
||||||
(inputs
|
"06xcs4ic60ndcf2hq19gr8yjwdsnphpcyhapab41rkw726z4lm7p"))))
|
||||||
`(("blas" ,openblas)
|
(build-system cmake-build-system)
|
||||||
("gfortran:lib" ,gfortran "lib")
|
(home-page "https://github.com/elemental/Elemental")
|
||||||
("gmp" ,gmp)
|
(native-inputs
|
||||||
("lapack" ,lapack)
|
(list gfortran))
|
||||||
("metis" ,metis)
|
(inputs
|
||||||
("mpc" ,mpc)
|
`(("blas" ,openblas)
|
||||||
("mpfr" ,mpfr)
|
("gfortran:lib" ,gfortran "lib")
|
||||||
("mpi" ,openmpi)
|
("gmp" ,gmp)
|
||||||
("qd" ,qd)))
|
("lapack" ,lapack)
|
||||||
(arguments
|
("metis" ,metis)
|
||||||
`(#:build-type "Release" ;default RelWithDebInfo not supported
|
("mpc" ,mpc)
|
||||||
#:configure-flags `("-DEL_DISABLE_PARMETIS:BOOL=YES"
|
("mpfr" ,mpfr)
|
||||||
"-DEL_AVOID_COMPLEX_MPI:BOOL=NO"
|
("mpi" ,openmpi)
|
||||||
"-DEL_CACHE_WARNINGS:BOOL=YES"
|
("qd" ,qd)))
|
||||||
"-DEL_TESTS:BOOL=YES"
|
(arguments
|
||||||
"-DCMAKE_INSTALL_LIBDIR=lib"
|
`(#:build-type "Release" ;default RelWithDebInfo not supported
|
||||||
"-DGFORTRAN_LIB=gfortran")
|
#:configure-flags `("-DEL_DISABLE_PARMETIS:BOOL=YES"
|
||||||
#:phases (modify-phases %standard-phases
|
"-DEL_AVOID_COMPLEX_MPI:BOOL=NO"
|
||||||
(add-before 'check 'mpi-setup
|
"-DEL_CACHE_WARNINGS:BOOL=YES"
|
||||||
,%openmpi-setup)
|
"-DEL_TESTS:BOOL=YES"
|
||||||
(add-before 'check 'setup-tests
|
"-DCMAKE_INSTALL_LIBDIR=lib"
|
||||||
(lambda _
|
"-DGFORTRAN_LIB=gfortran")
|
||||||
;; Parallelism is done at the MPI layer.
|
#:phases (modify-phases %standard-phases
|
||||||
(setenv "OMP_NUM_THREADS" "1")
|
(add-before 'check 'mpi-setup
|
||||||
#t))
|
,%openmpi-setup)
|
||||||
(add-after 'install 'remove-tests
|
(add-before 'check 'setup-tests
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda _
|
||||||
;; Tests are installed, with no easy configuration
|
;; Parallelism is done at the MPI layer.
|
||||||
;; switch to prevent this, so delete them.
|
(setenv "OMP_NUM_THREADS" "1")
|
||||||
(delete-file-recursively
|
#t))
|
||||||
(string-append (assoc-ref outputs "out") "/bin"))
|
(add-after 'install 'remove-tests
|
||||||
#t)))))
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(synopsis "Dense and sparse-direct linear algebra and optimization")
|
;; Tests are installed, with no easy configuration
|
||||||
(description "Elemental is a modern C++ library for distributed-memory
|
;; switch to prevent this, so delete them.
|
||||||
|
(delete-file-recursively
|
||||||
|
(string-append (assoc-ref outputs "out") "/bin"))
|
||||||
|
#t)))))
|
||||||
|
(synopsis "Dense and sparse-direct linear algebra and optimization")
|
||||||
|
(description "Elemental is a modern C++ library for distributed-memory
|
||||||
dense and sparse-direct linear algebra, conic optimization, and lattice
|
dense and sparse-direct linear algebra, conic optimization, and lattice
|
||||||
reduction.")
|
reduction.")
|
||||||
(license license:bsd-2)))
|
(license license:bsd-2))))
|
||||||
|
|
||||||
(define-public mcrl2
|
(define-public mcrl2
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue