Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

add /usr/local/cuda/extras/CUPTI/lib64 to LD_LIBRARY_PATH #2043

Merged
merged 1 commit into from
Jan 22, 2019

Conversation

xudifsd
Copy link
Member

@xudifsd xudifsd commented Jan 21, 2019

We found nvidia-container-runtime inject cuda related .so file into dir under /usr/local/cuda/extras/CUPTI/lib64. So some of our example can not load cuda and report tensorflow/stream_executor/cuda/cuda_driver.cc:406] failed call to cuInit: CUresult(-1) because they do not have the path in LD_LIBRARY_PATH.

Current solution is add it in our example, and tell user to add in FAQ.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 52.647% when pulling 3801a74 on dixu/add-ld-path into e9a4e88 on master.

@xudifsd xudifsd merged commit 9cbd616 into master Jan 22, 2019
@xudifsd xudifsd deleted the dixu/add-ld-path branch January 22, 2019 02:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants