Hello Everyone:

Having some trouble with PyCUDA install on Mac OS X 10.6. Latest cuda 3.2 installed on system. Python version is the standard system 2.6. Below is my siteconfig.py file and then the errors after attempting to "make". Any insight would be helpful. I have spent the better part of this morning trying to figure it out.

CUDA_ROOT = '/usr/local/cuda'
CUDA_ENABLE_GL = True #have tried to build with False as well.
CUDADRV_LIB_DIR = []
CUDADRV_LIBNAME = ['cuda']
CXXFLAGS = ['-arch', 'x86_64', '-isysroot','/Developer/SDKs/MacOSX10.6.sdk']
LDFLAGS = ['-arch', 'x86_64', '-isysroot','/Developer/SDKs/MacOSX10.6.sdk']

- - -
These are tail of the output prior and then the errors:
- - -

ctags -R src || true
ctags: illegal option -- R
usage: ctags [-BFadtuwvx] [-f tagsfile] file ...
/usr/bin/python setup.py build
('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')
running build
running build_py
running build_ext
building '_pvt_struct' extension
gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -fwrapv -Wall -O3 -DNDEBUG -arch i386 -arch ppc -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/wrapper/_pycuda_struct.c -o build/temp.macosx-10.6-i386-2.6/src/wrapper/_pycuda_struct.o src/wrapper/_pycuda_struct.c:252: warning: ‘unpack_float’ defined but not used src/wrapper/_pycuda_struct.c:264: warning: ‘unpack_double’ defined but not used src/wrapper/_pycuda_struct.c:276: warning: ‘_range_error’ defined but not used /usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler (/usr/bin/../libexec/gcc/darwin/ppc/as or /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed
Installed assemblers are:
/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
/usr/bin/../libexec/gcc/darwin/i386/as for architecture i386
src/wrapper/_pycuda_struct.c:252: warning: ‘unpack_float’ defined but not used src/wrapper/_pycuda_struct.c:264: warning: ‘unpack_double’ defined but not used src/wrapper/_pycuda_struct.c:276: warning: ‘_range_error’ defined but not used src/wrapper/_pycuda_struct.c:1556: fatal error: error writing to -: Broken pipe
compilation terminated.
src/wrapper/_pycuda_struct.c:252: warning: ‘unpack_float’ defined but not used src/wrapper/_pycuda_struct.c:264: warning: ‘unpack_double’ defined but not used lipo: can't open input file: /var/tmp//cc08bnzd.out (No such file or directory)
error: command 'gcc-4.2' failed with exit status 1
make: *** [all] Error 1




_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda

Reply via email to