@@ -80,18 +80,18 @@ local archdetect_accel = archdetect_accel()
8080-- eessi_cpu_family is derived from the archdetect match, e.g., x86_64
8181local eessi_cpu_family = archdetect :match (" ([^/]+)" )
8282local eessi_software_subdir = archdetect
83- -- eessi_eprefix is the base location of the compat layer, e.g., /cvmfs/software.eessi.io/versions/2023.06 /compat/linux/x86_64
83+ -- eessi_eprefix is the base location of the compat layer, e.g., /cvmfs/software.eessi.io/versions/<EESSI_VERSION> /compat/linux/x86_64
8484local eessi_eprefix = pathJoin (eessi_prefix , " compat" , eessi_os_type , eessi_cpu_family )
8585-- eessi_software_path is the location of the software installations, e.g.,
86- -- /cvmfs/software.eessi.io/versions/2023.06 /software/linux/x86_64/amd/zen3
86+ -- /cvmfs/software.eessi.io/versions/<EESSI_VERSION> /software/linux/x86_64/amd/zen3
8787local eessi_software_path = pathJoin (eessi_prefix , " software" , eessi_os_type , eessi_software_subdir )
8888local eessi_modules_subdir = pathJoin (" modules" , " all" )
8989-- eessi_module_path is the location of the _CPU_ module files, e.g.,
90- -- /cvmfs/software.eessi.io/versions/2023.06 /software/linux/x86_64/amd/zen3/modules/all
90+ -- /cvmfs/software.eessi.io/versions/<EESSI_VERSION> /software/linux/x86_64/amd/zen3/modules/all
9191local eessi_module_path = pathJoin (eessi_software_path , eessi_modules_subdir )
9292local eessi_site_software_path = string.gsub (eessi_software_path , " versions" , " host_injections" )
9393-- Site module path is the same as the EESSI one, but with `versions` changed to `host_injections`, e.g.,
94- -- /cvmfs/software.eessi.io/host_injections/2023.06 /software/linux/x86_64/amd/zen3/modules/all
94+ -- /cvmfs/software.eessi.io/host_injections/<EESSI_VERSION> /software/linux/x86_64/amd/zen3/modules/all
9595local eessi_site_module_path = pathJoin (eessi_site_software_path , eessi_modules_subdir )
9696setenv (" EPREFIX" , eessi_eprefix )
9797eessiDebug (" Setting EPREFIX to " .. eessi_eprefix )
@@ -134,10 +134,10 @@ if not (archdetect_accel == nil or archdetect_accel == '') then
134134 -- The CPU subdirectory of the accelerator installations is _usually_ the same as host CPU, but this can be overridden
135135 eessi_accel_software_subdir = os.getenv (" EESSI_ACCEL_SOFTWARE_SUBDIR_OVERRIDE" ) or eessi_software_subdir
136136 -- CPU location of the accelerator installations, e.g.,
137- -- /cvmfs/software.eessi.io/versions/2023.06 /software/linux/x86_64/amd/zen3
137+ -- /cvmfs/software.eessi.io/versions/<EESSI_VERSION> /software/linux/x86_64/amd/zen3
138138 eessi_accel_software_path = pathJoin (eessi_prefix , " software" , eessi_os_type , eessi_accel_software_subdir )
139139 -- location of the accelerator modules, e.g.,
140- -- /cvmfs/software.eessi.io/versions/2023.06 /software/linux/x86_64/amd/zen3/accel/nvidia/cc80/modules/all
140+ -- /cvmfs/software.eessi.io/versions/<EESSI_VERSION> /software/linux/x86_64/amd/zen3/accel/nvidia/cc80/modules/all
141141 eessi_module_path_accel = pathJoin (eessi_accel_software_path , archdetect_accel , eessi_modules_subdir )
142142 eessiDebug (" Checking if " .. eessi_module_path_accel .. " exists" )
143143 if isDir (eessi_module_path_accel ) then
0 commit comments