File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
1
if (mode () ~= " spider" ) then
2
- prepend_path (" MODULEPATH" ," /cvmfs/soft.computecanada.ca/custom/modules-avx" )
2
+ local custom_root = os.getenv (" RSNT_CUSTOM_ROOT" ) or " /cvmfs/soft.computecanada.ca/custom"
3
+ prepend_path (" MODULEPATH" , custom_root .. " /modules-avx" )
3
4
setenv (" EBVERSIONARCH" ," avx" )
4
5
end
Original file line number Diff line number Diff line change 1
1
if (mode () ~= " spider" ) then
2
- prepend_path (" MODULEPATH" ," /cvmfs/soft.computecanada.ca/custom/modules-avx2" )
2
+ local custom_root = os.getenv (" RSNT_CUSTOM_ROOT" ) or " /cvmfs/soft.computecanada.ca/custom"
3
+ prepend_path (" MODULEPATH" , custom_root .. " /modules-avx2" )
3
4
setenv (" EBVERSIONARCH" ," avx2" )
4
5
end
Original file line number Diff line number Diff line change 1
1
if (mode () ~= " spider" ) then
2
- prepend_path (" MODULEPATH" ," /cvmfs/soft.computecanada.ca/custom/modules-avx512" )
2
+ local custom_root = os.getenv (" RSNT_CUSTOM_ROOT" ) or " /cvmfs/soft.computecanada.ca/custom"
3
+ prepend_path (" MODULEPATH" , custom_root .. " /modules-avx512" )
3
4
setenv (" EBVERSIONARCH" ," avx512" )
4
5
end
Original file line number Diff line number Diff line change 1
1
if (mode () ~= " spider" ) then
2
- prepend_path (" MODULEPATH" ," /cvmfs/soft.computecanada.ca/custom/modules-sse3" )
2
+ local custom_root = os.getenv (" RSNT_CUSTOM_ROOT" ) or " /cvmfs/soft.computecanada.ca/custom"
3
+ prepend_path (" MODULEPATH" , custom_root .. " /modules-sse3" )
3
4
setenv (" EBVERSIONARCH" ," sse3" )
4
5
end
You can’t perform that action at this time.
0 commit comments