You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[CRYOWRF](https://gitlabext.wsl.ch/atmospheric-models/CRYOWRF) is a coupled atmosphere-snow cover model with WRF acting as the atmospheric core and SNOWPACK acting as snow cover model.
93
92
94
-
Building CRYOWRF is a two step process:
93
+
Building CRYOWRF is a three step process:
95
94
95
+
1. install the dependencies like [`parallel-netcdf`](https://packages.spack.io/package.html?name=parallel-netcdf)
96
96
1. build the SNOWPACK extension
97
-
2. Build the bundled WRF
97
+
1. Build the bundled WRF
98
98
99
99
!!! note
100
100
This workflow was developed in July 2025 using the most recent commit `8f83858f` of [CRYOWRF](https://gitlabext.wsl.ch/atmospheric-models/CRYOWRF) (commited in August 2023).
101
101
102
-
The code does not appear to be regularly updated, so we expect that it will slowly become more difficult to build as time passes.
102
+
It isn't very easy to install, and we have tried to streamline the process as much as possible, so take your time and follow the instructions closely.
103
103
104
104
!!! warning "Eiger only"
105
105
This guide is for building on [Eiger][ref-cluster-eiger], which is an x86-based system.
106
106
107
107
Building on the Grace-Hopper clusters like [Daint][ref-cluster-daint] is
108
108
109
-
We use [`prgenv-gnu/24.11:v2`][ref-uenv-prgenv-gnu][uenv][ref-uenv], which can be downloaded:
109
+
We use [`prgenv-gnu/24.11:v2`][ref-uenv-prgenv-gnu][uenv][ref-uenv].
110
+
111
+
### Step 1: install required packages
110
112
113
+
The first step is to create an empty directory where everything will be installed.
114
+
Here, we create it in your project's [Store][ref-storage-store] path, where the package can be accessed by all users in your project.
111
115
```bash
112
-
uenv image pull prgenv-gnu/24.11:v2
116
+
export WRFROOT=$STORE/wrf
117
+
mkdir $WRFROOT
118
+
cd$WRFROOT
113
119
```
114
120
115
-
### Step 0: install required packages
121
+
The following dependencies that are not provided by `prgenv-gnu` are required:
116
122
117
-
```
118
-
mkdir $STORE/wrf
119
-
cd $STORE/wrf
120
-
export WRFPATH=$STORE/wrf
121
-
```
123
+
*`parallel-netcdf`: used by WRF.
124
+
*`jasper~shared`: used by WPS (`~shared` will build static libraries, required by WPS).
125
+
*`zlib-ng` and `libpng`: used by WPS.
122
126
123
-
```
127
+
Then follow the steups in the [uenv-spack][ref-building-uenv-spack] guide to install `uenv-spack`, which will be used to install the dependencies
0 commit comments