Fixing OpenMP in WRF-Fire in WRF4.0+

From openwfm
Revision as of 16:48, 26 April 2019 by Jmandel (talk | contribs) (Created page with "Category:WRF-Fire merge ==Description of the issue== The {{wrf-fire-merge-commit|e26f21f|fire model changes}} in WRF4.0 were done with MPI in mind only. The changes includ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description of the issue

The e26f21f fire model changes in WRF4.0 were done with MPI in mind only. The changes include replacement of the level set method and vertical log interpolation of horizontal wind, similar to what was done in 89a2e77b WRF-SFIRE in February 2011. The WRF 4.0 version produces inconsistent results with OpenMP parallelism only, compiled without MPI, and crashes when both OpenMP and MPI are used.

Progress

  • {{wrf-fire-merge-commit|d54ccd6a|protecting HALO by OMP MASTER and OMP BARRIER}
  • fixed the crash but inconsistencies remain, first seen in VAH and VF before the fire is ignited, in two_fires/wrfout_d01_2006-01-01_09:02:00. Tested with 1 thread vs 36 threads.