[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/27: gnu: elemental: Update to 0.87.7-0.6eb15a0.
From: |
guix-commits |
Subject: |
03/27: gnu: elemental: Update to 0.87.7-0.6eb15a0. |
Date: |
Sat, 18 Nov 2023 20:57:46 -0500 (EST) |
bavier pushed a commit to branch master
in repository guix.
commit f653560990e1704ca28133d761f0ff76755175f5
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Nov 5 14:56:20 2023 +0000
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>
---
gnu/packages/maths.scm | 109 ++++++++++++++++++++++++++-----------------------
1 file changed, 57 insertions(+), 52 deletions(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index ed1708c77b..6b9725bdcc 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -7593,60 +7593,65 @@ symmetric matrices.")
(synopsis "Eigenvalue solvers for symmetric matrices (with MPI support)")))
(define-public elemental
- (package
- (name "elemental")
- (version "0.87.7")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/elemental/Elemental")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1687xpjjzig27y2pnqv7hv09smpijyfdpz7qjgmcxf4shfajlfkc"))))
- (build-system cmake-build-system)
- (home-page "https://github.com/elemental/Elemental")
- (native-inputs
- (list gfortran))
- (inputs
- `(("blas" ,openblas)
- ("gfortran:lib" ,gfortran "lib")
- ("gmp" ,gmp)
- ("lapack" ,lapack)
- ("metis" ,metis)
- ("mpc" ,mpc)
- ("mpfr" ,mpfr)
- ("mpi" ,openmpi)
- ("qd" ,qd)))
- (arguments
- `(#:build-type "Release" ;default RelWithDebInfo not supported
- #:configure-flags `("-DEL_DISABLE_PARMETIS:BOOL=YES"
- "-DEL_AVOID_COMPLEX_MPI:BOOL=NO"
- "-DEL_CACHE_WARNINGS:BOOL=YES"
- "-DEL_TESTS:BOOL=YES"
- "-DCMAKE_INSTALL_LIBDIR=lib"
- "-DGFORTRAN_LIB=gfortran")
- #:phases (modify-phases %standard-phases
- (add-before 'check 'mpi-setup
- ,%openmpi-setup)
- (add-before 'check 'setup-tests
- (lambda _
- ;; Parallelism is done at the MPI layer.
- (setenv "OMP_NUM_THREADS" "1")
- #t))
- (add-after 'install 'remove-tests
- (lambda* (#:key outputs #:allow-other-keys)
- ;; Tests are installed, with no easy configuration
- ;; 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
+ ;; The build of 0.87.7 is failed for a long time due to new version of GCC.
The
+ ;; latest commit has fixes.
+ ;; See https://github.com/elemental/Elemental/issues/254
+ (let ((commit "6eb15a0da2a4998bf1cf971ae231b78e06d989d9")
+ (revision "0"))
+ (package
+ (name "elemental")
+ (version (git-version "0.87.7" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/elemental/Elemental")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "06xcs4ic60ndcf2hq19gr8yjwdsnphpcyhapab41rkw726z4lm7p"))))
+ (build-system cmake-build-system)
+ (home-page "https://github.com/elemental/Elemental")
+ (native-inputs
+ (list gfortran))
+ (inputs
+ `(("blas" ,openblas)
+ ("gfortran:lib" ,gfortran "lib")
+ ("gmp" ,gmp)
+ ("lapack" ,lapack)
+ ("metis" ,metis)
+ ("mpc" ,mpc)
+ ("mpfr" ,mpfr)
+ ("mpi" ,openmpi)
+ ("qd" ,qd)))
+ (arguments
+ `(#:build-type "Release" ;default RelWithDebInfo not supported
+ #:configure-flags `("-DEL_DISABLE_PARMETIS:BOOL=YES"
+ "-DEL_AVOID_COMPLEX_MPI:BOOL=NO"
+ "-DEL_CACHE_WARNINGS:BOOL=YES"
+ "-DEL_TESTS:BOOL=YES"
+ "-DCMAKE_INSTALL_LIBDIR=lib"
+ "-DGFORTRAN_LIB=gfortran")
+ #:phases (modify-phases %standard-phases
+ (add-before 'check 'mpi-setup
+ ,%openmpi-setup)
+ (add-before 'check 'setup-tests
+ (lambda _
+ ;; Parallelism is done at the MPI layer.
+ (setenv "OMP_NUM_THREADS" "1")
+ #t))
+ (add-after 'install 'remove-tests
+ (lambda* (#:key outputs #:allow-other-keys)
+ ;; Tests are installed, with no easy configuration
+ ;; 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
reduction.")
- (license license:bsd-2)))
+ (license license:bsd-2))))
(define-public mcrl2
(package
- branch master updated (2ab5e44924 -> b7abea0fd6), guix-commits, 2023/11/18
- 06/27: gnu: celestia: Update to 1.6.4., guix-commits, 2023/11/18
- 07/27: gnu: gpredict: Improve package style., guix-commits, 2023/11/18
- 08/27: gnu: libpasastro: Update to 1.4.1., guix-commits, 2023/11/18
- 09/27: gnu: python-asdf-3.0: Update to 3.0.1., guix-commits, 2023/11/18
- 01/27: gnu: qd: Use G-expressions., guix-commits, 2023/11/18
- 04/27: gnu: elemental: Remove input labels., guix-commits, 2023/11/18
- 03/27: gnu: elemental: Update to 0.87.7-0.6eb15a0.,
guix-commits <=
- 05/27: gnu: elemental: Update package style., guix-commits, 2023/11/18
- 13/27: gnu: python-fitsio: Update to 1.2.1., guix-commits, 2023/11/18
- 14/27: gnu: python-jplephem: Update to 2.20., guix-commits, 2023/11/18
- 15/27: gnu: python-pynbody: Update to 1.4.2., guix-commits, 2023/11/18
- 11/27: gnu: python-casa-formats-io: Update to 0.2.2., guix-commits, 2023/11/18
- 16/27: gnu: python-pynbody: Prepare for cross compilation., guix-commits, 2023/11/18
- 17/27: gnu: python-rad: Update to 0.18.0., guix-commits, 2023/11/18
- 18/27: gnu: python-roman-datamodels: Update to 0.18.0., guix-commits, 2023/11/18
- 19/27: gnu: python-sgp4: Update to 2.23., guix-commits, 2023/11/18
- 20/27: gnu: python-wiimatch: Update to 0.3.2., guix-commits, 2023/11/18