25.12.2012 Views

WRF ARW User's Guide - MMM - UCAR

WRF ARW User's Guide - MMM - UCAR

WRF ARW User's Guide - MMM - UCAR

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

WPS<br />

To get around portability issues, the NCEP GRIB libraries, w3 and g2, have been<br />

included in the WPS distribution. The original versions of these libraries are available for<br />

download from NCEP at http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2/. The specific<br />

tar files to download are g2lib and w3lib. Because the ungrib program requires modules<br />

from these files, they are not suitable for usage with a traditional library option during the<br />

link stage of the build.<br />

Required Compilers and Scripting Languages<br />

The WPS requires the same Fortran and C compilers as were used to build the <strong>WRF</strong><br />

model, since the WPS executables link to <strong>WRF</strong>'s I/O API libraries. After executing the<br />

./configure command in the WPS directory, a list of supported compilers on the<br />

current system architecture are presented.<br />

WPS Installation Steps<br />

• Download the WPSV3.TAR.gz file and unpack it at the same directory level as<br />

<strong>WRF</strong>V3, as shown below.<br />

> ls<br />

-rw-r--r-- 1 563863 WPS.TAR.gz<br />

drwxr-xr-x 18 4096 <strong>WRF</strong>V3<br />

> gzip -d WPSV3.TAR.gz<br />

> tar xf WPSV3.TAR<br />

> ls<br />

drwxr-xr-x 7 4096 WPS<br />

-rw-r--r-- 1 3491840 WPSV3.TAR<br />

drwxr-xr-x 18 4096 <strong>WRF</strong>V3<br />

• At this point, a listing of the current working directory should at least include the<br />

directories <strong>WRF</strong>V3 and WPS. First, compile <strong>WRF</strong> (see the instructions for<br />

installing <strong>WRF</strong>). Then, after the <strong>WRF</strong> executables are generated, change to the<br />

WPS directory and issue the configure command followed by the compile<br />

command as below.<br />

> cd WPS<br />

> ./configure<br />

o Choose one of the configure options<br />

> ./compile >& compile.output<br />

• After issuing the compile command, a listing of the current working directory<br />

should reveal symbolic links to executables for each of the three WPS programs:<br />

geogrid.exe, ungrib.exe, and metgrid.exe. If any of these links do not exist, check<br />

the compilation output in compile.output to see what went wrong.<br />

<strong>WRF</strong>-<strong>ARW</strong> V3: User’s <strong>Guide</strong> 3-6

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!