guix-glicid/glicid/packages/maths.scm

65 lines
1.8 KiB
Scheme
Raw Normal View History

2021-11-29 18:21:25 +01:00
(define-module (glicid packages maths)
#:use-module (guix packages)
#:use-module (guix utils)
2022-02-28 16:22:26 +01:00
#:use-module ((gnu packages maths) #:prefix gnu:)
2021-11-29 18:21:25 +01:00
#:use-module (gnu packages commencement)
#:use-module (gnu packages mpi)
#:use-module (guix download)
2021-11-29 19:13:56 +01:00
#:use-module (guix git-download)
2021-11-30 13:32:33 +01:00
#:use-module (gnu packages)
2022-02-28 16:22:26 +01:00
#:use-module (glicid utils)
2021-11-29 18:21:25 +01:00
)
2022-02-28 16:22:26 +01:00
(define-public scalapack-upstream
2021-11-29 18:21:25 +01:00
(package
2022-02-28 16:22:26 +01:00
(inherit gnu:scalapack)
(name "scalapack-upstream")
2021-12-03 11:56:14 +01:00
(version "2.1.0-new-upstream")
(source
(origin
(method git-fetch)
(uri
(git-reference
2021-12-13 22:58:08 +01:00
(url "https://oauth2:glpat-RsX2GjsD2WrzXubiJeou@gitlab.univ-nantes.fr/CCIPL/legacy_code_mirror/scalapack.git")
2021-12-03 11:56:14 +01:00
(commit "myv2.0.2")
)
)
(file-name "scalapack-univ-myv2")
(patches (search-patches "scalapack-blacs-mpi-deprecations.patch"))
(sha256 (base32 "1ccic46psf2hl9wsyflvkn5rxg8k17q578m9mzimvm9brbggf0na" ))
)
)
2021-11-30 13:32:33 +01:00
(arguments
2021-12-03 11:56:14 +01:00
`(#:configure-flags `("-DBUILD_SHARED_LIBS:BOOL=YES")
#:phases (modify-phases %standard-phases
(add-before 'check 'mpi-setup
,%openmpi-setup
)
)
)
2021-11-29 19:13:56 +01:00
)
2021-11-29 18:21:25 +01:00
)
2021-12-03 11:56:14 +01:00
)
2022-02-28 16:22:26 +01:00
(define local:scalapack scalapack-upstream)
(define-public scalapack-latest (latest-version local:scalapack gnu:scalapack))
2021-11-29 18:21:25 +01:00
2022-02-28 16:22:26 +01:00
(define-public openblas-upstream-0.3.15
2021-11-30 16:19:40 +01:00
(package
2022-02-28 16:22:26 +01:00
(inherit gnu:openblas)
(name "openblas-upstream")
2021-11-30 16:19:40 +01:00
(version "0.3.15")
(source
2021-12-03 11:56:14 +01:00
(origin
(method url-fetch)
(uri (string-append "https://github.com/xianyi/OpenBLAS/releases/download/v" version "/OpenBLAS-" version ".tar.gz" ))
(sha256 (base32 "1gjbkrsh6n28hdp2ciyjigc8vg764d2r0jbzl63v753mjzn9va9h"))
)
)
2021-11-30 16:19:40 +01:00
)
)
2022-02-28 16:22:26 +01:00
(define local:openblas openblas-upstream-0.3.15)
(define-public scalapack-latest (latest-version local:openblas gnu:openblas))