Skip to content

Commit b2ac758

Browse files
committed
tweak with Samuels suggestions
1 parent 2b163c3 commit b2ac758

File tree

1 file changed

+15
-15
lines changed
  • docs/build-install/applications

1 file changed

+15
-15
lines changed

docs/build-install/applications/wrf.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@ Set the following environment variables:
178178
export NETCDF=/user-environment/env/default
179179
export HDF5=/user-environment/env/default
180180
export PNETCDF=$WRFDEPS/view
181+
export JASPERLIB=$WRFDEPS/view/lib64
182+
export JASPERINC=$WRFDEPS/view/include
183+
181184
export WRF_EM_CORE=1
182185
export WRF_NMM_CORE=0
183186
export WRF_DA_CORE=0
@@ -189,9 +192,6 @@ export NETCDF4=1
189192
export WRFIO_NCD_LARGE_FILE_SUPPORT=1
190193
export WRFIO_NCD_NO_LARGE_FILE_SUPPORT=0
191194

192-
export JASPERLIB=$WRFDEPS/view/lib64
193-
export JASPERINC=$WRFDEPS/view/include
194-
195195
export CC=mpicc
196196
export FC=mpifort
197197
export CXX=mpic++
@@ -212,7 +212,7 @@ The CRYOWRF repository includes a copy of WRF v4.2.1, that has been modified to
212212
export SNOWLIBS=$WRFROOT/CRYOWRF/snpack_for_wrf
213213
cd $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-
```
271279
cd $WRFROOT/CRYOWRF/WPS-4.2
272-
# choose option 2
273-
./configure
280+
./configure # choose option 1
274281
```
275282

276283
Update `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

305305
Add the following to your SBATCH job script:

0 commit comments

Comments
 (0)