Skip to content
Snippets Groups Projects
Commit ca2b5043 authored by Nicolas Richart's avatar Nicolas Richart
Browse files

Lis of spec to mark as explicit

parent c7f6e575
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,24 @@ ${STACK_LOCATION}/spack/bin/spack \
--key ${GPG_KEY_ID} \
${MOUNT_POINT}/buildcache
echo "Checking ${STACK_CONFIG_PATH}/mark_explicit_${environment} for spec to mark explicit"
if [ -e ${STACK_CONFIG_PATH}/mark_explicit_${environment} ]
then
while read -r spec
do
echo "Mark ${spec} as explicit"
${STACK_LOCATION}/spack/bin/spack \
--color always -d \
-e ${environment} \
mark \
--explicit \
${spec}
done <<< $(cat ${STACK_CONFIG_PATH}/mark_explicit_${environment} )
fi
${STACK_LOCATION}/spack/bin/spack \
--color always \
-e ${environment} module \
lmod refresh --yes | tee spack-modules-${environment}-${stack}.log
-e ${environment} \
module lmod refresh \
--delete-tree \
--yes | tee spack-modules-${environment}-${stack}.log
cuda %gcc@13.2.0
nccl %gcc@13.2.0
py-numpy@1.26.4 %gcc@13.2.0 ^openblas threads=openmp
py-matplotlib %gcc@13.2.0 py-numpy@1.26.4 ^openblas threads=openmp
mark_explicit_kuma
\ No newline at end of file
mark_explicit_kuma
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment