Difference between revisions of "How to run WRF-SFIRE"

From openwfm
Jump to navigation Jump to search
Line 20: Line 20:
  
 
==Works with==
 
==Works with==
 +
 +
===June 2010===
 +
*WRF-Fire {{commit|0c084a8e4efeda74c67f62e79393dcec3b21e2d5|Jun 12 2010}} based on WRF 3.2
 +
*NETCDF 4.1.1
 +
* Linux x64 gfortran/gcc 4.4
 +
* Mac OS X 10.6 gfortran/gcc 4.3 (from [http://www.macports.org Mac Ports])
  
 
===January 2010===
 
===January 2010===
Commit aa4ddf0997 Nov 15 2009 works with NetCDF 4, MPI 2, and
+
WRF-Fire {{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
 
* 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
 
* 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.4 on Linux Gentoo 5 64bit
 
* gfortran/gcc 4.3.0 on Mac OS X Snow Leopard
 
* gfortran/gcc 4.3.0 on Mac OS X Snow Leopard
 +
  
 
[[Category:Howtos|Run WRF-Fire]]
 
[[Category:Howtos|Run WRF-Fire]]
 
[[Category:WRF-Fire]]
 
[[Category:WRF-Fire]]

Revision as of 01:53, 16 June 2010

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

June 2010

  • WRF-Fire based on WRF 3.2
  • NETCDF 4.1.1
  • Linux x64 gfortran/gcc 4.4
  • Mac OS X 10.6 gfortran/gcc 4.3 (from Mac Ports)

January 2010

WRF-Fire 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