NorESMhub / CAM

Community Atmosphere Model including CAM6-Nor branches
1 stars 20 forks source link

Some outfld calls have a ncol / pcols mismatch #112

Closed gold2718 closed 7 months ago

gold2718 commented 7 months ago

What happened?

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.

gold2718 commented 7 months ago

fixed by #119