E3SM-Project / E3SM

Energy Exascale Earth System Model source code. NOTE: use "maint" branches for your work. Head of master is not validated.
https://docs.e3sm.org/E3SM
Other
334 stars 334 forks source link

Remove `use mct_mod` to avoid build error with nvidia #6333

Closed ndkeen closed 1 month ago

ndkeen commented 1 month ago

Remove using mct_mod in a routine to avoid a build error with nvidia (as lsize was in both the module and routine using it)

Fixes https://github.com/E3SM-Project/E3SM/issues/6332 [bfb]

github-actions[bot] commented 1 month ago

PR Preview Action v1.4.7 :---: :rocket: Deployed preview to https://E3SM-Project.github.io/E3SM/pr-preview/pr-6333/ on branch gh-pages at 2024-04-05 02:59 UTC

ndkeen commented 1 month ago

Yep, you're right. So that doesn't make sense that compiler is ok with it at file level, but not at routine level. This one change does allow all developer tests to pass.