You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WARNING: in principle _all_ easystack files should go into EESSI/software-layer, not in EESSI/software-layer-scripts. Easystack files are only added in EESSI/software-layer-scripts by exception, for example when the (re)deployment of the software has to be done synchronously with a change in EESSI/software-layer-scripts.
2
+
3
+
Here, we list past deployments for which this was the case (and why):
4
+
5
+
[PR#59](https://github.com/EESSI/software-layer-scripts/pull/59): modified the prefix in which `install_cuda_and_libraries.sh` installs the CUDA toolkit within `host_injections`. Also, updated the Lmod SitePackage.lua to print an informative message in case the CUDA Toolkit is found in the old location. This requires synchronous deployment of new CUDA and cuDNN installations in the software layer, because the symlinks from these installations should be redirected to the new prefix in `host_injections`.
# we don't care about the target compute capability nor the CPU microarchitecture.
136
+
# Our hooks are aware of this and therefore expect CUDA to be available under
137
+
# something like EESSI_SITE_SOFTWARE_PATH, but then with the CPU micro-architecture
138
+
# stripped
139
+
# This sed command will capture everything from the EESSI_SITE_SOFTWARE_PATH up until
140
+
# the EESSI_VERSION in a capture group. It will the replace that with the content
141
+
# of the capture group and then have the EESSI_CPU_FAMILY appended
142
+
# Thus EESSI_SITE_CPU_FAMILY_PATH is then something like /cvmfs/software.eessi.io/host_injections/x86_64
143
+
EESSI_SITE_CPU_FAMILY_PATH=$(echo "$EESSI_SITE_SOFTWARE_PATH"| sed 's|\(.*\)'"$EESSI_VERSION"/software/"$EESSI_OS_TYPE"/"$EESSI_SOFTWARE_SUBDIR"'|\1'"$EESSI_CPU_FAMILY"'|')
0 commit comments