@@ -178,6 +178,9 @@ Set the following environment variables:
178178export NETCDF=/user-environment/env/default
179179export HDF5=/user-environment/env/default
180180export PNETCDF=$WRFDEPS /view
181+ export JASPERLIB=$WRFDEPS /view/lib64
182+ export JASPERINC=$WRFDEPS /view/include
183+
181184export WRF_EM_CORE=1
182185export WRF_NMM_CORE=0
183186export WRF_DA_CORE=0
@@ -189,9 +192,6 @@ export NETCDF4=1
189192export WRFIO_NCD_LARGE_FILE_SUPPORT=1
190193export WRFIO_NCD_NO_LARGE_FILE_SUPPORT=0
191194
192- export JASPERLIB=$WRFDEPS /view/lib64
193- export JASPERINC=$WRFDEPS /view/include
194-
195195export CC=mpicc
196196export FC=mpifort
197197export CXX=mpic++
@@ -212,7 +212,7 @@ The CRYOWRF repository includes a copy of WRF v4.2.1, that has been modified to
212212export SNOWLIBS=$WRFROOT /CRYOWRF/snpack_for_wrf
213213cd $WRFROOT /CRYOWRF/WRF
214214./clean -a
215- # [choose option 35 ][nesting: choose option 1] when prompted by configure
215+ # [choose option 34 ][nesting: choose option 1] when prompted by configure
216216./configure
217217```
218218
@@ -265,12 +265,19 @@ build completed: Thu 10 Jul 2025 05:17:41 PM CEST
265265
266266### Step 4: build WPS
267267
268- Using the same environment configured
268+ Using the same environment as above
269+
270+ ``` bash
271+ export WRFDEPS=$WRFROOT /dependencies
272+
273+ export NETCDF=/user-environment/env/default
274+ export HDF5=/user-environment/env/default
275+ export PNETCDF=$WRFDEPS /view
276+ export JASPERLIB=$WRFDEPS /view/lib64
277+ export JASPERINC=$WRFDEPS /view/include
269278
270- ```
271279cd $WRFROOT /CRYOWRF/WPS-4.2
272- # choose option 2
273- ./configure
280+ ./configure # choose option 1
274281```
275282
276283Update ` configure.wps ` as follows:
@@ -293,13 +300,6 @@ Then compile:
293300./compile &> log_compile
294301```
295302
296- The compilation output is captured in ` log_compile ` .
297- On success, the log should have the message ` Executables successfully built ` :
298-
299- ``` console
300- $ tail -n14 log_compile
301- ```
302-
303303### Running CRYOWRF
304304
305305Add the following to your SBATCH job script:
0 commit comments