Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.83 KB | None | 0 0
  1. Enthought Python provides a comprehensive, cross-platform
  2. environment for scientific computing with the Python programming language.
  3.  
  4. If you are loading enthought_python with OTHER modules / software
  5. 'module load enthought_python' FIRST then the rest of your software.
  6.  
  7. Installing libs/modules /for/ this python or using it /in conjuction/ with other
  8. compiled code requires gcc/4.8.2 (not auto-loaded)
  9.  
  10. To list the packages already installed in the enthought_python module:
  11. ' pip list --format=columns | grep -i your-target '
  12.  
  13. I tensorflow/core/common_runtime/direct_session.cc:175] Device mapping:
  14.  
  15. Traceback (most recent call last):
  16. File "test_gpu.py", line 11, in <module>
  17. print(sess.run(c))
  18. File "/data/apps/enthought_python/7.3.2/lib/python2.7/site-packages/tensorflow-0.9.0-py2.7.egg/tensorflow/python/client/session.py", line 372, in run
  19. run_metadata_ptr)
  20. File "/data/apps/enthought_python/7.3.2/lib/python2.7/site-packages/tensorflow-0.9.0-py2.7.egg/tensorflow/python/client/session.py", line 636, in _run
  21. feed_dict_string, options, run_metadata)
  22. File "/data/apps/enthought_python/7.3.2/lib/python2.7/site-packages/tensorflow-0.9.0-py2.7.egg/tensorflow/python/client/session.py", line 708, in _do_run
  23. target_list, options, run_metadata)
  24. File "/data/apps/enthought_python/7.3.2/lib/python2.7/site-packages/tensorflow-0.9.0-py2.7.egg/tensorflow/python/client/session.py", line 728, in _do_call
  25. raise type(e)(node_def, op, message)
  26. tensorflow.python.framework.errors.InvalidArgumentError: Cannot assign a device to node 'MatMul': Could not satisfy explicit device specification '/device:GPU:0' because no devices matching that specification ar$
  27. [[Node: MatMul = MatMul[T=DT_FLOAT, transpose_a=false, transpose_b=false, _device="/device:GPU:0"](a, b)]]
  28. Caused by op u'MatMul', defined at:
  29. File "test_gpu.py", line 7, in <module>
  30. c = tf.matmul(a, b)
  31. File "/data/apps/enthought_python/7.3.2/lib/python2.7/site-packages/tensorflow-0.9.0-py2.7.egg/tensorflow/python/ops/math_ops.py", line 1209, in matmul
  32. name=name)
  33. File "/data/apps/enthought_python/7.3.2/lib/python2.7/site-packages/tensorflow-0.9.0-py2.7.egg/tensorflow/python/ops/gen_math_ops.py", line 1178, in _mat_mul
  34. transpose_b=transpose_b, name=name)
  35. File "/data/apps/enthought_python/7.3.2/lib/python2.7/site-packages/tensorflow-0.9.0-py2.7.egg/tensorflow/python/ops/op_def_library.py", line 704, in apply_op
  36. op_def=op_def)
  37. File "/data/apps/enthought_python/7.3.2/lib/python2.7/site-packages/tensorflow-0.9.0-py2.7.egg/tensorflow/python/framework/ops.py", line 2260, in create_op
  38. original_op=self._default_original_op, op_def=op_def)
  39. File "/data/apps/enthought_python/7.3.2/lib/python2.7/site-packages/tensorflow-0.9.0-py2.7.egg/tensorflow/python/framework/ops.py", line 1230, in __init__
  40. self._traceback = _extract_stack()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement