geoschem / HEMCO

The Harmonized Emissions Component (HEMCO), developed by the GEOS-Chem Support Team.
https://hemco.readthedocs.io
Other
15 stars 31 forks source link

Fix nvhpc compiler error in CESM due to line length exceeded #240

Closed lizziel closed 9 months ago

lizziel commented 9 months ago

This update makes HEMCO compatible with the nvhpc compiler. The bug that prevents compiling with nvhpc was reported downstream from ESCOMP/CAM#871 and at HEMCO#233. The problem was originally reported-by: Jian Sun @sjsprecious. A bug fix will be included in HEMCO 3.7.1 (see @jimmielin's https://github.com/geoschem/HEMCO/pull/234) but we also need it in a 3.6.x version for use with GEOS-Chem 14.1.1 in CESM.

Name and Institution (Required)

Name: Lizzie Lundgren Institution: Harvard University

Describe the update

Use continuation marks for GC_72_EDGE_SIGMA variable specific to MODEL_WRF and MODEL_CESM.

This will make it compatible with Fortran spec, as nvhpc compiler will throw an error about this line of code.

Expected changes

Zero diff, pure reformatting of code lines that are used only in WRF and CESM.

Reference(s)

N/A

Related Github Issue(s) and PRs