Difference between revisions of "Running WRF-SFIRE with real data in the WRFx system"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | + | ==Environment== | |
+ | |||
+ | ===Requirements=== | ||
* General requirements: | * General requirements: | ||
** C-shell | ** C-shell | ||
Line 12: | Line 14: | ||
** JasPer compression library | ** JasPer compression library | ||
− | Set environtment | + | See also https://www2.mmm.ucar.edu/wrf/users/prepare_for_compilation.html. |
+ | |||
+ | ===Set environtment=== | ||
setenv NETCDF /where-netcdf-is | setenv NETCDF /where-netcdf-is | ||
setenv JASPERLIB /where-jasper-lib-is | setenv JASPERLIB /where-jasper-lib-is | ||
Line 18: | Line 22: | ||
setenv WRFIO_NCD_LARGE_FILE_SUPPORT 1 | setenv WRFIO_NCD_LARGE_FILE_SUPPORT 1 | ||
− | + | ==WRF-SFIRE installation== | |
− | |||
− | |||
− | WRF-SFIRE installation | ||
git clone https://github.com/openwfm/wrf-fire | git clone https://github.com/openwfm/wrf-fire | ||
cd wrf-fire/wrfv2_fire | cd wrf-fire/wrfv2_fire |
Revision as of 17:33, 16 March 2020
Environment
Requirements
- General requirements:
- C-shell
- Traditional UNIX utilities: zip, tar, make, etc.
- WRF-SFIRE requirements:
- Fortran and C compilers (Intel recomended)
- MPI libraries (same compiler)
- NetCDF libraries (same compiler)
- WPS requirements:
- zlib compression library (zlib)
- PNG reference library (libpng)
- JasPer compression library
See also https://www2.mmm.ucar.edu/wrf/users/prepare_for_compilation.html.
Set environtment
setenv NETCDF /where-netcdf-is setenv JASPERLIB /where-jasper-lib-is setenv JASPERINC /where-jasper-include-is setenv WRFIO_NCD_LARGE_FILE_SUPPORT 1
WRF-SFIRE installation
git clone https://github.com/openwfm/wrf-fire cd wrf-fire/wrfv2_fire ./configure
Options 7 (intel dmpar) and 1 (simple nesting) if available
./compile em_real >& compile_em_real.log & grep Error compile_em_real.log
If fails: ./clean -a, ./configure, add -nostdinc in CPP flag, and repeat compilation
./compile em_fire >& compile_em_fire.log & grep Error compile_em_fire.log cd ../WPS ./configure
Option?
./compile >& compile_wps.log grep Error compile_wps.log