Building the HWRF code
The HWRF system is composed of several components, and there is a top-level makefile that will build all of these components.
Get the source code
- Begin by checking out your working branch of the code from the repository
Checking out the code - Go to the source directory in your branch
cd myproject/sorc
Compile
- Using the default compiler for your platform (intel for x86, xlf for power)
make - Enable debug mode for a component (e.g., WRF)
make OPTIONS="-d WRF" - Using a different compiler (e.g., PGI on x86). Note: Older versions of HWRF supported the PGI compiler, but more recent versions can only be built using Intel.
make OPTIONS="-c PGI"
Additional information about the various components can be found in the community release documentation: