HI all,

I have used PyOpenCl successfully on Windows and Linux platforms but thought to take the Iris Pro graphics for a drive on a new MBP.
However, I have had problems getting started. Hope someone can help me find a solution, or suggest some better diagnostics to lay bare the issue.

I’m using 
* Yosemite OS X 10.10
* Xcode 6.1
* Anaconda Python
* Numpy 1.9
* gcc 4.2.1

I have  followed the Mavericks installation guide at http://wiki.tiker.net/PyOpenCL/Installation/Mac, with a few warnings that didn’t seem too serious, mainly deprecated numpy warnings and string to char * warnings.

There was a ctags error on make:

➜  pyopencl git:(master) make
ctags -R src || true
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ctags: illegal option -- R
usage: ctags [-BFadtuwvx] [-f tagsfile] file …

And the main error was on the import of pyopencl.

➜  cl  ipython
Python 2.7.8 |Anaconda 2.1.0 (x86_64)| (default, Aug 21 2014, 15:21:46) 
Type "copyright", "credits" or "license" for more information.

IPython 2.2.0 -- An enhanced Interactive Python.
Anaconda is brought to you by Continuum Analytics.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

In [1]: import pyopencl
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-63105a952239> in <module>()
----> 1 import pyopencl

//anaconda/lib/python2.7/site-packages/pyopencl-2014.1-py2.7-macosx-10.5-x86_64.egg/pyopencl/__init__.py in <module>()
     28 
     29 try:
---> 30     import pyopencl._cl as _cl
     31 except ImportError:
     32     import os

ImportError: dlopen(//anaconda/lib/python2.7/site-packages/pyopencl-2014.1-py2.7-macosx-10.5-x86_64.egg/pyopencl/_cl.so, 2): Symbol not found: __ZNSbIwSt11char_traitsIwESaIwEE4_Rep20_S_empty_rep_storageE
  Referenced from: //anaconda/lib/python2.7/site-packages/pyopencl-2014.1-py2.7-macosx-10.5-x86_64.egg/pyopencl/_cl.so
  Expected in: dynamic lookup

The full install log is attached.

Thanks for any help, Gavin.

Attachment: install.log
Description: Binary data

_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl

Reply via email to