mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: netcdf-parallel-openmpi: Enable pnetcdf support.
* gnu/packages/maths.scm (netcdf-parallel-openmpi) [arguments]: Enable pnetcdf support. Change-Id: I7f3fc6abdb262be86840ea3f68bb6416a0ab1fad Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
26d1b6b3c9
commit
a227a6efb5
1 changed files with 3 additions and 0 deletions
|
@ -2386,6 +2386,7 @@ (define-public netcdf-parallel-openmpi
|
||||||
(name "netcdf-parallel-openmpi")
|
(name "netcdf-parallel-openmpi")
|
||||||
(inputs
|
(inputs
|
||||||
`(("mpi" ,openmpi)
|
`(("mpi" ,openmpi)
|
||||||
|
("pnetcdf" ,pnetcdf)
|
||||||
,@(alist-replace "hdf5" (list hdf5-parallel-openmpi)
|
,@(alist-replace "hdf5" (list hdf5-parallel-openmpi)
|
||||||
(package-inputs netcdf))))
|
(package-inputs netcdf))))
|
||||||
;; TODO: Replace pkg-config references in nc-config with absolute references
|
;; TODO: Replace pkg-config references in nc-config with absolute references
|
||||||
|
@ -2394,6 +2395,8 @@ (define-public netcdf-parallel-openmpi
|
||||||
((#:configure-flags flags)
|
((#:configure-flags flags)
|
||||||
`(cons* "CC=mpicc" "CXX=mpicxx"
|
`(cons* "CC=mpicc" "CXX=mpicxx"
|
||||||
"--enable-parallel-tests"
|
"--enable-parallel-tests"
|
||||||
|
;; Enable support of CDF-1, 2 and 5 formats.
|
||||||
|
"--enable-pnetcdf"
|
||||||
;; NetCDF supports both parallel and shared library building
|
;; NetCDF supports both parallel and shared library building
|
||||||
;; See https://docs.unidata.ucar.edu/nug/current/getting_and_building_netcdf.html#build_parallel
|
;; See https://docs.unidata.ucar.edu/nug/current/getting_and_building_netcdf.html#build_parallel
|
||||||
"--enable-shared" "--with-pic"
|
"--enable-shared" "--with-pic"
|
||||||
|
|
Loading…
Reference in a new issue