I got the following in an email from WRF:
Beginning 1200 UTC July 19, NCEP will upgrade GFS, as well as several output datasets provided on its ftp site. The updates, which include adding missing values to land fields (such as soil temperature, moisture and snow etc.), and changing the landsea mask field, will break the WRF model if you are not using an updated version of WPS.
…which I ignored. Then my WRF forecasts stopped working, so I upgraded to the new WRF/WPS.
I downloaded WRFV3.9.TAR.gz and WPSV3.9.0.1.TAR.gz to ORR2 and put them in directory WRFV3.9. I then followed instructions from my earlier post.
Prepare environment:
# Set Intel environment module purge . /share/apps/intelPS/composer_xe_2015.3.187/bin/compilervars.sh intel64 export PATH=/share/apps/mvapich2intel/bin:$PATH export DIR=/home/conor/LIBRARIES export CC=icc export CFLAGS='-O2 -fpic' export F77=ifort export FC=ifort export F90=ifort export FFLAGS='-O2 -fpic' export CXX=icpc export CPP='icc -E' export CXXCPP='icpc -E' export CXXFLAGS='-O2 -fpic' export CPPFLAGS=-I$DIR/zlib/include export PATH=$DIR/netcdf/bin:$PATH export NETCDF=$DIR/netcdf export LDFLAGS=-L$DIR/zlib/lib export JASPERINC=${DIR}/jasper/include export JASPERLIB=${DIR}/jasper/lib
Build WRF
It is important to compile WRFV3 before WPS as WPS makes use of the external I/O libraries in the WRFV3/external directory that are built when WRF is installed. Change into the WRF directory and build:
tar -xzf WRFV3.8.1.TAR.gz cd WRFV3 ./configure Option: 15. (dmpar) INTEL (ifort/icc) ./compile em_real >& log.compile
It takes a long time. It should produce the following executables:
[conor@orr2 WRFV3]$ ls -hl main/*.exe -rwxrwxr-x 1 conor conor 44M Jul 20 13:26 main/ndown.exe -rwxrwxr-x 1 conor conor 44M Jul 20 13:26 main/real.exe -rwxrwxr-x 1 conor conor 44M Jul 20 13:26 main/tc.exe -rwxrwxr-x 1 conor conor 51M Jul 20 13:24 main/wrf.exe
Build WPS
tar -xzf WPSV3.9.0.1.TAR.gz cd WPS ./configure 17. Linux x86_64, Intel compiler (serial) ./compile >& log.compile
If all goes well, you should get the following executables:
[conor@orr2 WPS]$ ls -hl *.exe lrwxrwxrwx 1 conor conor 23 Jul 20 13:36 geogrid.exe -> geogrid/src/geogrid.exe lrwxrwxrwx 1 conor conor 23 Jul 20 13:38 metgrid.exe -> metgrid/src/metgrid.exe lrwxrwxrwx 1 conor conor 21 Jul 20 13:37 ungrib.exe -> ungrib/src/ungrib.exe
I needed to download a few extra geog files to get it to work.
Test Cases
WPSV3.9.0.1/WRFV3.9 work for the January 2000 test case.
It also works for the Katrina 2005 test case, but interestingly not for the recommended time step=180. This gave a cfl error. I changed to 90s and it completed successfully.