I did add the lib location to my .profile and that didn't fix all of my problems but it put me on the right track. At this point PyCUDA does compile, by which I mean "make install" does not give any errors. But when I try to run the test programs it hangs. It does not respond to control C so I think the problem is in a system call possibly in the driver code itself. Has anybody else experienced this? Is there anything I can check on or look for to see what is causing it? I am using python2.5 and boost as installed by Mac ports on a MacBook OSX version 10.5.
Thanks, ashleigh I have installed PyCUDA but when I try to run the test program it hangs. It does not respond to control C so I think the problem is in a system call possibly in the driver code itself. Has anybody else had this problem? Is there anything I can check on or look for to see what is causing it? On Tue, Jun 16, 2009 at 5:56 PM, Massimo Ilario <[email protected]>wrote: > Hi, > > make sure your boost lib location is in the DYLIB_LIBRARY_PATH in your > .profile or .bash_profile (whichever you are using). > If that doesn't do it, can you give more info about the system and settings > you have. I recently got a macbook and I successfully installed pyCUDA over > the past weekend. > Tomorrow, I should be able to post on the wiki a very detailed walk-through > on how I installed pyCUDA on mac os x. > > -massimo > > On Tue, Jun 16, 2009 at 6:46 PM, ashleigh baumgardner < > [email protected]> wrote: > >> Hello, >> >> I am trying to install PyCUDA but when I give the command "python setup.py >> build" I get a huge list of errors, which I think can be traced back to the >> boost install. Here is what happens (I haven't included the full error list, >> it just keeps going...) >> >> :pycuda-0.92 lash$ python setup.py build >> * >> /usr/local/cuda/bin:/Users/lash/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/cuda/bin >> /usr/local/cuda/bin >> running build >> running build_py >> running build_ext >> building '_driver' extension >> gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd >> -fno-common -dynamic -Wall -O3 -DNDEBUG -pipe -Isrc/cpp >> -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.5-i386-2.5/src/cpp/cuda.o -arch >> i386 >> In file included from src/cpp/cuda.cpp:1: >> src/cpp/cuda.hpp:14:32: error: boost/shared_ptr.hpp: No such file or >> directory >> src/cpp/cuda.hpp:15:29: error: boost/foreach.hpp: No such file or >> directory >> src/cpp/cuda.hpp:16:30: error: boost/weak_ptr.hpp: No such file or >> directory >> src/cpp/cuda.hpp:21:28: error: boost/python.hpp: No such file or directory >> >> Does this look familiar to anyone? Any help will be greatly appreciated. >> Ashleigh >> >> >> _______________________________________________ >> PyCUDA mailing list >> [email protected] >> http://tiker.net/mailman/listinfo/pycuda_tiker.net >> >> > > _______________________________________________ > PyCUDA mailing list > [email protected] > http://tiker.net/mailman/listinfo/pycuda_tiker.net > >
_______________________________________________ PyCUDA mailing list [email protected] http://tiker.net/mailman/listinfo/pycuda_tiker.net
