Hi,
1. I'm having trouble installing pycuda on a Win 10 notebook.2. I installed 
Cuda 5.53. I downloaded pycuda pycuda-2015.1.3 from git4. I downloaded 
boost_1_59_0.5. I ran configure.py.
6. My siteconf.py file looks like this:BOOST_INC_DIR = 
['C:\\local\\boost_1_59_0\\boost']
BOOST_LIB_DIR = ['C:\\local\\boost_1_59_0\\lib64-msvc-12.0']
BOOST_COMPILER = 'gcc43'
USE_SHIPPED_BOOST = True
BOOST_PYTHON_LIBNAME = ['boost_python-vc120-mt-gd-1_59']
BOOST_THREAD_LIBNAME = ['boost_thread-vc120-mt-gd-1_59']
CUDA_TRACE = False
CUDA_ROOT = 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v5.5'
CUDA_ENABLE_GL = False
CUDA_ENABLE_CURAND = True
CUDADRV_LIB_DIR = ['${CUDA_ROOT}\\lib\\x64']
CUDADRV_LIBNAME = ['cuda']
CUDART_LIB_DIR = ['${CUDA_ROOT}\\lib\\x64']
CUDART_LIBNAME = ['cudart']
CURAND_LIB_DIR = ['${CUDA_ROOT}\\lib\\x64']
CURAND_LIBNAME = ['curand'].
7. My errors when I run "python setup.py install" are as 
follows:C:/SciSoft/WinPython-64bit-2.7.9.4/tools/mingw32/bin/../lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/lib/../lib/libmingw32.a(lib64_libmingw32_a-atonexit.o):atonexit.c:(.text+0xb0):multiple
 definition of 
`atexit'C:\SciSoft\WinPython-64bit-2.7.9.4\scripts\..\python-2.7.9.amd64\libs/libmsvcr90.a(dodnibs01081.o):(.text+0x0):first
 defined 
hereC:/SciSoft/WinPython-64bit-2.7.9.4/tools/mingw32/bin/../lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/lib/../lib/libmingw32.a(lib64_libmingw32_a-mingw_helpers.o):mingw_helpers.c:(.text+0x0):multiple
 definition of 
`_decode_pointer'C:\SciSoft\WinPython-64bit-2.7.9.4\scripts\..\python-2.7.9.amd64\libs/libmsvcr90.a(dodnibs00231.o):(.text+0x0):first
 defined 
hereC:/SciSoft/WinPython-64bit-2.7.9.4/tools/mingw32/bin/../lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/lib/../lib/libmingw32.a(lib64_libmingw32_a-mingw_helpers.o):mingw_helpers.c:(.text+0x10):multiple
 definition of 
`_encode_pointer'C:\SciSoft\WinPython-64bit-2.7.9.4\scripts\..\python-2.7.9.amd64\libs/libmsvcr90.a(dodnibs00241.o):(.text+0x0):first
 defined 
hereC:\SciSoft\WinPython-64bit-2.7.9.4\scripts\..\python-2.7.9.amd64\libs/libmsvcr90.a(dodnibs00288.o):(.text+0x0):multiple
 definition of 
`_fpreset'C:/SciSoft/WinPython-64bit-2.7.9.4/tools/mingw32/bin/../lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/lib/../lib/libmingw32.a(lib64_libmingw32_a-CRT_fp8.o):CRT_fp8.c:(.text+0x0):first
 defined 
herebuild\temp.win-amd64-2.7\Release\bpl-subset\bpl_subset\libs\thread\src\win32\thread.o:thread.cpp:(.text+0x1f4):undefined
 reference to 
`InterlockedIncrement'build\temp.win-amd64-2.7\Release\bpl-subset\bpl_subset\libs\thread\src\win32\thread.o:thread.cpp:(.text+0x217):undefined
 reference to 
`InterlockedDecrement'build\temp.win-amd64-2.7\Release\bpl-subset\bpl_subset\libs\thread\src\win32\thread.o:thread.cpp:(.text+0x2b6):undefined
 reference to 
`InterlockedIncrement'build\temp.win-amd64-2.7\Release\bpl-subset\bpl_subset\libs\thread\src\win32\thread.o:thread.cpp:(.text+0x2f2):undefined
 reference to 
`InterlockedDecrement'build\temp.win-amd64-2.7\Release\bpl-subset\bpl_subset\libs\thread\src\win32\thread.o:thread.cpp:(.text+0x3ba):undefined
 reference to 
