Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

load error message of WarpCTC is confusing #1055

Closed
reyoung opened this issue Jan 3, 2017 · 1 comment
Closed

load error message of WarpCTC is confusing #1055

reyoung opened this issue Jan 3, 2017 · 1 comment
Assignees

Comments

@reyoung
Copy link
Collaborator

reyoung commented Jan 3, 2017

F0103 16:49:50.844861 2057601024 hl_dso_loader.cc:104] Check failed: nullptr != *dso_handle Failed to find dynamic library: /usr/local/cuda/lib/libwarpctc.dylib (dlopen(/usr/local/cuda/lib/libwarpctc.dylib, 5): image not found)
Please specify its path correctly using one of the following ways:
Method 1. set cuda and cudnn lib path at runtime. http://www.paddlepaddle.org/doc/ui/cmd_argument/argument_outline.html
For instance, issue command: paddle train --use_gpu=1 --cuda_dir=/usr/local/cuda/lib64 --cudnn_dir=/usr/local/cudnn/lib ...
Method 2. set environment variable LD_LIBRARY_PATH on Linux or DYLD_LIBRARY_PATH on Mac OS.
For instance, issue command: export LD_LIBRARY_PATH=...
Note: After Mac OS 10.11, using the DYLD_LIBRARY_PATH is impossible unless System Integrity Protection (SIP) is disabled. However, method 1 always work well.

It seems WarpCTC is not related to CUDA, but why the error message shows --cuda_dir, --cudnn_dir.

Also

However, method 1 always work well.

work => works.

@luotao1
Copy link
Contributor

luotao1 commented Jul 31, 2017

duplicated with #2113, an solved by #2114

@luotao1 luotao1 closed this as completed Jul 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants