The Weather Research and Forecasting (WRF) Model is a next-generation mesoscale numerical weather prediction system designed for both atmospheric research and operational forecasting applications. It features two dynamical cores, a data assimilation system, and a software architecture supporting parallel computation and system extensibility. – WRF

# 目录

## I. Prerequisites

### B. Compiling hdf5 & netcdf manually

• hdf5. Download hdf5 and unpack it to hdf5. Current versions are 1.8.20 and 1.10.1, and we choose the latest version.
• netcdf and netcdf-fortran. Download netcdf and netcdf-fortran, and unpack them. Current version is 4.6.0 for netcdf and 4.4.4 for netcdf-fortran till 5/2/2018.

## II. Compiling WRF

1. The latest release of WRF is 3.9.1.1 till now 5/2/2018. Download the WRF source code, and extract it to WRF
2. Configure WRF
After run ./configure, it will let us to choose which option to compile. Here we choose 35, which wrf will use mpi and openmp.

1. After configure finished, we then can run ./compile wrf to compile WRF. Note that if one choose INTEL compiler with mpi and openmp, one might need to edit configure.wrf by changing -openmp to -qopenmp, or it will fail to compile.
When compilation is done, you will find wrf.exe and other executable files under the main directory.


## III. Runnig Test of WRF

The test directory is WRF/run, and you can run a test job on a cluster… -_-…