Skip to content
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

MPAS Stand-alone does not compile #6133

Closed
mark-petersen opened this issue Jan 2, 2024 · 0 comments · Fixed by #6134
Closed

MPAS Stand-alone does not compile #6133

mark-petersen opened this issue Jan 2, 2024 · 0 comments · Fixed by #6134
Assignees

Comments

@mark-petersen
Copy link
Contributor

PR #5979 (merge commit 46b65c1) introduced two small bugs into the MPAS Standalone compile.

On compile:

cd components/mpas-ocean
make $COMPILER  OPENMP=true DEBUG=true
Makefile:1197: *** missing 'endif'.  Stop.

Once the endif is added to the makefile, it partially compiles and ends with:

mpas.F(15): error #6401: The attributes of this name conflict with those made accessible by a USE statement.   [CORELIST]
   type (core_type), pointer :: corelist => null()
--------------------------------^
@mark-petersen mark-petersen self-assigned this Jan 2, 2024
jonbob added a commit that referenced this issue Jan 9, 2024
…#6134)

Fix MPAS standalone compile issues

These two small changes allow MPAS components to compile in stand-alone
mode. It should not affect E3SM compile or simulations. The fixes are:
* A missing endif was added to the Makefile
* A redundant corelist declaration was removed from mpas.F because it
  was added to mpas_subdriver.F in PR Introduce MOAB coupler interfaces
  and update moab driver #5979, and the subdriver is used by mpas.F.
These fixes should work for ocean, sea ice, and MALI cores.

Fixes #6133
Fixes #6138

[BFB]
@jonbob jonbob closed this as completed in 7f7920b Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant