-
Notifications
You must be signed in to change notification settings - Fork 14
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
Update ESMF to support clang with gfortran and clang with flang (spack #48026); replace [email protected] with [email protected] #490
Conversation
…ang with gfortran and clang with flang
… feature/esmf_clang_flang
There was a problem hiding this 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).
Ok, fine with me. |
@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. |
There was a problem hiding this 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.
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).