I am trying to run the seq2seq example from Tensorflow, but it will not use the GPU. Here is the step I took to install Tensorflow on a Linux system with Tesla K20x
git clone --recurse-submodules https://github.com/tensorflow/tensorflow ./configure
After all this step, I have tensorflow installed. Then I try to run the seq2seq example,
bazel run -c opt //tutorials/models/rnn/translate:translate
but he will not use the GPU. Then i will try an example
bazel-bin/tensorflow/cc/tutorials_example_trainer
and he gives an error
bazel-bin/tensorflow/cc/tutorials_example_trainer: error while loading shared libraries: /path/to/home/.cache/bazel/_bazel_hduong/9e8a6e75473e7bf5c9d1c8a084e2a0e9/tensorflow/bazel-out/local_linux-opt/bin/tensorflow/cc/../../_solib_local/_U_S_Sthird_Uparty_Sgpus_Scuda_Ccudart___Uthird_Uparty_Sgpus_Scuda_Slib64/libcudart.so.7.0: file too short
I wonder if anyone knows what can cause a program not to use a GPU? Any help is appreciated.
Thanks.
source share