Hi there Andrea, Well I am trying this:
# pycuda with Mac system python2.5 32 bits sudo rm -fr /System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/setuptools git clone http://git.tiker.net/trees/pycuda.git cd pycuda git submodule init git submodule update sudo /usr/bin/python2.5 configure.py --cxxflags=-arch,i386,-isysroot,/Developer/SDKs/MacOSX10.6.sdk --ldflags=-arch,i386,-isysroot,/Developer/SDKs/MacOSX10.6.sdk sudo make and then I got this: ctags -R src || true ctags: illegal option -- R usage: ctags [-BFadtuwvx] [-f tagsfile] file ... /usr/bin/python2.5 setup.py build Scanning installed packages Setuptools installation detected at /Users/alan/Programmes/pycuda Non-egg installation Removing elements out of the way... Already patched. /Users/alan/Programmes/pycuda/setuptools-0.6c9-py2.5.egg-info already patched. Extracting in /tmp/tmpgCBYmc Now working in /tmp/tmpgCBYmc/distribute-0.6.4 Building a Distribute egg in /Users/alan/Programmes/pycuda /Users/alan/Programmes/pycuda/setuptools-0.6c9-py2.5.egg-info already exists bpl-subset/bpl_subset /boost/ python .hpp *** Error occurred in plausibility checking for path of Boost Python library. *** Error occurred in plausibility checking for path of Boost Thread library. /usr/local/cuda /bin/ nvcc /usr/local/cuda/include / cuda .h /usr/local/cuda/lib / lib cuda .so /usr/local/cuda/lib / lib cuda .dylib /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py:263: UserWarning: Unknown distribution option: 'install_requires' running build running build_py running build_ext building '_driver' extension gcc-4.2 -fno-strict-aliasing -mno-fused-madd -fno-common -dynamic -fwrapv -Wall -O3 -DNDEBUG -pipe -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/usr/local/cuda/include -I/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/numpy/core/include -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c src/cpp/cuda.cpp -o build/temp.macosx-10.6-x86_64-2.5/src/cpp/cuda.o -arch i386 -isysroot /Developer/SDKs/MacOSX10.6.sdk In file included from bpl-subset/bpl_subset/boost/python/detail/prefix.hpp:13, from bpl-subset/bpl_subset/boost/python/args.hpp:8, from bpl-subset/bpl_subset/boost/python.hpp:11, from src/cpp/cuda.hpp:20, from src/cpp/cuda.cpp:1: bpl-subset/bpl_subset/boost/python/detail/wrap_python.hpp:75:24: error: patchlevel.h: No such file or directory bpl-subset/bpl_subset/boost/python/detail/wrap_python.hpp:78:2: error: #error Python 2.2 or higher is required for this version of Boost.Python. bpl-subset/bpl_subset/boost/python/detail/wrap_python.hpp:142:21: error: Python.h: No such file or directory bpl-subset/bpl_subset/boost/python/detail/wrap_python.hpp:203:4: error: #error "HAVE_LONG_LONG defined but not PY_LONG_LONG or LONG_LONG" [skip] bpl-subset/bpl_subset/boost/preprocessor/iteration/detail/local.hpp:37: instantiated from here bpl-subset/bpl_subset/boost/python/object_core.hpp:334: error: ‘object_base_initializer’ was not declared in this scope error: command 'gcc-4.2' failed with exit status 1 make: *** [all] Error 1 My siteconf.py is: BOOST_INC_DIR = [] BOOST_LIB_DIR = [] BOOST_COMPILER = 'gcc43' USE_SHIPPED_BOOST = True BOOST_PYTHON_LIBNAME = ['boost_python-gcc43-mt'] BOOST_THREAD_LIBNAME = ['boost_thread-gcc43-mt'] CUDA_TRACE = False CUDA_ENABLE_GL = False CUDADRV_LIB_DIR = [] CUDADRV_LIBNAME = ['cuda'] CXXFLAGS = ['-arch', 'i386', '-isysroot', '/Developer/SDKs/MacOSX10.6.sdk'] LDFLAGS = ['-arch', 'i386', '-isysroot', '/Developer/SDKs/MacOSX10.6.sdk'] Would you know what I may be missing here? Thanks Alan -- Alan Wilter S. da Silva, D.Sc. - CCPN Research Associate Department of Biochemistry, University of Cambridge. 80 Tennis Court Road, Cambridge CB2 1GA, UK. >>http://www.bio.cam.ac.uk/~awd28<<
_______________________________________________ PyCUDA mailing list PyCUDA@tiker.net http://lists.tiker.net/listinfo/pycuda