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

From openwfm
Jump to navigation Jump to search
Line 9: Line 9:
  
 
==Step by step directions==
 
==Step by step directions==
 
''The following text is a placeholder only. The direction come here in near future.''
 
  
 
* [[How to get WRF-Fire|Get WRF-Fire]] from the repository or a mirror.  
 
* [[How to get WRF-Fire|Get WRF-Fire]] from the repository or a mirror.  
* Read the [http://github.com/jbeezley/wrf-fire/blob/master/README.txt README.txt] file in the root directory, and follow the step-by-step directions there.
+
* '''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==
 
==Works with==

Revision as of 01:48, 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

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