Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion modules-avx/gentoo/2020.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ if not cuda_driver_version or cuda_driver_version == "" then
cuda_driver_version = get_installed_cuda_driver_version()
end

assert(loadfile("/cvmfs/soft.computecanada.ca/custom/modules/gentoo/2020.lua.core"))(arch, cpu_vendor_id, interconnect, cuda_driver_version)
local custom_root = os.getenv("RSNT_CUSTOM_ROOT") or "/cvmfs/soft.computecanada.ca/custom"
assert(loadfile(custom_root .. "/modules/gentoo/2020.lua.core"))(arch, cpu_vendor_id, interconnect, cuda_driver_version)
3 changes: 2 additions & 1 deletion modules-avx2/gentoo/2020.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ if not cuda_driver_version or cuda_driver_version == "" then
cuda_driver_version = get_installed_cuda_driver_version()
end

assert(loadfile("/cvmfs/soft.computecanada.ca/custom/modules/gentoo/2020.lua.core"))(arch, cpu_vendor_id, interconnect, cuda_driver_version)
local custom_root = os.getenv("RSNT_CUSTOM_ROOT") or "/cvmfs/soft.computecanada.ca/custom"
assert(loadfile(custom_root .. "/modules/gentoo/2020.lua.core"))(arch, cpu_vendor_id, interconnect, cuda_driver_version)
3 changes: 2 additions & 1 deletion modules-avx512/gentoo/2020.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ if not cuda_driver_version or cuda_driver_version == "" then
cuda_driver_version = get_installed_cuda_driver_version()
end

assert(loadfile("/cvmfs/soft.computecanada.ca/custom/modules/gentoo/2020.lua.core"))(arch, cpu_vendor_id, interconnect, cuda_driver_version)
local custom_root = os.getenv("RSNT_CUSTOM_ROOT") or "/cvmfs/soft.computecanada.ca/custom"
assert(loadfile(custom_root .. "/modules/gentoo/2020.lua.core"))(arch, cpu_vendor_id, interconnect, cuda_driver_version)
3 changes: 2 additions & 1 deletion modules-sse3/gentoo/2020.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ if not cuda_driver_version or cuda_driver_version == "" then
cuda_driver_version = get_installed_cuda_driver_version()
end

assert(loadfile("/cvmfs/soft.computecanada.ca/custom/modules/gentoo/2020.lua.core"))(arch, cpu_vendor_id, interconnect, cuda_driver_version)
local custom_root = os.getenv("RSNT_CUSTOM_ROOT") or "/cvmfs/soft.computecanada.ca/custom"
assert(loadfile(custom_root .. "/modules/gentoo/2020.lua.core"))(arch, cpu_vendor_id, interconnect, cuda_driver_version)
3 changes: 2 additions & 1 deletion modules/arch/avx.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
if (mode() ~= "spider") then
prepend_path("MODULEPATH","/cvmfs/soft.computecanada.ca/custom/modules-avx")
local custom_root = os.getenv("RSNT_CUSTOM_ROOT") or "/cvmfs/soft.computecanada.ca/custom"
prepend_path("MODULEPATH", custom_root .. "/modules-avx")
setenv("EBVERSIONARCH","avx")
end
3 changes: 2 additions & 1 deletion modules/arch/avx2.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
if (mode() ~= "spider") then
prepend_path("MODULEPATH","/cvmfs/soft.computecanada.ca/custom/modules-avx2")
local custom_root = os.getenv("RSNT_CUSTOM_ROOT") or "/cvmfs/soft.computecanada.ca/custom"
prepend_path("MODULEPATH", custom_root .. "/modules-avx2")
setenv("EBVERSIONARCH","avx2")
end
3 changes: 2 additions & 1 deletion modules/arch/avx512.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
if (mode() ~= "spider") then
prepend_path("MODULEPATH","/cvmfs/soft.computecanada.ca/custom/modules-avx512")
local custom_root = os.getenv("RSNT_CUSTOM_ROOT") or "/cvmfs/soft.computecanada.ca/custom"
prepend_path("MODULEPATH", custom_root .. "/modules-avx512")
setenv("EBVERSIONARCH","avx512")
end
3 changes: 2 additions & 1 deletion modules/arch/sse3.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
if (mode() ~= "spider") then
prepend_path("MODULEPATH","/cvmfs/soft.computecanada.ca/custom/modules-sse3")
local custom_root = os.getenv("RSNT_CUSTOM_ROOT") or "/cvmfs/soft.computecanada.ca/custom"
prepend_path("MODULEPATH", custom_root .. "/modules-sse3")
setenv("EBVERSIONARCH","sse3")
end
3 changes: 2 additions & 1 deletion modules/gentoo/2020.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ if not cuda_driver_version or cuda_driver_version == "" then
cuda_driver_version = get_installed_cuda_driver_version()
end

assert(loadfile("/cvmfs/soft.computecanada.ca/custom/modules/gentoo/2020.lua.core"))(arch, cpu_vendor_id, interconnect, cuda_driver_version)
local custom_root = os.getenv("RSNT_CUSTOM_ROOT") or "/cvmfs/soft.computecanada.ca/custom"
assert(loadfile(custom_root .. "/modules/gentoo/2020.lua.core"))(arch, cpu_vendor_id, interconnect, cuda_driver_version)
conflict("StdEnv/2016.4")
conflict("StdEnv/2018.3")