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

Update ESMF to support clang with gfortran and clang with flang (spack #48026); replace [email protected] with [email protected] #490

Merged
merged 4 commits into from
Dec 16, 2024

Conversation

climbfuji
Copy link
Collaborator

@climbfuji climbfuji commented Dec 11, 2024

Description

So far, the ESMF package recipe in spack assumes that the spack compilers clang and apple-clang are using gfortran as the Fortran compiler. But with the latest improvements to the LLVM compilers, we need to also support clang with flang. See spack#48026 for more information and feedback from the package maintainers and spack developers if there's a better way (PR was reviewed and merged Dec 11, 2024).

Also add [email protected] (seems to be necessary for LLVM 19.1.4; regardless, both NEPTUNE and UFS need this version).

See JCSDA/spack-stack#1409 for the corresponding spack-stack PR (this PR has some unrelated changes = cleanup on Derecho and is therefore still in draft; however, ESMF works as expected in CI and my manual testing with LLVM 19.1.4 on my dev machine).

@climbfuji climbfuji self-assigned this Dec 11, 2024
@climbfuji climbfuji marked this pull request as ready for review December 13, 2024 03:32
Copy link
Collaborator

@theurich theurich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good. However, I think it would be good to wait with this PR until Monday (12/16/24) when we expect to have v8.8.0b10 tagged. This will be the feature frozen code tag for the official 8.8.0 release (expected by mid Jan. 2025).

@climbfuji
Copy link
Collaborator Author

Changes look good. However, I think it would be good to wait with this PR until Monday (12/16/24) when we expect to have v8.8.0b10 tagged. This will be the feature frozen code tag for the official 8.8.0 release (expected by mid Jan. 2025).

Ok, fine with me.

@theurich
Copy link
Collaborator

@climbfuji https://github.com/esmf-org/esmf/releases/tag/v8.8.0b10 is available. This is the feature frozen code for the upcoming official ESMF 8.8.0 release.

@climbfuji climbfuji changed the title Update ESMF to support clang with gfortran and clang with flang (spack #48026) and add [email protected] Update ESMF to support clang with gfortran and clang with flang (spack #48026) and add [email protected] Dec 16, 2024
@climbfuji climbfuji changed the title Update ESMF to support clang with gfortran and clang with flang (spack #48026) and add [email protected] Update ESMF to support clang with gfortran and clang with flang (spack #48026); replace [email protected] with [email protected] Dec 16, 2024
@climbfuji climbfuji requested a review from theurich December 16, 2024 17:10
Copy link
Collaborator

@theurich theurich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified commit hash. Looks good.

@climbfuji climbfuji merged commit c0dc357 into JCSDA:spack-stack-dev Dec 16, 2024
15 checks passed
@climbfuji climbfuji deleted the feature/esmf_clang_flang branch December 16, 2024 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants