We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5bbef8 commit ddf2ee2Copy full SHA for ddf2ee2
1 file changed
create_lmodsitepackage.py
@@ -231,23 +231,6 @@
231
end
232
233
234
-local function using_eessi_accel_stack ()
235
- local modulepath = os.getenv("MODULEPATH") or ""
236
- local accel_stack_in_modulepath = false
237
-
238
- -- Check if we are using an EESSI version 2023 accelerator stack by checking if the $MODULEPATH contains
239
- -- a path that starts with /cvmfs/software.eessi.io and contains accel/nvidia/ccNN
240
- for path in string.gmatch(modulepath, '(.-):') do
241
- if string.sub(path, 1, 41) == "/cvmfs/software.eessi.io/versions/2023.06" then
242
- if string.find(path, "accel/nvidia/cc%d%d") then
243
- accel_stack_in_modulepath = true
244
- break
245
- end
246
247
248
- return accel_stack_in_modulepath
249
-end
250
251
hook.register("load", eessi_load_hook)
252
253
"""
0 commit comments