[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/15: gnu: Add p4est.
From: |
Eric Bavier |
Subject: |
09/15: gnu: Add p4est. |
Date: |
Tue, 30 Jun 2015 01:29:47 +0000 |
bavier pushed a commit to branch master
in repository guix.
commit 700ff22219c3edd5ecefb152d5bcdf25dc4c67c3
Author: Eric Bavier <address@hidden>
Date: Tue Jun 16 05:38:42 2015 -0500
gnu: Add p4est.
* gnu/packages/maths.scm (p4est, p4est-openmpi): New variables.
---
gnu/packages/maths.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 46 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 5954396..508c0e6 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -927,6 +927,52 @@ bio-chemistry.")
(lambda _ (zero? (system* "make" "ptcheck"))))))))
(synopsis "Programs and libraries for graph algorithms (with MPI)")))
+(define-public p4est
+ (package
+ (name "p4est")
+ (version "1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "http://p4est.github.io/release/p4est-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0faina2h5qsx3m2izbzaj9bbakma1krbbjmq43wrp1hcbyijflqb"))))
+ (build-system gnu-build-system)
+ (inputs
+ `(("fortran" ,gfortran)
+ ("blas" ,openblas)
+ ("lapack" ,lapack)
+ ("zlib" ,zlib)))
+ (arguments
+ `(#:configure-flags `(,(string-append "BLAS_LIBS=-L"
+ (assoc-ref %build-inputs "blas")
+ " -lopenblas")
+ ,(string-append "LAPACK_LIBS=-L"
+ (assoc-ref %build-inputs "lapack")
+ " -llapack"))))
+ (home-page "http://www.p4est.org")
+ (synopsis "Adaptive mesh refinement on forests of octrees")
+ (description
+ "The p4est software library enables the dynamic management of a
+collection of adaptive octrees, conveniently called a forest of octrees.
+p4est is designed to work in parallel and scales to hundreds of thousands of
+processor cores.")
+ (license license:gpl2+)))
+
+(define-public p4est-openmpi
+ (package (inherit p4est)
+ (name "p4est-openmpi")
+ (inputs
+ `(("mpi" ,openmpi)
+ ,@(package-inputs p4est)))
+ (arguments
+ (substitute-keyword-arguments (package-arguments p4est)
+ ((#:configure-flags cf)
+ ``("--enable-mpi" ,@,cf))))
+ (synopsis "Parallel adaptive mesh refinement on forests of octrees")))
+
(define-public gsegrafix
(package
(name "gsegrafix")
- branch master updated (e8df8f4 -> a17d456), Eric Bavier, 2015/06/29
- 01/15: gnu: python-mccabe: Fix license field., Eric Bavier, 2015/06/29
- 04/15: gnu: openmpi: Upgrade to 1.8.5., Eric Bavier, 2015/06/29
- 03/15: gnu: hwloc: Move numactl to inputs., Eric Bavier, 2015/06/29
- 06/15: gnu: scotch, pt-scotch: Use modify-phases., Eric Bavier, 2015/06/29
- 08/15: gnu: Add ScaLAPACK., Eric Bavier, 2015/06/29
- 07/15: gnu: scotch, pt-scotch: Build esmumps libraries., Eric Bavier, 2015/06/29
- 09/15: gnu: Add p4est.,
Eric Bavier <=
- 02/15: gnu: hwloc: Upgrade to 1.10.1., Eric Bavier, 2015/06/29
- 10/15: gnu: Add METIS., Eric Bavier, 2015/06/29
- 05/15: gnu: Update scotch to 6.0.4., Eric Bavier, 2015/06/29
- 11/15: gnu: Add MUMPS., Eric Bavier, 2015/06/29
- 13/15: gnu: Add arpack-ng-openmpi., Eric Bavier, 2015/06/29
- 12/15: gnu: petsc: Upgrade to 3.6.0., Eric Bavier, 2015/06/29
- 14/15: gnu: Add SLEPc., Eric Bavier, 2015/06/29
- 15/15: gnu: Add deal.II., Eric Bavier, 2015/06/29