From 178b64a68e5a5b3e6067dee6872415959d83cfd2 Mon Sep 17 00:00:00 2001
From: Natasha Pavlovikj <npavlovikj2@unl.edu>
Date: Wed, 7 Feb 2024 17:53:18 -0600
Subject: [PATCH] Update instructions for WRFv4

---
 content/applications/app_specific/building_wrf.md | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/content/applications/app_specific/building_wrf.md b/content/applications/app_specific/building_wrf.md
index 99b5712a..eb456658 100644
--- a/content/applications/app_specific/building_wrf.md
+++ b/content/applications/app_specific/building_wrf.md
@@ -33,7 +33,7 @@ in real-time forecasting configurations at laboratories, universities, and compa
 The WRF/WPS compile process requires a signficant amount of resources. Builds **_must_** be 
 run as [Interactive Jobs]({{<relref "creating_an_interactive_job">}}) to avoid errors.
 To start an interactive job suitable for building WRF/WPS, run   
-`srun --nodes=1 --ntasks-per-node=4 --mem=8g --time=3:00:00 --qos=short --pty $SHELL`.
+`srun --nodes=1 --ntasks-per-node=4 --mem=10g --time=3:00:00 --qos=short --pty $SHELL`.
 {{% /notice %}}
 
 
@@ -324,6 +324,17 @@ If the build finishes successfully a message will be printed, and the four execu
 
 ### Building WRF version 4.x
 
+{{% notice tip %}}
+If you encounter compile errors with some WRFv4 versions, make sure you run compile
+in serial mode (i.e. ./compile -j 1 em_real). 
+{{% /notice %}}
+
+{{% notice note %}}
+Since WRFv4.4 the NoahMP code has been moved to an external repository.
+If downloading the source code from GitHub, **DO NOT** choose the releases 
+named "Source Code" because they do not include the mandatory NoahMP submodule.
+{{% /notice %}}
+
 The following example commands show how to compile WRF v4.x.
 
 {{% panel theme="info" header="Building WRFv4" %}}
@@ -528,7 +539,7 @@ NetCDF built with PnetCDF: no
 This build of WRF will use NETCDF4 with HDF5 compression
 *****************************************************************************
 
-[demo01@c0604.crane WRF]$ ./compile -j 4 em_real
+[demo01@c0604.crane WRF]$ ./compile -j 1 em_real
 Neither WRF_EM_CORE nor WRF_PLUS_CORE
         are explicitly specified in shell environment....
 copying Registry/Registry.EM to Registry/Registry
-- 
GitLab