diff options
author | Jean-Baptiste Volatier <jbv@pm.me> | 2021-11-12 14:24:05 +0000 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-11-16 15:16:44 +0200 |
commit | 546f8537aad3ac03fef43e036d3cab3abc943915 (patch) | |
tree | 1edc5c7e87b93c6490aa312be544c775f07ba80f /gnu/packages/maths.scm | |
parent | e9a5fb7ad96072cd46623c87909f3a724c2e209d (diff) | |
download | guix-546f8537aad3ac03fef43e036d3cab3abc943915.tar.gz guix-546f8537aad3ac03fef43e036d3cab3abc943915.zip |
gnu: Add julia-sundials-jull
* gnu/packages/julia-jll.scm (julia-sundials-jll): New variable.
* gnu/packages/maths.scm (sundials-julia): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/maths.scm')
-rw-r--r-- | gnu/packages/maths.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 5152fe6942..a6fe2b5f49 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -6159,6 +6159,31 @@ easily be incorporated into existing simulation codes.") ,%openmpi-setup))))) (synopsis "SUNDIALS with OpenMPI support"))) +(define-public sundials-julia + (package + (inherit sundials) + (name "sundials-julia") + (version "5.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/LLNL/sundials") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0nx4sqhmi126m14myzm7syv2053harav9snl0a247wnkcgs5rxrv")))) + (inputs + `(("lapack" ,lapack) + ,@(package-inputs sundials))) + (arguments + (substitute-keyword-arguments (package-arguments sundials) + ((#:configure-flags flags '()) + `(cons* "-DLAPACK_ENABLE:BOOL=ON" + ,flags)))) + (synopsis "SUNDIALS with lapack support as required by julia-sundials-jll"))) + (define-public combinatorial-blas (package (name "combinatorial-blas") |