Add support for geos-gcm to spack-stack (add mepo, geos-gcm-env; update esmf/mapl variants)#953
Merged
climbfuji merged 84 commits intoJCSDA:developfrom Jan 18, 2024
Merged
Conversation
3 tasks
…eature/geos_gcm_dependencies
mathomp4
reviewed
Jan 17, 2024
| # also: ... extdata2g segfault UFS? | ||
| version: ['2.40.3'] | ||
| variants: ~shared ~extdata2g ~pflogger | ||
| variants: +shared +pflogger ~f2py |
Collaborator
There was a problem hiding this comment.
Just a note that I think these are all the defaults of mapl. But probably good to keep them explicit until people get used to it. :)
mathomp4
approved these changes
Jan 17, 2024
Collaborator
Author
|
Thanks for the review @mathomp4 . Now I have to figure out the CI build failures (pflogger on ubuntu with intel, esmf static on macOS). |
4 tasks
46d609d to
5e26435
Compare
AlexanderRichert-NOAA
approved these changes
Jan 18, 2024
ulmononian
approved these changes
Jan 18, 2024
…eature/geos_gcm_dependencies
…eature/geos_gcm_dependencies
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR updates the spack submodule pointer for the changes described in JCSDA/spack#372: add package
mepoand meta-packagegeos-gcm-env. The PR also re-enables the shared variant foresmf, see additional information below as to why that is. Finally, it addsgeos-gcm-envtoskylab-devandunified-dev.Update 2024-01-17:
mpivariant forpfloggerat least on the Ubuntu AWS ParallelCluster systems for the reasons described in Installation issue: pflogger: MPI is picked up and enabled when variant is set to false spack/spack#42137 (see also Should pflogger have an option for enabling/disabling MPI Goddard-Fortran-Ecosystem/pFlogger#106).Additional information
maplmodule for now. However, to facilitate a future switch to spack-stackmapl, we update themaplconfig accordingly.esmfandmaplare ... interesting. Ifesmfis static, thenmaplneeds to be static. Ifesmfis shared, thenmaplneeds to be shared. Violate these requirements and you'll be hit withdouble-free corruptionsegmentation faults when an executable unwinds its stack upon exit. See Add mepo and geos-gcm-env spack#372 and Possible missing MPI_Type_free in ESMCI_VMKernel? esmf-org/esmf#209 for more information.esmfto support its sharedmapl, and there is really no reason why we should restrict theesmfbuild to static only because of the UFS. If the UFS requires a staticesmf, but its build system uses the shared version when both are available, then the UFS needs to be fixed (not spack-stack trimmed down to staticesmf).Testing
geos-gcm-envon macOS with apple-clang, on AWS ParallelCluster with intel and gnu, and on Discover with intel and gnugeos-gcm(branchgeos-cf) on Discover and ran a one-day c12 end-to-end experiment (thanks to @mathomp4 for all his help)Applications affected
GEOS and UFS applications (the latter because
esmfis now also available as shared library)Systems affected
All
Dependencies
Issue(s) addressed
Finally! Resolves #242
Checklist