Hi Andreas,
Sorry for the delay.
The last environment variables did not not alter the import error.
Do we have any other options to try?
@Chris, how similar are the errors that you are seeing?
btw I have asked for any common experiences on the Anaconda list, but have yet
to hear anything.
Thanks for your time, Gavin.
The error on import of pyopencl remains…
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
And the beginning of the install prior to the import
Perhaps you’ll let me know if you want the full install logs..
➜ pyopencl git:(master) ✗ sudo rm -rf build/
Password:
➜ pyopencl git:(master) ✗ ls
MANIFEST.in bpl-subset install_log_2.txt
setup.py
Makefile configure.py install_log_3.txt
setup.pyc
Makefile.in contrib phalanx.sublime-project
siteconf.py
README.rst dist phalanx.sublime-workspace
src
README_SETUP.txt doc pyopencl
test
aksetup_helper.py examples pyopencl.egg-info
aksetup_helper.pyc install.log setup.cfg
➜ pyopencl git:(master) ✗ sudo CC=g++ LDSHARED="gcc -bundle -undefined
dynamic_lookup" \
BLDSHARED="gcc -bundle -undefined dynamic_lookup" python setup.py \
install
Password:
running install
running bdist_egg
running egg_info
writing requirements to pyopencl.egg-info/requires.txt
writing pyopencl.egg-info/PKG-INFO
writing top-level names to pyopencl.egg-info/top_level.txt
writing dependency_links to pyopencl.egg-info/dependency_links.txt
reading manifest file 'pyopencl.egg-info/SOURCES.txt'
reading manifest template ‘MANIFEST.in'
> On 2 Nov 2014, at 3:33 am, Andreas Kloeckner <[email protected]> wrote:
>
> Gavin,
>
> Gavin Coombes <[email protected]> writes:
>> Seems to be having the the same dynamic lookup issue still.
>> I removed the build directory, installed as you suggested, ain a new shell...
>
> Please make sure to keep the list cc'd.
>
> Try
>
> CC=g++ LDSHARED="gcc -bundle -undefined dynamic_lookup" \
> BLDSHARED="gcc -bundle -undefined dynamic_lookup" python setup.py \
> install
>
> as before.
>
> Andreas
>
>
_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl