How to run WRF-SFIRE
This Howto shows how to build WRF-Fire and run an ideal test case.
Prerequisites
The prerequisites are given by the needs of building WRF.
- NetCDF, must be built with the Fortran interface using the same compiler as used for WRF. Set the environment variables FC and F90 to your Fortran compiler. Use the --disable-netcdf4 option in configure.
- MPI (for a distributed memory build only), must be built with the Fortran interface using the same compiler as used for WRF. Make sure mpicc and mpif90 are on the search path.
Step by step directions
- Get WRF-Fire from the repository or a mirror.
- cd wrf-fire/WRFV3
- ./configure, choose nesting 1=basic.
- ./compile em_fire >& compile.log
- Search for Err in compile.log. If not found, all is well.
- cd test/em_fire/hill
- ./ideal.exe
- ./wrf.exe
Works with
January 2010
Commit aa4ddf0997 Nov 15 2009 works with NetCDF 4, MPI 2, and
- PGI Fortran 8.0 and gcc 4.3.4 on Linux Gentoo 5 64bit
- Intel Fortran 11 and gcc 4.4.1 on Fedora 11 64bit
- gfortran/gcc 4.3.4 on Linux Gentoo 5 64bit
- gfortran/gcc 4.3.0 on Mac OS X Snow Leopard