diff options
| author | Lars Bilke <lars.bilke@ufz.de> | 2025-08-14 12:36:39 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-10 15:39:04 +0100 |
| commit | cc0f3ff18b38bfb3c49a8d2c7fb9634e2e62610b (patch) | |
| tree | fbb361dcb0e976bddf8546dc7e0928307045c839 /gnu | |
| parent | c3813ce9c8112ec29394fb03e4cfed667437c2e8 (diff) | |
gnu: Add ogs-petsc
* gnu/packages/geo.scm (ogs-petsc): New variable.
Change-Id: Idc3d426f14ed3e5ecc141ac2956f3dbcb34dd88a
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/geo.scm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 0d939e2d024..c38c8f30e0f 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm | |||
| @@ -126,6 +126,7 @@ | |||
| 126 | #:use-module (gnu packages lua) | 126 | #:use-module (gnu packages lua) |
| 127 | #:use-module (gnu packages machine-learning) | 127 | #:use-module (gnu packages machine-learning) |
| 128 | #:use-module (gnu packages maths) | 128 | #:use-module (gnu packages maths) |
| 129 | #:use-module (gnu packages mpi) | ||
| 129 | #:use-module (gnu packages multiprecision) | 130 | #:use-module (gnu packages multiprecision) |
| 130 | #:use-module (gnu packages ncurses) | 131 | #:use-module (gnu packages ncurses) |
| 131 | #:use-module (gnu packages ninja) | 132 | #:use-module (gnu packages ninja) |
| @@ -970,6 +971,25 @@ currently CO2 sequestration, geothermal energy, water resources management, | |||
| 970 | hydrology and waste deposition.") | 971 | hydrology and waste deposition.") |
| 971 | (properties '((tunable? . #t))) | 972 | (properties '((tunable? . #t))) |
| 972 | (license license:bsd-3))) | 973 | (license license:bsd-3))) |
| 974 | |||
| 975 | (define-public ogs-petsc | ||
| 976 | (package | ||
| 977 | (inherit ogs-serial) | ||
| 978 | (name "ogs-petsc") | ||
| 979 | (inputs (modify-inputs (package-inputs ogs-serial) | ||
| 980 | (prepend openmpi petsc-openmpi) | ||
| 981 | (replace "hdf5" hdf5-parallel-openmpi) | ||
| 982 | (replace "netcdf-cxx4" netcdf-cxx4-parallel-openmpi))) | ||
| 983 | (native-inputs (modify-inputs (package-native-inputs ogs-serial) | ||
| 984 | (prepend pkg-config))) | ||
| 985 | (arguments | ||
| 986 | (substitute-keyword-arguments (package-arguments ogs-serial) | ||
| 987 | ((#:configure-flags flags) | ||
| 988 | `(cons* "-DOGS_USE_PETSC=ON" "-DCMAKE_C_COMPILER=mpicc" | ||
| 989 | "-DCMAKE_CXX_COMPILER=mpic++" | ||
| 990 | ,flags)))) | ||
| 991 | (synopsis "OpenGeoSys with PETSc (parallel processing) support"))) | ||
| 992 | |||
| 973 | (define-public proj | 993 | (define-public proj |
| 974 | (package | 994 | (package |
| 975 | (name "proj") | 995 | (name "proj") |
