During code review, several instances of outfld were found where the size of the first dimension of the field inupt (second argument) did not match the size declared in the third argument. This leads to incorrect diagnostic output for all chunks where ncol /= pcols, a situation which occurs on almost every task for the workhorse NorESM experiments.
What are the steps to reproduce the bug?
Read the code
What CAM-Nor tag were you using?
cam_cesm2_1_rel_05-Nor_v1.0.5
What machine were you running CAM (or NorESM) on?
Betzy, Other (please explain below)
What compiler were you using?
Intel, Other (please specify below)
Path to a case directory, if applicable
No response
Will you be addressing this bug yourself?
Yes
Extra info
This problem is independent of platform or compiler.
What happened?
During code review, several instances of
outfld
were found where the size of the first dimension of thefield
inupt (second argument) did not match the size declared in the third argument. This leads to incorrect diagnostic output for all chunks wherencol /= pcols
, a situation which occurs on almost every task for the workhorse NorESM experiments.What are the steps to reproduce the bug?
Read the code
What CAM-Nor tag were you using?
cam_cesm2_1_rel_05-Nor_v1.0.5
What machine were you running CAM (or NorESM) on?
Betzy, Other (please explain below)
What compiler were you using?
Intel, Other (please specify below)
Path to a case directory, if applicable
No response
Will you be addressing this bug yourself?
Yes
Extra info
This problem is independent of platform or compiler.