-------- Original-Nachricht -------- > Datum: Tue, 28 Sep 2010 13:09:44 +0200 > Von: Tomasz Rybak <[email protected]> > An: Stefan Reiterer <[email protected]> > CC: [email protected] Thanks for your answer!
No sage isn't linux it's an opensource python project: http://www.sagemath.org/ But I think I found an answer to my problem already. Perhaps sage did something different again with the variables... perhaps I have to set one of the SAGE_XXX variables for the shell. I first thought the culprit is pycuda, because it first didn't work in python either. But it works if one loads the examples with the "load" command into the Sage session, so it's not so a big deal =) greez, maldun > Betreff: Re: [PyCUDA] PyCUDA+PyOpencl in sagemath > Dnia 2010-09-25, sob o godzinie 02:39 +0200, Stefan Reiterer pisze: > > Hi all! > > > > I'm currently try to introduce pyopencl and pycuda in sage. > > I'm currently testing on sage-4.5.3 > > > > And it wokrs quite well. But I have some trouble with pycuda. > > I get this error when I test the hello-gpu: > [cut] > > OSError: nvcc was not found (is it on the PATH?) [error invoking 'nvcc > --version': [Errno 2] No such file or directory] > > sage: > > > > It seems that somehow I have troubles with nvcc... > > Sorry for late reply. > > I do not know sage (and assuming Linux) but I would start with > checking if nvcc is in PATH. > When you install cuda toolkit with default settings (/usr/local/cuda) > nvcc is not in PATH. I added /usr/local/cuda/bin to PATH in ~/.bashrc > If you add nvcc to PATH in other file (like /etc/profile, > ~/.bash_profile, etc.) it might not be added every time. > Similarly, when you run program as another user, (s)he does > not have nvcc in the PATH. > > Regards. > > -- > Tomasz Rybak <[email protected]> GPG/PGP key ID: 2AD5 9860 > Fingerprint A481 824E 7DD3 9C0E C40A 488E C654 FB33 2AD5 9860 > http://member.acm.org/~tomaszrybak -- GMX DSL SOMMER-SPECIAL: Surf & Phone Flat 16.000 für nur 19,99 Euro/mtl.!* http://portal.gmx.net/de/go/dsl _______________________________________________ PyCUDA mailing list [email protected] http://lists.tiker.net/listinfo/pycuda
