Fixing OpenMP in WRF-Fire in WRF4.0+
Revision as of 16:50, 26 April 2019 by Jmandel (talk | contribs) (Jmandel moved page Fixing OpenMP in WRF-Fire to Fixing OpenMP in WRF-Fire in WRF4.0+)
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
- d54ccd6a protecting HALO by OMP MASTER and OMP BARRIER
- This fixed the crashes 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.