aluminum: make network variants "sticky" (#40715)

This commit is contained in:
Brian Van Essen 2023-10-30 03:26:24 -07:00 committed by GitHub
parent a9e78dc7d8
commit 1586c8c786
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,12 +119,14 @@ class Aluminum(CMakePackage, CudaPackage, ROCmPackage):
"ofi_libfabric_plugin", "ofi_libfabric_plugin",
default=spack.platforms.cray.slingshot_network(), default=spack.platforms.cray.slingshot_network(),
when="+rccl", when="+rccl",
sticky=True,
description="Builds with support for OFI libfabric enhanced RCCL/NCCL communication lib", description="Builds with support for OFI libfabric enhanced RCCL/NCCL communication lib",
) )
variant( variant(
"ofi_libfabric_plugin", "ofi_libfabric_plugin",
default=spack.platforms.cray.slingshot_network(), default=spack.platforms.cray.slingshot_network(),
when="+nccl", when="+nccl",
sticky=True,
description="Builds with support for OFI libfabric enhanced RCCL/NCCL communication lib", description="Builds with support for OFI libfabric enhanced RCCL/NCCL communication lib",
) )