What happened?
There is a deterministic read beyond bounds in modal_aero::aero_model_gasaerexch due to passing in a qh2o sized ncol but the underlying newnuc in gasaerexch expects pcols sized arrays
What are the steps to reproduce the bug?
Observe answer differences if you change qh2o(state%ncol declaration to qh2o(pcols. These answer differences disappear if newnuc is commented out, isolating the root cause.
What CAM tag were you using?
cam6_4_187
What machine were you running CAM on?
CISL machine (e.g. derecho)
What compiler were you using?
Intel
Path to a case directory, if applicable
No response
Will you be addressing this bug yourself?
Yes
Extra info
No response
What happened?
There is a deterministic read beyond bounds in
modal_aero::aero_model_gasaerexchdue to passing in aqh2osizedncolbut the underlyingnewnucingasaerexchexpectspcolssized arraysWhat are the steps to reproduce the bug?
Observe answer differences if you change
qh2o(state%ncoldeclaration toqh2o(pcols. These answer differences disappear ifnewnucis commented out, isolating the root cause.What CAM tag were you using?
cam6_4_187
What machine were you running CAM on?
CISL machine (e.g. derecho)
What compiler were you using?
Intel
Path to a case directory, if applicable
No response
Will you be addressing this bug yourself?
Yes
Extra info
No response