`InterlockedDecrement'build\temp.win-amd64-2.7\Release\bpl-subset\bpl_subset\libs\thread\src\win32\thread.o:thread.cpp:(.text+0x41b):undefined
 reference to 
`InterlockedDecrement'build\temp.win-amd64-2.7\Release\bpl-subset\bpl_subset\libs\thread\src\win32\thread.o:thread.cpp:(.text+0x4d5):undefined
 reference to 
`InterlockedDecrement'build\temp.win-amd64-2.7\Release\bpl-subset\bpl_subset\libs\thread\src\win32\thread.o:thread.cpp:(.text+0x5b3):undefined
 reference to 
`InterlockedDecrement'build\temp.win-amd64-2.7\Release\bpl-subset\bpl_subset\libs\thread\src\win32\thread.o:thread.cpp:(.text+0x856):undefined
 reference to 
`InterlockedIncrement'build\temp.win-amd64-2.7\Release\bpl-subset\bpl_subset\libs\thread\src\win32\thread.o:thread.cpp:(.text+0xb0d):undefined
 reference to 
`InterlockedDecrement'build\temp.win-amd64-2.7\Release\bpl-subset\bpl_subset\libs\thread\src\win32\thread.o:thread.cpp:(.text+0xccb):undefined
 reference to 
`InterlockedIncrement'build\temp.win-amd64-2.7\Release\bpl-subset\bpl_subset\libs\thread\src\win32\thread.o:thread.cpp:(.text+0x2f28):undefined
 reference to 
`InterlockedDecrement'build\temp.win-amd64-2.7\Release\bpl-subset\bpl_subset\libs\thread\src\win32\thread.o:thread.cpp:(.text+0x3acf):undefined
 reference to 
`InterlockedDecrement'C:/SciSoft/WinPython-64bit-2.7.9.4/tools/mingw32/bin/../lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/bin/ld.exe:build\temp.win-amd64-2.7\Release\bpl-subset\bpl_subset\libs\thread\src\win32\thread.o:bad
 reloc address 0x8 in section `.data'collect2.exe: error: ld returned 1 exit 
statuserror: 
command'C:\\SciSoft\\WinPython-64bit-2.7.9.4\\scripts\\..\\python-2.7.9.amd64\\..\\tools\\mingw32\\bin\\g++.exe'failed
 with exit status 1.8. I look on the archive and found patches to mitigate the 
InterlockedDecrement and InterlockedIncrement errors, but they appeared to be 
already in place. (unless I was looking at the wrong files in \boost).
.
9. Any comments that you can provide would be helpful..
10. FYI, running "pip install pycuda" also fails (I think due to the following 
automated lib and lib64 path assignment error, i.e., mixed forward/backward 
slash and lib64 should be .\v5.5\lib\x64..


.... -LC:\Program Files\NVIDIA GPU Computing 
Toolkit\CUDA\v5.5/lib""-LC:\Program Files\NVIDIA GPU Computing 
Toolkit\CUDA\v5.5/lib64""-LC:\Program Files\NVIDIA GPU Computing 
Toolkit\CUDA\v5.5/lib""-LC:\Program Files\NVIDIA GPU Computing 
Toolkit\CUDA\v5.5/lib64"-Lc:\scisoft\winpython-64bit-2.7.9.4\python-2.7.9.amd64\libs-Lc:\scisoft\winpython-64bit-2.7.9.4\python-2.7.9.amd64\PCbuild\amd64
 -lcuda-lcurand -lpython27 -lmsvcr90 -o 
build\lib.win-amd64-2.7\pycuda\_driver.pyd   
C:/SciSoft/WinPython-64bit-2.7.9.4/tools/mingw32/bin/../lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/bin/ld.exe:cannot
 find -lcuda   
C:/SciSoft/WinPython-64bit-2.7.9.4/tools/mingw32/bin/../lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/bin/ld.exe:cannot
 find -lcurand.
Best Regards,Arnold TunickUS Army Research Laboratory



  
_______________________________________________
PyCUDA mailing list
PyCUDA@tiker.net
http://lists.tiker.net/listinfo/pycuda

Reply via email to