mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add pnetcdf.
* gnu/packages/maths.scm (pnetcdf): New variable. Change-Id: I419161be82cd45585187abfd1e63a23feac73d59 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
ed21dd9f84
commit
26d1b6b3c9
1 changed files with 31 additions and 0 deletions
|
@ -2350,6 +2350,37 @@ Together, the interface, library, and format support the creation, access, and
|
||||||
sharing of scientific data.")
|
sharing of scientific data.")
|
||||||
(license (license:x11-style "file://COPYRIGHT"))))
|
(license (license:x11-style "file://COPYRIGHT"))))
|
||||||
|
|
||||||
|
(define-public pnetcdf
|
||||||
|
(package
|
||||||
|
(name "pnetcdf")
|
||||||
|
(version "1.13.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append
|
||||||
|
"https://parallel-netcdf.github.io/Release/pnetcdf-"
|
||||||
|
version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"14f4nbcnw80y59cl0kjpxqqfaxzzd62kixnhb6ihp6aigb3z385b"))))
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
(arguments
|
||||||
|
(list #:configure-flags
|
||||||
|
#~(list "--enable-shared"
|
||||||
|
(string-append "--with-mpi=" #$(this-package-input "openmpi")))
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'build 'mpi-setup
|
||||||
|
#$%openmpi-setup))))
|
||||||
|
(inputs (list openmpi))
|
||||||
|
(native-inputs (list m4))
|
||||||
|
(home-page "https://parallel-netcdf.github.io/")
|
||||||
|
(synopsis "Parallel I/O Library for NetCDF File Access")
|
||||||
|
(description "PnetCDF is a high-performance parallel I/O library for accessing
|
||||||
|
Unidata's NetCDF, files in classic formats, specifically the formats of CDF-1, 2, and
|
||||||
|
5.")
|
||||||
|
(license (license:x11-style "file://COPYRIGHT"))))
|
||||||
|
|
||||||
(define-public netcdf-parallel-openmpi
|
(define-public netcdf-parallel-openmpi
|
||||||
(package (inherit netcdf)
|
(package (inherit netcdf)
|
||||||
(name "netcdf-parallel-openmpi")
|
(name "netcdf-parallel-openmpi")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue