Race condition in zeroing Nyquist plane
lgarrison opened this issue · comments
The ky=k_nyquist
plane may not be zeroed correctly due to an OpenMP race condition:
Lines 537 to 542 in 82e268e
Loop variables for #pragma
-annotated loops are thread-private by default, but I am pretty sure this does not apply to nested loops. We could double-check this.
As to what this means, clearly the values weren't garbage or nans, as we would have noticed that in the AbacusSummit sims. Maybe they are recycled values, in which case the error would be mild. I need to remind myself how the block loading works.