On Friday, May 27, 2011, Andreas Kloeckner wrote: > On Fri, 27 May 2011 10:33:12 +0200, Tomasz Rybak <[email protected]> wrote: > > Dnia 2011-05-26, czw o godzinie 09:27 -0400, Neal Becker pisze: > > > Just trying a new install on fedora 15. > > > > > > pycuda-0.94.2 > > > cudatoolkit_4.0.17_linux_64_fedora13.run > > > > > > I think cuda is not usable on this setup. If I run make test in > > > pycuda, I see: > > > > > > E CompileError: nvcc compilation of /tmp/tmp8bom2S/kernel.cu > > > failed E [command: nvcc --cubin -arch sm_11 > > > -I/usr/lib64/python2.7/site- > > > packages/pycuda-0.94.2-py2.7-linux-x86_64.egg/pycuda/../include/pycuda > > > kernel.cu] > > > E [stderr: > > > E In file included from > > > /opt/cuda/bin/../include/cuda_runtime.h:59:0, E > > > from <command-line>:0: > > > E /opt/cuda/bin/../include/host_config.h:82:2: error: #error > > > -- unsupported GNU version! gcc 4.5 and up are not supported!Traceback > > > (most recent call last): > > > > > > But I don't think an older gcc4 is available - the only old compat > > > packages are for gcc34. > > > > I have similar problem on Debian. > > Fortunately Debian still provides packages for gcc-4.4, > > but default gcc is 4.6. > > I have sent message describing this problem (and my attempts at > > solving it) to Debian mailing list - will let you know when > > final solution is found. > > Regarding Debian: thanks to snapshot.debian.org, old compilers remain > available nearly indefinitely. > > What happens if you just comment out that "#error" directive? >
Seems all tests passed > Also I might point out that Open CL, by definition, cannot have such > issues. > I am thinking of trying pyopencl rather than starting with pycuda. It seems pycuda has more activity (judging from the mail lists). Which do you recommend? -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments _______________________________________________ PyCUDA mailing list [email protected] http://lists.tiker.net/listinfo/pycuda
