Skip to content

fix remapping to enable compilation on flang and amdflang - #1076

Closed
JorgeG94 wants to merge 2 commits into
NOAA-GFDL:dev/gfdlfrom
JorgeG94:flang_compile
Closed

fix remapping to enable compilation on flang and amdflang#1076
JorgeG94 wants to merge 2 commits into
NOAA-GFDL:dev/gfdlfrom
JorgeG94:flang_compile

Conversation

@JorgeG94

Copy link
Copy Markdown

A very simple fix to enable MOM6 to compile using flang known before as flang-new. This enables also MOM6 to be compiled with amdflang which will be our way to AMD GPUs. The fix is simple, flang does not like a type being called the same way as the variable, so I just added _.

@herrwang0

Copy link
Copy Markdown

There happens to be a pending PR from the main repo exactly on this issue. mom-ocean#1692

@JorgeG94

Copy link
Copy Markdown
Author

There happens to be a pending PR from the main repo exactly on this issue. mom-ocean#1692

Oh cool. Should that be done there or here? I can close this

@JorgeG94

Copy link
Copy Markdown
Author

There happens to be a pending PR from the main repo exactly on this issue. mom-ocean#1692

Oh cool. Should that be done there or here? I can close this

I ran the tests locally and they passed!

@Hallberg-NOAA

Copy link
Copy Markdown
Member

I am closing this PR because it deals with an issue that has already been addressed by mom-ocean#1692, which is now on the dev/gfdl branch of MOM6.

@JorgeG94
JorgeG94 deleted the flang_compile branch April 8, 2026 21:36
@JorgeG94

JorgeG94 commented Apr 8, 2026

Copy link
Copy Markdown
Author

thanks! great to see

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants