>> Monday, October 11, 2010
Yep, being in Computer Science, you might ask why I bother about compiling WRF (Weather Research and Forecast) model. But lately we are researching on enabling scientists to run small weather forecasts on their small scale workstations. With the improvements of Windows HPC, we decided to use Windows HPC as our platform and also use PGI as our compiler. I followed following steps and got WRF 3.2 compiled in April, 2010. This is just an aggregation of resources in to one place and please post your questions to respective mailing list. I'm no way a WRF or netCDF expert :D
- Download WRF 3.2 or higher from WRF web page. Unzip the tar file and it should create WRFV3 folder.
- Goto WRFV3/tools and edit either source_for_pgi_windows.bash or source_for_pgi_windows.csh depending on the shell you use. By default it will be bash shell. Include the path to netcdf installation. (More info can be found here)
- source the proper bash or csh script.
- Follow the instructions found in WRF online tutorial.
- Commands I used to compile WRF for real cases. But these options depends on the architecture, compiler you use, nesting options, etc.,
- ./configure (selected dm+par and basic option)
- ./compile em_real