Re: [PyCUDA] pycuda ImportError: DLL load failed: The specified module could not be found.
Andreas, thanks for the pointers! I think the reason for the ImportError was the fact that I had python installed as portable and PYTHONPATH wasn't set. Thanks to your advice, I saw that dependencywalker found python35.dll not to be found. Not sure if it made a difference but I also updated my setptoolspip install --upgrade setuptools However, the compiler warnings and errors persisted! The unfound references to functions worry me the most but so far the very basic examples I've tested seem to run fine. I now look forward to using it on real projects!Thanks for your input! By the way, I didn't manage to download the example files from the wiki using the script located in the shipped examples folder. Here's the error: downloading wiki examples from http://wiki.tiker.net/PyCuda/Examples to wiki-examples/...fetching page list...Traceback (most recent call last): File "", line 1, in File "C:\WinPython-64bit-3.5.2.2Qt5\python-3.5.2.amd64\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 845, in runfileexecfile(filename, namespace) File "C:\WinPython-64bit-3.5.2.2Qt5\python-3.5.2.amd64\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 103, in execfilereturn self.__send(self.__name, args) File "C:\WinPython-64bit-3.5.2.2Qt5\python-3.5.2.amd64\lib\xmlrpc\client.py", line 1432, in __requestverbose=self.__verbose File "C:\WinPython-64bit-3.5.2.2Qt5\python-3.5.2.amd64\lib\xmlrpc\client.py", line 1134, in requestreturn self.single_request(host, handler, request_body, verbose) File "C:\WinPython-64bit-3.5.2.2Qt5\python-3.5.2.amd64\lib\xmlrpc\client.py", line 1167, in single_requestdict(resp.getheaders())xmlrpc.client.ProtocolError: >>> exec(compile(f.read(), filename, 'exec'), namespace) File "C:/WinPython-64bit-3.5.2.2Qt5/libs/pycuda-2016.1.2/examples/download-examples-from-wiki.py", line 18, in all_pages = destwiki.getAllPages() File "C:\WinPython-64bit-3.5.2.2Qt5\python-3.5.2.amd64\lib\xmlrpc\client.py", line 1092, in __call__ > From: li...@informa.tiker.net > To: dgebrei...@hotmail.com; pycuda@tiker.net > Subject: RE: [PyCUDA] pycuda ImportError: DLL load failed: The specified > module could not be found. > Date: Thu, 13 Oct 2016 19:35:52 -0500 > > Daniel Gebreiter writes: > > Andreas,thanks for the quick response. Here's the link to the gist, as > > per your > > request:https://gist.github.com/anonymous/204d33ca84a211b2323fa9d8886d0371I > > hope this works and helps resolving the issue!Thanks,Daniel > > This linker errors scream "compiler bug" to me, because it's an > undefined reference to a function that's actually defined. Are you able > to try a different version of the compiler? On the other hand, these > errors may be a red herring. > > Could you try Dependency Walker [1] on the pycuda module (_driver.pyd or > so) to see what's actually going on, and what module (if any) is > actually missing? > > Andreas > > [1] https://en.wikipedia.org/wiki/Dependency_Walker ___ PyCUDA mailing list PyCUDA@tiker.net https://lists.tiker.net/listinfo/pycuda
Re: [PyCUDA] pycuda ImportError: DLL load failed: The specified module could not be found.
Daniel Gebreiter writes: > Andreas,thanks for the quick response. Here's the link to the gist, as > per your > request:https://gist.github.com/anonymous/204d33ca84a211b2323fa9d8886d0371I > hope this works and helps resolving the issue!Thanks,Daniel This linker errors scream "compiler bug" to me, because it's an undefined reference to a function that's actually defined. Are you able to try a different version of the compiler? On the other hand, these errors may be a red herring. Could you try Dependency Walker [1] on the pycuda module (_driver.pyd or so) to see what's actually going on, and what module (if any) is actually missing? Andreas [1] https://en.wikipedia.org/wiki/Dependency_Walker ___ PyCUDA mailing list PyCUDA@tiker.net https://lists.tiker.net/listinfo/pycuda
Re: [PyCUDA] pycuda ImportError: DLL load failed: The specified module could not be found.
Andreas,thanks for the quick response. Here's the link to the gist, as per your request:https://gist.github.com/anonymous/204d33ca84a211b2323fa9d8886d0371I hope this works and helps resolving the issue!Thanks,Daniel > From: li...@informa.tiker.net > To: dgebrei...@hotmail.com; pycuda@tiker.net > Subject: Re: [PyCUDA] pycuda ImportError: DLL load failed: The specified > module could not be found. > Date: Thu, 13 Oct 2016 16:06:51 -0500 > > Daniel Gebreiter writes: > > > Hello, > > I'm getting the following error when trying to run pycuda on my machine: > > import pycuda.driver as drv File > > "C:\WinPython-64bit-3.5.2.2Qt5\python-3.5.2.amd64\lib\site-packages\pycuda\driver.py", > > line 5, in from pycuda._driver import * # noqaImportError: > > DLL load failed: The specified module could not be found. > > My setup:Windows 10WinPython-64bit-3.5.2.2Qt5GPU: NVIDIA GeForce GTX 1060 > > It would be great if anyone could point me in the right direction to > > resolve! > > Does pycuda work with Pascal chipsets > > Yes. > > > CUDA Toolset v8.0? > > Yes. (Should. Try the version from git if nothing else.) > > > If not, will it?Will I have to install boost manually or can I use the one > > shipped with pycuda on my setup? > > You shouldn't have to build it yourself. > > Could you post your log in a github gist? This once got wrapped and was > basically unreadable. > > Andreas ___ PyCUDA mailing list PyCUDA@tiker.net https://lists.tiker.net/listinfo/pycuda
Re: [PyCUDA] pycuda ImportError: DLL load failed: The specified module could not be found.
Daniel Gebreiter writes: > Hello, > I'm getting the following error when trying to run pycuda on my machine: > import pycuda.driver as drv File > "C:\WinPython-64bit-3.5.2.2Qt5\python-3.5.2.amd64\lib\site-packages\pycuda\driver.py", > line 5, in from pycuda._driver import * # noqaImportError: DLL > load failed: The specified module could not be found. > My setup:Windows 10WinPython-64bit-3.5.2.2Qt5GPU: NVIDIA GeForce GTX 1060 > It would be great if anyone could point me in the right direction to resolve! > Does pycuda work with Pascal chipsets Yes. > CUDA Toolset v8.0? Yes. (Should. Try the version from git if nothing else.) > If not, will it?Will I have to install boost manually or can I use the one > shipped with pycuda on my setup? You shouldn't have to build it yourself. Could you post your log in a github gist? This once got wrapped and was basically unreadable. Andreas ___ PyCUDA mailing list PyCUDA@tiker.net https://lists.tiker.net/listinfo/pycuda