WRF ports

On this page, the results of my efforts to port the WRF model to other platforms and/or compilers are reported. This page presumes you already know how to compile and use WRF. The page is current as of released version 2.0.3.1 and was last revised on 3 July 2005. Comments, corrections and suggestions made to Robert Fovell are gratefully received.

You may need to right-click or option-click to download the linked files.

23 June 2005: added some notes for the FreeBSD port below
23 June 2005: added notes on compiling RIP4 and WRF2VIS5D with OSX xlf
3 July 2005: revised code fixing WRF2VIS5D and WRF2GrADS bugs posted
The old page for WRF version 2.0.2 is here

Updated notes for WRF version 2.0.3.1

WRF 2.0.3.1 for Mac OS X

Preamble

Procedure

Notes

WRF supporting programs for Mac OS X

WRF2GrADS:

RIP4

Here is my somewhat brain-dead procedure for getting RIP4 to work on OS X with xlf. This is a workaround for problems I was having with ripdp_wrf, probably because of the way I handled netcdf. It is not elegant, but I usually stop working on things like this once they start working, and it only has to be done once. It may not work for you. Indeed, you may only need the updated Makefile, which contains information obtained from E. Salathe and M. Han.

WRF2VIS5D

This one was very simple. I use these lines in the Makefile:

FC = xlf90
FCFLAGS = -g -C

You may also be interested in my revised module_wrf_to_v5d_util.F file, which addresses a number of issues. Modifications include:

WRF 2.0.3.1 for FreeBSD (new as of 23 June 2005)

I have also gotten WRF to run on a FreeBSD (x86) system, using the Intel ifort and GNU gcc compilers. (Intel does provide a version of their compiler for FreeBSD.) This is what I did to get it working, at least at the level I require. All information here pertains to the MPP version.

Page started 10 October 2004 by Robert Fovell

GoStats.com
Free Hit Counter