<div dir="ltr"><div>I just set the environment path on gpu2 and the problem persists.</div><div><br></div><div>Thanks,</div><div>Hanqi</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 30, 2016 at 5:10 PM, Hanqi Sun <span dir="ltr"><<a href="mailto:hanqis@andrew.cmu.edu" target="_blank">hanqis@andrew.cmu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>Thanks for all the replies! Actually, the error message was generated on the server <a href="http://gpu2.int.autonlab.org" target="_blank">gpu2.int.autonlab.org</a>. And when I tried</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">printenv <span style="font-size:12.8px">LD_LIBRARY_PATH</span></blockquote><div><br></div><div>I got </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"> /usr/local/cuda/lib64:/usr/lib64/mpich/lib</blockquote><div><br></div><div>I do not know whether I should change the environment variable on the server. Could someone have a look at it?</div><div><br></div><div>Thanks,</div><div>Hanqi</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 30, 2016 at 4:44 PM, Benedikt Boecking <span dir="ltr"><<a href="mailto:boecking@andrew.cmu.edu" target="_blank">boecking@andrew.cmu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Have you tried setting the cuda environment path?</div><div><br></div><div>export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64</div><div><div><div><br></div><div><blockquote type="cite"><div>On Jun 30, 2016, at 4:31 PM, Hanqi Sun <<a href="mailto:hanqis@andrew.cmu.edu" target="_blank">hanqis@andrew.cmu.edu</a>> wrote:</div><br><div><div dir="ltr"><div>Hi all,</div><div><br></div><div>I am a research assistant for Prof. Poczos and would like to use Tensorflow for my project.</div><div><br></div><div>When I try to execute</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">import tensorflow</blockquote><div><br></div><div>on the GPU node, I get the following error message</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Traceback (most recent call last):</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"> File "<stdin>", line 1, in <module></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"> File "/usr/lib/python2.7/site-packages/tensorflow/__init__.py", line 23, in <module></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"> from tensorflow.python import *</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"> File "/usr/lib/python2.7/site-packages/tensorflow/python/__init__.py", line 50, in <module></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"> from tensorflow.python.framework.framework_lib import *</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"> File "/usr/lib/python2.7/site-packages/tensorflow/python/framework/framework_lib.py", line 62, in <module></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"> from tensorflow.python.framework.ops import Graph</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"> File "/usr/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 40, in <module></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"> from tensorflow.python.framework import versions</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"> File "/usr/lib/python2.7/site-packages/tensorflow/python/framework/versions.py", line 24, in <module></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"> from tensorflow.python import pywrap_tensorflow</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"> File "/usr/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 28, in <module></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"> _pywrap_tensorflow = swig_import_helper()</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"> File "/usr/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 24, in swig_import_helper</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"> _mod = imp.load_module('_pywrap_tensorflow', fp, pathname, description)</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">ImportError: libcudart.so.7.0: cannot open shared object file: No such file or directory</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"> </blockquote><div> </div><div>Could anyone check this out and try to fix it? Thanks!</div><div><br></div><div>Also, I will greatly appreciate it if any of you could share your experience with Tensorflow (especially about image processing) with me as I am new to this framework. If you are interested, please send a private email to me and I am happy to stop by at your office at any time.</div><div><br></div>Best,<div>Hanqi</div></div>
</div></blockquote></div><br></div></div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>