Skip to content
Snippets Groups Projects

Missing cuda/nccl modules

Merged Nicolas Richart requested to merge missing-modules into main
2 files
+ 2
3
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 16
6
@@ -25,14 +25,18 @@ for c in "core_compilers" "compilers"; do
echo "${_specs}"
if [ "x${_specs}" != "x" ]; then
${STACK_LOCATION}/spack/bin/spack spec \
${STACK_LOCATION}/spack/bin/spack \
--color always \
spec \
--install-status \
--namespaces \
--long \
--types \
${_specs}
${STACK_LOCATION}/spack/bin/spack spec \
${STACK_LOCATION}/spack/bin/spack \
--color always \
spec \
--install-status \
--namespaces \
--long \
@@ -40,8 +44,10 @@ for c in "core_compilers" "compilers"; do
--json \
${_specs} > compilers_spec.json
${STACK_LOCATION}/spack/bin/spack install \
--log-file ${MOUNT_POINT}/spack-install-${c}.xml \
${STACK_LOCATION}/spack/bin/spack \
--color always \
install \
--log-file ${CI_PROJECT_DIR}/spack-install-${c}.xml \
--log-format junit \
--fail-fast \
--show-log-on-error \
@@ -50,7 +56,9 @@ for c in "core_compilers" "compilers"; do
hashes=$(jq -Mr '.spec.nodes | map("/\(.hash)") | join(" ")' compilers_spec.json)
echo "Adding packages to buildcache"
${STACK_LOCATION}/spack/bin/spack buildcache create \
${STACK_LOCATION}/spack/bin/spack \
--color always \
buildcache create \
--update-index \
--key EDC904DCE3D2E84E \
${MOUNT_POINT}/buildcache ${hashes}
@@ -63,7 +71,9 @@ for c in "core_compilers" "compilers"; do
# echo " - ${location}/compiler/latest/linux"
# echo " - ${location}/Linux_x86_64/2024/compilers"
${STACK_LOCATION}/spack/bin/spack compiler find \
${STACK_LOCATION}/spack/bin/spack \
--color always \
compiler find \
--scope system \
${location} \
${location}/compiler/latest \
Loading