Everything is compiled against python 2.5. I'm also working against CUDA 2.3.
On Thu, Aug 6, 2009 at 9:53 PM, Paul Rigor (uci) <[email protected]> wrote: > Can you go through which version of python you compiled pycuda stuff > against? > > On Thu, Aug 6, 2009 at 3:40 PM, wtftc <[email protected]> wrote: > >> >> I've made some progress, but things still aren't working. One more note >> about >> my platform: I have python 2.5 installed and have never installed other >> versions. >> >> The first thing I did was to figure out how to build with VS 2009. >> Instructions can be found at http://jeethurao.com/blog/?p=35. I built >> against the libraries that came packaged with the default boost install >> that >> came with the BoostPro installer >> >> For reference, my siteconf.py looked like this: >> BOOST_INC_DIR = [r'C:\Program Files (x86)\boost\boost_1_39'] >> BOOST_LIB_DIR = [r'C:\Program Files (x86)\boost\boost_1_39\lib'] >> BOOST_COMPILER = 'msvc' >> BOOST_PYTHON_LIBNAME = ['boost_python-vc90-mt-1_39'] >> BOOST_THREAD_LIBNAME = ['boost_thread-vc90-mt-1_39'] >> CUDA_TRACE = False >> CUDA_ENABLE_GL = False >> CUDADRV_LIB_DIR = [r'C:\NVIDIA\CUDA\lib', r'C:\NVIDIA\CUDA\lib64'] >> CUDADRV_LIBNAME = ['cuda'] >> CXXFLAGS = ['/EHsc'] >> LDFLAGS = ['/FORCE'] >> >> I then tried running test_driver.py and a dialog box popped up saying that >> the system could not locate python26.dll. But I never had python26.dll in >> the first place. It turned out that the libraries from the BoostPro >> installer were built against python 2.6, so I had to compile them manually >> on my system, which was python 2.5. >> >> I followed the beautiful instructions on the wiki for installing using >> mingw, only instead of using mingw, I used msvc. I also needed to build >> date_time in addition to python and thread. >> >> So then I tried re-running test_driver.py and my latest error is a dialog >> box that looks like the following: >> Runtime Error! >> >> Program C:\Python25\python.exe >> >> R6034 >> An application has made an attempt to load the C runtime library >> incorrectly. >> Please contact the application's support team for more information. >> >> The error appears 3 times, and after I make it go away, the following >> trace >> appears in my command prompt: >> Traceback (most recent call last): >> File "test_driver.py", line 472, in <module> >> import pycuda.autoinit >> File >> >> "c:\python25\lib\site-packages\pycuda-0.94beta-py2.5-win32.egg\pycuda\autoinit.py", >> line 1, in <module> >> import pycuda.driver as cuda >> File >> >> "c:\python25\lib\site-packages\pycuda-0.94beta-py2.5-win32.egg\pycuda\driver.py", >> line 1, in <module> >> from _driver import * >> ImportError: DLL load failed: A dynamic link library (DLL) initialization >> routine failed. >> >> Do you have any further ideas? >> >> >> wtftc wrote: >> > >> > I've been trying to compile pycuda on Vista 64 with mingw, but am >> getting >> > a >> > bunch of errors during the process. Do you know how I might fix them? I >> > was >> > following the instructions on the wiki for the mingw build. >> > >> > I was also wondering how one tells setuptools to use the VS 2008 >> compiler. >> > When I do it the VS 2008 way, it just tells me that python was built >> using >> > visual studio 2003 and I need a compiler with compatible binaries. I had >> > cl.exe in my path when doing the build. >> > >> > I apologize in advance for the long error, but I pasted the full text >> from >> > the mingw build below because I've seen stuff on here asking for full >> > errors. >> > >> > <error snipped> >> > _______________________________________________ >> > PyCUDA mailing list >> > [email protected] >> > http://tiker.net/mailman/listinfo/pycuda_tiker.net >> > >> > >> >> -- >> View this message in context: >> http://n2.nabble.com/Fwd%3A-Windows-Vista-64-bit-installation-tp3399856p3401162.html >> Sent from the PyCuda mailing list archive at Nabble.com. >> >> _______________________________________________ >> PyCUDA mailing list >> [email protected] >> http://tiker.net/mailman/listinfo/pycuda_tiker.net >> > > > > -- > Paul Rigor > http://www.paulrigor.net/ > http://www.ics.uci.edu/~prigor <http://www.ics.uci.edu/%7Eprigor> >
_______________________________________________ PyCUDA mailing list [email protected] http://tiker.net/mailman/listinfo/pycuda_tiker.net
