-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiler warnings #73
Comments
@pjpegion may I ask if you can take a look at the warning message? We were asked to remove the warnings before we can deliver the code to NCO. Thanks |
@pjpegion May I ask if you have time to take a look at this issue? Thanks |
I will take a look |
I do not know who put the logic is to truncate a real8 to real4, so I don't know what the best solution is. Any recommendations? I would just to integer(iseed,4), but this was explicitly not done. |
@pjpegion Please take a look at these changes: master...DusanJovic-NOAA:stochastic_physics:no_warn I changed all integer constants that are outside the default integer range to be integer(8), and I also removed unused function (see second commit). I'm running regression test now to confirm that results are bit-identical to the current baselines. |
@DusanJovic-NOAA that change make total sense to me. Thanks for figuring it out. |
Currently compiler warnings are suppressed when this repo is compiled as a sub-module in the ufs-weather-model, which is not allowed by NCO (see ufs-community/ufs-weather-model#1984). The following warnings must be fixed before this code is implemented in production:
The text was updated successfully, but these errors were encountered: