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

The error information of cudnn is wrong #2113

Closed
luotao1 opened this issue May 12, 2017 · 1 comment · Fixed by #2114
Closed

The error information of cudnn is wrong #2113

luotao1 opened this issue May 12, 2017 · 1 comment · Fixed by #2114
Assignees
Labels

Comments

@luotao1
Copy link
Contributor

luotao1 commented May 12, 2017

when running gpu demo, if users don't have the correct cudnn pass:

I0512 16:12:11.301077 22465 Util.cpp:166] commandline:  --use_gpu=True --trainer_count=1 
F0512 16:12:11.792135 22465 DynamicLoader.cpp:104] Check failed: nullptr != *dso_handle Failed to find dynamic library: libcudnn.so (libcudnn.so: cannot open shared object file: No such file or directory) 
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=... 

The url in Method 1 can not open now.

@luotao1 luotao1 added the Bug label May 12, 2017
@luotao1 luotao1 changed the title The error information of CMake is wrong The error information of cudnn is wrong May 12, 2017
@luotao1
Copy link
Contributor Author

luotao1 commented May 12, 2017

Discussed with @qingqing01 , as paddle train is not recommended to users, we will remove Method 1 in error information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants