@@ -81,18 +81,18 @@ local archdetect_accel = archdetect_accel()
8181-- eessi_cpu_family is derived from the archdetect match, e.g., x86_64
8282local eessi_cpu_family = archdetect :match (" ([^/]+)" )
8383local eessi_software_subdir = archdetect
84- -- eessi_eprefix is the base location of the compat layer, e.g., /cvmfs/software.eessi.io/versions/2023.06 /compat/linux/x86_64
84+ -- eessi_eprefix is the base location of the compat layer, e.g., /cvmfs/software.eessi.io/versions/<EESSI_VERSION> /compat/linux/x86_64
8585local eessi_eprefix = pathJoin (eessi_prefix , " compat" , eessi_os_type , eessi_cpu_family )
8686-- eessi_software_path is the location of the software installations, e.g.,
87- -- /cvmfs/software.eessi.io/versions/2023.06 /software/linux/x86_64/amd/zen3
87+ -- /cvmfs/software.eessi.io/versions/<EESSI_VERSION> /software/linux/x86_64/amd/zen3
8888local eessi_software_path = pathJoin (eessi_prefix , " software" , eessi_os_type , eessi_software_subdir )
8989local eessi_modules_subdir = pathJoin (" modules" , " all" )
9090-- eessi_module_path is the location of the _CPU_ module files, e.g.,
91- -- /cvmfs/software.eessi.io/versions/2023.06 /software/linux/x86_64/amd/zen3/modules/all
91+ -- /cvmfs/software.eessi.io/versions/<EESSI_VERSION> /software/linux/x86_64/amd/zen3/modules/all
9292local eessi_module_path = pathJoin (eessi_software_path , eessi_modules_subdir )
9393local eessi_site_software_path = string.gsub (eessi_software_path , " versions" , " host_injections" )
9494-- Site module path is the same as the EESSI one, but with `versions` changed to `host_injections`, e.g.,
95- -- /cvmfs/software.eessi.io/host_injections/2023.06 /software/linux/x86_64/amd/zen3/modules/all
95+ -- /cvmfs/software.eessi.io/host_injections/<EESSI_VERSION> /software/linux/x86_64/amd/zen3/modules/all
9696local eessi_site_module_path = pathJoin (eessi_site_software_path , eessi_modules_subdir )
9797setenv (" EPREFIX" , eessi_eprefix )
9898eessiDebug (" Setting EPREFIX to " .. eessi_eprefix )
@@ -135,10 +135,10 @@ if not (archdetect_accel == nil or archdetect_accel == '') then
135135 -- The CPU subdirectory of the accelerator installations is _usually_ the same as host CPU, but this can be overridden
136136 eessi_accel_software_subdir = os.getenv (" EESSI_ACCEL_SOFTWARE_SUBDIR_OVERRIDE" ) or eessi_software_subdir
137137 -- CPU location of the accelerator installations, e.g.,
138- -- /cvmfs/software.eessi.io/versions/2023.06 /software/linux/x86_64/amd/zen3
138+ -- /cvmfs/software.eessi.io/versions/<EESSI_VERSION> /software/linux/x86_64/amd/zen3
139139 eessi_accel_software_path = pathJoin (eessi_prefix , " software" , eessi_os_type , eessi_accel_software_subdir )
140140 -- location of the accelerator modules, e.g.,
141- -- /cvmfs/software.eessi.io/versions/2023.06 /software/linux/x86_64/amd/zen3/accel/nvidia/cc80/modules/all
141+ -- /cvmfs/software.eessi.io/versions/<EESSI_VERSION> /software/linux/x86_64/amd/zen3/accel/nvidia/cc80/modules/all
142142 eessi_module_path_accel = pathJoin (eessi_accel_software_path , archdetect_accel , eessi_modules_subdir )
143143 eessiDebug (" Checking if " .. eessi_module_path_accel .. " exists" )
144144 if isDir (eessi_module_path_accel ) then
0 commit comments