also add path to libtorch.so & co to $LIBRARY_PATH in generated module file for PyTorch#3488
Merged
laraPPr merged 1 commit intoeasybuilders:developfrom Oct 16, 2024
Conversation
…e file for PyTorch
libtorch.so & co to $LIBRARY_PATH in generated module file for PyTorch
Member
Author
|
Works as intended, diff after re-generating module file with $ 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") |
Member
Author
|
All |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(created using
eb --new-pr)fix for failing RPATH sanity check for
doradowhen using RPATH linking: