We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dee72bd commit 2782856Copy full SHA for 2782856
1 file changed
zsh/.zshrc
@@ -418,8 +418,9 @@ fi
418
# By default clinfo and other OpenCL applications might not see the ROCm driver.
419
if [ -d "/opt/rocm" ]; then
420
# Do not change the configuration on clusters, as they have their own driver setup.
421
- if command -v srun &> /dev/null; then :; else
422
- export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/rocm/lib:/opt/rocm/opencl/lib"
+ if ! command -v srun &> /dev/null; then
+ # This path seems to no longer exist on newer ROCm versions: /opt/rocm/opencl/lib
423
+ export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/rocm/lib"
424
fi
425
426
0 commit comments