Closed boegel closed 1 month ago
Works as intended, diff after re-generating module file with --module-only
:
$ diff -u /apps/gent/RHEL9/cascadelake-volta-ib/modules/all/PyTorch/2.1.2-foss-2023a-CUDA-12.1.1.lua.bk /apps/gent/RHEL9/cascadelake-volta-ib/modules/all/PyTorch/2.1.2-foss-2023a-CUDA-12.1.1.lua
--- /apps/gent/RHEL9/cascadelake-volta-ib/modules/all/PyTorch/2.1.2-foss-2023a-CUDA-12.1.1.lua.bk 2024-10-12 00:17:25.068272275 +0200
+++ /apps/gent/RHEL9/cascadelake-volta-ib/modules/all/PyTorch/2.1.2-foss-2023a-CUDA-12.1.1.lua 2024-10-15 21:45:59.651791287 +0200
@@ -110,6 +110,7 @@
prepend_path("CMAKE_PREFIX_PATH", pathJoin(root, "lib/python3.11/site-packages/torch"))
prepend_path("LD_LIBRARY_PATH", pathJoin(root, "lib/python3.11/site-packages/torch/lib"))
+prepend_path("LIBRARY_PATH", pathJoin(root, "lib/python3.11/site-packages/torch/lib"))
prepend_path("PATH", pathJoin(root, "bin"))
setenv("EBROOTPYTORCH", root)
setenv("EBVERSIONPYTORCH", "2.1.2")
All PyTorch
module files on both generoso
and jsc-zen3
have been re-generated via --module-only
to ensure they also update $LIBRARY_PATH
(created using
eb --new-pr
)fix for failing RPATH sanity check for
dorado
when using RPATH linking: