E3SM-Project / HOMMEXX

Clone of ACME for CMDV-SE project to convert HOMME to C++
11 stars 0 forks source link

Fix #275, a seg fault in prim_printstate. #282

Closed ambrad closed 6 years ago

ambrad commented 6 years ago

IEner_wet and other quantities computed in prim_energy_halftimes are not valid, causing repro_sum to fail. This commit moves the USE_KOKKOS_KERNELS ifndef outwards to turn off the diagnostic reductions based on these vars.