[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/13: gnu: Add python-slepc4py.
From: |
Ludovic Courtès |
Subject: |
07/13: gnu: Add python-slepc4py. |
Date: |
Wed, 14 Nov 2018 15:35:49 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 6b5687d053a4d0211e6ded1a8d129d065c71430c
Author: Paul Garlick <address@hidden>
Date: Mon Nov 12 16:00:35 2018 +0000
gnu: Add python-slepc4py.
* gnu/packages/maths.scm (python-slepc4py): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/maths.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index e36a574..b1cddfd 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1974,6 +1974,43 @@ arising after the discretization of partial differential
equations.")
,@(alist-delete "petsc" (package-propagated-inputs slepc-openmpi))))
(synopsis "Scalable library for eigenproblems (with complex scalars and
MPI support)")))
+(define-public python-slepc4py
+ (package
+ (name "python-slepc4py")
+ (version "3.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "slepc4py" version))
+ (sha256
+ (base32
+ "02xr0vndgibgkz3rgprqk05n3mk5mpgqw550sr4681vcsgz4zvb7"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'pre-build
+ (lambda _
+ ;; Define path to PETSc installation.
+ (setenv "PETSC_DIR" (assoc-ref %build-inputs "petsc"))
+ ;; Define path to SLEPc installation.
+ (setenv "SLEPC_DIR" (assoc-ref %build-inputs "slepc"))
+ #t))
+ (add-before 'check 'mpi-setup
+ ,%openmpi-setup))))
+ (inputs
+ `(("python-numpy" ,python-numpy)
+ ("python-petsc4py" ,python-petsc4py)
+ ("slepc" ,slepc-openmpi)))
+ (home-page "https://bitbucket.org/slepc/slepc4py/")
+ (synopsis "Python bindings for SLEPc")
+ (description "SLEPc, the Scalable Library for Eigenvalue Problem
+Computations, is based on PETSc, the Portable, Extensible Toolkit for
+Scientific Computation. It employs the MPI standard for all
+message-passing communication. @code{slepc4py} provides Python
+bindings to almost all functions of SLEPc.")
+ (license license:bsd-3)))
+
(define-public mumps
(package
(name "mumps")
- branch master updated (e921993 -> ae0f1dd), Ludovic Courtès, 2018/11/14
- 08/13: gnu: Add python-fenics-dijitso., Ludovic Courtès, 2018/11/14
- 07/13: gnu: Add python-slepc4py.,
Ludovic Courtès <=
- 03/13: gnu: guix-daemon: Install 'guix-authenticate'., Ludovic Courtès, 2018/11/14
- 02/13: download: Access content-addressed mirrors over HTTPS., Ludovic Courtès, 2018/11/14
- 06/13: gnu: Add python-petsc4py., Ludovic Courtès, 2018/11/14
- 10/13: gnu: Add python-fenics-fiat., Ludovic Courtès, 2018/11/14
- 05/13: gnu: Add python-mpi4py., Ludovic Courtès, 2018/11/14
- 13/13: gnu: Add fenics., Ludovic Courtès, 2018/11/14
- 09/13: gnu: Add python-fenics-ufl., Ludovic Courtès, 2018/11/14
- 12/13: gnu: Add fenics-dolfin., Ludovic Courtès, 2018/11/14
- 01/13: download: Add Software Heritage as a content-addressed mirror., Ludovic Courtès, 2018/11/14
- 04/13: daemon: Install 'authenticate' script under LIBEXECDIR/guix., Ludovic Courtès, 2018/11/14