Quantcast
Channel: Intel® Software - OpenCL*
Viewing all articles
Browse latest Browse all 1182

pyopencl.RuntimeError : device not available

$
0
0

Hi All,

We have a DELL server PowerEdge M600 with Intel Xeon processor E5450 @ 3.00 GHz running RedHat RHEL6 [2.6.32-573.7.1.el6.x86_64] on 64bit platform.

ruby and redhat-lsb-core have been installed.

Has downloaded ocl-icd-2.2.7.tar.gz, untarred and built successfully.

opencl_runtime_15.1_x64_5.0.0.57.tgz has been installed successfully too.

when running a simple python script:

import pyopencl
pyopencl.create_some_context()

 

will always get this error message:

Choose platform:
[0] <pyopencl.Platform 'Intel(R) OpenCL' at 0x1691680>
Choice [0]:
Set the environment variable PYOPENCL_CTX='' to avoid being asked again.
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/test/pyopencl/__init__.py", line 886, in create_some_context
    return Context(devices)
pyopencl.RuntimeError: Context failed: device not available

 

 

This problem does not occur on other Dell poweredge server with E5xxx processor.

Anyone has a clue and solution to this?

 


Viewing all articles
Browse latest Browse all 1182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>