Closed
Description
Hello,
Thanks for good library and developers.
I'm trying to install for C++.
But, I get error messages when I type following command.
cmake .. -DEIGEN3_INCLUDE_DIR=/home/robot/opt/eigen3 -DENABLE_CPP_EXAMPLES=ON -DBACKEND=cuda -DCUDNN_ROOT=/usr/local/cuda
And I get following error messages.
-- BACKEND: cuda
CUDA_LIBRARIES: /usr/local/cuda/lib64/libcudart_static.a;-lpthread;dl;/usr/lib/x86_64-linux-gnu/librt.so;/usr/local/cuda/lib64/libcurand.so
-- Found CUDNN (include: /usr/local/cuda/include, library: /usr/lib/x86_64-linux-gnu/libcudnn.so)
-- Successfully include CUDNN fla
6BAC
gs
-- Eigen dir is /home/robot/opt/eigen3
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_cublas_device_LIBRARY (ADVANCED)
linked by target "dynet" in directory /home/robot/opt/dynet/dynet
linked by target "1_linear_regression" in directory /home/robot/opt/dynet/tutorial
linked by target "0_multiply" in directory /home/robot/opt/dynet/tutorial
linked by target "xor-multidevice" in directory /home/robot/opt/dynet/examples
linked by target "xor" in directory /home/robot/opt/dynet/examples
linked by target "rnnlm-aevb" in directory /home/robot/opt/dynet/examples
linked by target "fflm" in directory /home/robot/opt/dynet/examples
linked by target "xor-batch" in directory /home/robot/opt/dynet/examples
linked by target "imdb" in directory /home/robot/opt/dynet/examples
linked by target "tok-embed" in directory /home/robot/opt/dynet/examples
linked by target "rnnlm-batch" in directory /home/robot/opt/dynet/examples
linked by target "embed-cl" in directory /home/robot/opt/dynet/examples
linked by target "xor-autobatch" in directory /home/robot/opt/dynet/examples
linked by target "mnist" in directory /home/robot/opt/dynet/examples
linked by target "rnnlm-batch-nce" in directory /home/robot/opt/dynet/examples
linked by target "rnn-autobatch" in directory /home/robot/opt/dynet/examples
linked by target "poisson-regression" in directory /home/robot/opt/dynet/examples
linked by target "read-write" in directory /home/robot/opt/dynet/examples
linked by target "rnnlm" in directory /home/robot/opt/dynet/examples
linked by target "attention" in directory /home/robot/opt/dynet/examples
linked by target "encdec" in directory /home/robot/opt/dynet/examples
linked by target "tag-bilstm" in directory /home/robot/opt/dynet/examples
linked by target "rnnlm-cfsm" in directory /home/robot/opt/dynet/examples
-- Configuring incomplete, errors occurred!
See also "/home/robot/opt/dynet/build/CMakeFiles/CMakeOutput.log".
See also "/home/robot/opt/dynet/build/CMakeFiles/CMakeError.log".
More nvidia library is needed?
I already installed cudnn and cuda tool kit.
By the way, my nvidia environment is as below.
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 410.48 Driver Version: 410.48 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 108... Off | 00000000:01:00.0 On | N/A |
| 23% 28C P8 12W / 250W | 287MiB / 11175MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1061 G /usr/lib/xorg/Xorg 180MiB |
| 0 1282 G /usr/bin/gnome-shell 98MiB |
| 0 1940 G /usr/lib/firefox/firefox 2MiB |
| 0 2191 G /usr/lib/firefox/firefox 2MiB |
+-----------------------------------------------------------------------------+
Please tell me how to solve this problem.
Thanks in advance.