diff --git a/standalone/Makefile b/standalone/Makefile index ca273b0de6..0a1fe9c9e8 100644 --- a/standalone/Makefile +++ b/standalone/Makefile @@ -91,7 +91,7 @@ MOISTURE_OBJ = \ #.PHONY: all -default: fire +default: fire.exe fire_ros.exe moisture: moisture.exe moisture.exe: $(MAKEFILE) libesmf_time.a $(MOISTURE_OBJ) @@ -107,17 +107,9 @@ fuel_interp_test: fuel_interp_test.exe fuel_interp_test.exe: $(MAKEFILE) $(FUEL_INTERP_OBJ) $(FC) $(FCFLAGS) -o fuel_interp_test.exe $(FUEL_INTERP_OBJ) -all: fire init - atm: atm.exe cd $(WRF)/test/em_fire; rm -f atm.exe; ln -s ../../standalone/atm.exe atm.exe -fire: fire.exe - cd $(WRF)/test/em_fire; rm -f fire.exe; ln -s ../../standalone/fire.exe fire.exe - -init: init.exe - cd $(WRF)/test/em_fire; rm -f init.exe; ln -s ../../standalone/init.exe init.exe - atm.exe: $(MAKEFILE) atm.o $(FIRE_OBJ) $(FC) $(FCFLAGS) -o atm.exe fire.o $(FIRE_OBJ) $(LDFLAGS) @@ -195,7 +187,7 @@ module_fr_sfire_driver.o: $(MAKEFILE) \ sfire_id.inc \ module_domain.o \ module_configure.o \ - module_fr_sfire_phys.o \ + module_fr_sfire_phys.o \ module_fr_sfire_model.o \ module_fr_sfire_atm.o \ module_fr_sfire_util.o diff --git a/standalone/README.txt b/standalone/README.txt index 4970b98689..779b9e2d8a 100644 --- a/standalone/README.txt +++ b/standalone/README.txt @@ -2,15 +2,27 @@ This directory contains SFIRE (the fire component of wrf-fire) test driver. It builds the fire executable from the files sources WRF-SFIRE, files generated in a WRF-SFIRE build, and the files in this directory. -How to build and test: +How to build standalone: -1. build WRF-SFIRE as usual: cd ..; ./configure; compile em_fire -2. back here: cd standalone +1. build WRF-SFIRE as usual: cd ..; ./configure; compile em_fire (not required for make fire_ros.exe) +2. go back here: cd standalone 3. Select compiler: ln -s make.inc.ifort make.inc or one of the others or make your own -4. Build fire.exe: make -5. Create atmospheric forcing: cd test/em_fire/hill; ideal.exe; wrf.exe -6. link atmospheric forcing: ln -s the_wrfout_just_created fire_input.nc -7. Fun the standalone: ../fire.exe +4. make or make .exe + +All standalone executables should be run in the simulation directory where wrf.exe runs. +They use the inputs available to wrf.exe such as namelist.input and namelist.fire, etc. + +fire.exe is the complete fire model running with atmosphere from WRF-SFIRE output. To use: + +1. Create atmospheric forcing: cd test/em_fire/hill; ideal.exe; wrf.exe +2. link atmospheric forcing: ln -s the_wrfout_just_created fire_input.nc +3. Run the standalone in the simulation directoryt: /standalone/fire.exe + +fire_ros.exe calls the fuels and rate of spread (ROS) subsystem. To use: +1. Run the standalone in the simulation directory: /standalone/fire_ros.ex + This will create Matlab file fuels.m. Follow the directions to use it in Matlab at + https://wiki.openwfm.org/wiki/How_to_diagnose_fuel_properties_in_WRF-SFIRE + Files: