ESCOMP / CMEPS

NUOPC Community Mediator for Earth Prediction Systems
https://escomp.github.io/CMEPS/
24 stars 79 forks source link

gnu reports an error if this unused variable is not allocated #479

Closed jedwards4b closed 4 months ago

jedwards4b commented 4 months ago

Description of changes

Add an allocate for the rainc variable which is only use if add_gusts is enabled.

Specific notes

Contributors other than yourself, if any:

CMEPS Issues Fixed (include github issue #):

Are changes expected to change answers? bfb

Any User Interface Changes (namelist or namelist defaults changes)? No

Testing performed SMS_D_Ln9.f19_f19_mg17.F2000climo.derecho_gnu.cam-outfrq9s.

Please describe the tests along with the target model and machine(s) If possible, please also added hashes that were used in the testing

jedwards4b commented 4 months ago

@brian-eaton Here is the fix for the gnu compiler issue.