Just to note, the boost installation placed the dylibs in the pool/lib directory while using the default build options.
Eli On Wed, May 20, 2009 at 2:37 PM, Eli Bressert <[email protected]> wrote: > So I should have something like this in the .bash_profile file? I'm > still getting the same error after re-building site-config.py and > doing make install. > > Thanks, > > Eli > > > > # For Boost > LD_LIBRARY_PATH="/Users/bb/pool/lib:${LD_LIBRARY_PATH}" > export LD_LIBRARY_PATH > > DYLIB_LIBRARY_PATH="/Users/bb/pool/lib:${DYLIB_LIBRARY_PATH}" > export DYLIB_LIBRARY_PATH > > On Wed, May 20, 2009 at 2:13 PM, Paul Rigor (ucla) <[email protected]> wrote: >> Make sure you have the folder >> containing libboost_python-xgcc40-mt-1_37.dylib in the DYLIB_LIBRARY_PATH. >> Paul >> >> On Wed, May 20, 2009 at 11:09 AM, Eli Bressert <[email protected]> >> wrote: >>> >>> Yep, that fixed it. Thanks for spotting the type. One other error came >>> though. I ran the test_driver.py script and get an error when it's >>> searching for the "_driver.so". The output is below. I'll continue >>> looking into the issue in the meantime. >>> >>> Cheers, >>> >>> Eli >>> >>> >>> >>> File "test_driver.py", line 3, in <module> >>> import pycuda.autoinit >>> File >>> "/Library/Frameworks/Python.framework/Versions/4.2.30201/lib/python2.5/site-packages/pycuda-0.92-py2.5-macosx-10.3-fat.egg/pycuda/autoinit.py", >>> line 1, in <module> >>> import pycuda.gpuarray as gpuarray >>> File >>> "/Library/Frameworks/Python.framework/Versions/4.2.30201/lib/python2.5/site-packages/pycuda-0.92-py2.5-macosx-10.3-fat.egg/pycuda/gpuarray.py", >>> line 3, in <module> >>> import pycuda.elementwise as elementwise >>> File >>> "/Library/Frameworks/Python.framework/Versions/4.2.30201/lib/python2.5/site-packages/pycuda-0.92-py2.5-macosx-10.3-fat.egg/pycuda/elementwise.py", >>> line 1, in <module> >>> import pycuda.driver as drv >>> File >>> "/Library/Frameworks/Python.framework/Versions/4.2.30201/lib/python2.5/site-packages/pycuda-0.92-py2.5-macosx-10.3-fat.egg/pycuda/driver.py", >>> line 1, in <module> >>> from _driver import * >>> ImportError: >>> dlopen(/Library/Frameworks/Python.framework/Versions/4.2.30201/lib/python2.5/site-packages/pycuda-0.92-py2.5-macosx-10.3-fat.egg/pycuda/_driver.so, >>> 2): Library not loaded: libboost_python-xgcc40-mt-1_37.dylib >>> Referenced from: >>> >>> /Library/Frameworks/Python.framework/Versions/4.2.30201/lib/python2.5/site-packages/pycuda-0.92-py2.5-macosx-10.3-fat.egg/pycuda/_driver.so >>> Reason: image not found >>> >>> >>> On Wed, May 20, 2009 at 1:19 AM, Paul Rigor (ucla) <[email protected]> wrote: >>> > Good eye!! >>> > >>> > On Tue, May 19, 2009 at 10:08 PM, Andreas Klöckner >>> > <[email protected]> >>> > wrote: >>> >> >>> >> On Mittwoch 20 Mai 2009, Eli Bressert wrote: >>> >> > CUDA_ROOT = '/user/local/cuda' >>> >> ^^^^^^ Typo? >>> >> >>> >> Andreas >>> >> >>> >> _______________________________________________ >>> >> PyCuda mailing list >>> >> [email protected] >>> >> http://tiker.net/mailman/listinfo/pycuda_tiker.net >>> >> >>> > >>> > >>> > >>> > -- >>> > Paul Rigor >>> > Graduate Student >>> > Institute for Genomics and Bioinformatics >>> > Donald Bren School of Information and Computer Sciences >>> > University of California in Irvine >>> > 248 ICS2 Bldg. >>> > +1 (760) 536 - 6767 (skype) >>> > >>> > _______________________________________________ >>> > PyCuda mailing list >>> > [email protected] >>> > http://tiker.net/mailman/listinfo/pycuda_tiker.net >>> > >>> > >> >> >> >> -- >> Paul Rigor >> Graduate Student >> Institute for Genomics and Bioinformatics >> Donald Bren School of Information and Computer Sciences >> University of California in Irvine >> 248 ICS2 Bldg. >> +1 (760) 536 - 6767 (skype) >> > _______________________________________________ PyCuda mailing list [email protected] http://tiker.net/mailman/listinfo/pycuda_tiker.net
