Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Enthought Python provides a comprehensive, cross-platform
- environment for scientific computing with the Python programming language.
- If you are loading enthought_python with OTHER modules / software
- 'module load enthought_python' FIRST then the rest of your software.
- Installing libs/modules /for/ this python or using it /in conjuction/ with other
- compiled code requires gcc/4.8.2 (not auto-loaded)
- To list the packages already installed in the enthought_python module:
- ' pip list --format=columns | grep -i your-target '
- I tensorflow/core/common_runtime/direct_session.cc:175] Device mapping:
- Traceback (most recent call last):
- File "test_gpu.py", line 11, in <module>
- print(sess.run(c))
- 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
- run_metadata_ptr)
- 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
- feed_dict_string, options, run_metadata)
- 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
- target_list, options, run_metadata)
- 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
- raise type(e)(node_def, op, message)
- 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$
- [[Node: MatMul = MatMul[T=DT_FLOAT, transpose_a=false, transpose_b=false, _device="/device:GPU:0"](a, b)]]
- Caused by op u'MatMul', defined at:
- File "test_gpu.py", line 7, in <module>
- c = tf.matmul(a, b)
- 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
- name=name)
- 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
- transpose_b=transpose_b, name=name)
- 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
- op_def=op_def)
- 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
- original_op=self._default_original_op, op_def=op_def)
- 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__
- self._traceback = _extract_stack()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement