fix WRF-CHEM errors for CCE build #2253
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix issues found when building WRF-CHEM with CCE compiler
TYPE: no impact
KEYWORDS: CCE,errors,module_optical_averaging.F,module_mosaic_addemiss.F,Cray
SOURCE: Miroslaw Andrejczuk (HPE)
DESCRIPTION OF CHANGES:
Problem:
There were few errors reported by Cray compiler when building WRF-CHEM code. In chem/module_optical_averaging.F comma after write statements triggered error when building, and for chem/module_mosaic_addemiss.F compiler complained that because subroutine mosaic_dust_gocartemis has an optional argument an interface to this routine is needed in module itself.
Solution:
Remove commas after write statements in module_optical_averaging.F. Move END MODULE module_mosaic_addemiss statement in the file to include subroutine mosaic_dust_gocartemis in the module definition.
ISSUE: For use when this PR closes an issue.
Fixes #2252
LIST OF MODIFIED FILES:
chem/module_mosaic_addemiss.F
chem/module_optical_averaging.F
TESTS CONDUCTED:
RELEASE NOTE: Include a stand-alone message suitable for the inclusion in the minor and annual releases. A publication citation is appropriate.