Attention une mise à jour du service Gitlab va être effectuée le mardi 30 novembre entre 17h30 et 18h00. Cette mise à jour va générer une interruption du service dont nous ne maîtrisons pas complètement la durée mais qui ne devrait pas excéder quelques minutes. Cette mise à jour intermédiaire en version 14.0.12 nous permettra de rapidement pouvoir mettre à votre disposition une version plus récente.

Commit cd6c55dd authored by AGULLO Emmanuel's avatar AGULLO Emmanuel
Browse files

alya with gfortran-10 (needs --with-c-toolchain=openmi=gcc@10)

We had to remove the dependency on maphys as it currently
depends on pastix 6.0.3 which does not compile with gcc 10.

guix build alya --with-git-url=alya=$HOME/project/gitlab.com/bsc-alya/projects/alya-maphys/ --with-c-toolchain=openmpi=gcc@10
parent a11ed5b1
......@@ -9,7 +9,6 @@
#:use-module (guix git-download)
#:use-module (guix build-system cmake)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (inria mpi)
#:use-module (gnu packages)
#:use-module (gnu packages algebra)
#:use-module (gnu packages gcc)
......@@ -21,6 +20,19 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages fabric-management))
(define gfortran-10
;; (custom-gcc gcc-10 "gfortran" '("fortran")
;; (list (search-path-specification
;; (variable "CPATH")
;; (files '("include")))
;; (search-path-specification
;; (variable "LIBRARY_PATH")
;; (files '("lib" "lib64")))))
(package
(inherit gfortran)
(version (package-version gcc-10))
(source (package-source gcc-10))))
(define-public alya
(package
(name "alya")
......@@ -46,12 +58,12 @@ propagation, etc.")
(base32
"0hwl1j171hmax0sfpk3hvn7rsw4z6qi03vsdkvmbgfw4bffjcjya"))))
(arguments
'(#:configure-flags '("-DWITH_MAPHYS=ON")))
'(#:configure-flags '("-DWITH_MAPHYS=OFF")))
(build-system cmake-build-system)
(inputs `(("openmpi" ,openmpi)
("ssh" ,openssh)
("maphys" ,maphys)
;; ("maphys" ,maphys)
("openblas" ,openblas)))
(native-inputs `(("gfortran" ,gfortran)
(native-inputs `(("gfortran" ,gfortran-10)
("pkg-config" ,pkg-config)))
(license #f)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment