We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b235c7c commit 93dae0dCopy full SHA for 93dae0d
create_lmodrc.py
@@ -33,8 +33,8 @@ def error(msg):
33
error("Prefix directory %s does not exist!" % prefix)
34
35
lmodrc_path = os.path.join(prefix, DOT_LMOD, 'lmodrc.lua')
36
-# Lmod itself doesn't care about compute capability so remove this duplication from
37
-# the install path (if it exists)
+# Lmod itself doesn't care about the accelerator subdir so remove this duplication from
+# the target path (if it exists)
38
accel_subdir = os.getenv("EESSI_ACCELERATOR_TARGET")
39
if accel_subdir:
40
lmodrc_path = lmodrc_path.replace("/accel/%s" % accel_subdir, '')
0 commit comments