Add icon recipe based on spack 1.0, nvhpc 25.7, upstream libfabric, new nccl, etc. #34
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.
This is the test recipe I've been using to have a newer NCCL available for testing with icon, and since it required a bit of ugliness I thought I'd open this as a reference for when the spack 1.0 transition comes officially for c2sm. I'm not looking to have this merged.
In terms of packages, this contains:
Ugliness:
concretizer:duplicates:strategy:fulloption to get the recipe to concretize (default isminimal, see the PR adding support to stackinator for some more details: Concretizer duplicates strategy eth-cscs/stackinator#269); I hope this is a bug that might be resolved in newer spack versions but it's not clear to me yet if that's the caseCC,CXX, andFCare set to nonexistent paths; for now, unset them and useMPICCet al.libnvToolsExt.solibrary in nvhpc 25.7 (build scripts set-lnvToolsExtcurrently); I think it's not needed but have not tested any profilingThe changes required to the custom packages in the
repodirectory were minimal. I used upstream spack-packages instead of the spack-c2sm package repo.In case anyone wants to use the environment I have a squashfs file in
/capstor/store/cscs/cscs/csstaff/simbergm/icon-spack-1.0-test.squashfs.