There was a typo in the export command, you should type:
export PATH=${PATH}:/usr/local/cuda/bin

Did you install the CUDA toolkit, driver (and SDK)?
http://www.nvidia.com/object/cuda_get.html

On Sun, Feb 8, 2009 at 2:27 PM, jan acosta <[email protected]> wrote:

> I typed export $ export $PATH=${PATH}:/usr/local/cuda/bin
>
> and it says:
>
> da-vi...@da-vinci-desktop:~$ export $PATH=${PATH}:/usr/local/cuda/bin
> bash: export:
> `/usr/lib/kde4/bin:/usr/lib/kde4/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games=/usr/lib/kde4/bin:/usr/lib/kde4/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/cuda/bin':
> not a valid identifier
>
> I also tried typing nvcc --version and I do get bash: nvcc: command not
> found.
>
> /usr/local/cuda/bin does exist.
>
> Jan
>
>
> On Sun, Feb 8, 2009 at 1:57 PM, J-Pascal Mercier <
> [email protected]> wrote:
>
>> On Sun, 8 Feb 2009 13:46:54 -0500
>> jan acosta <[email protected]> wrote:
>>
>>
>> We are getting close. The program can't find 'nvcc' which is install
>> in /usr/local/cuda/bin. You need nvcc compiler in your path to run
>> pycuda correctly. just run
>>
>> $ export $PATH=${PATH}:/usr/local/cuda/bin
>>
>> before running your pycuda program.
>>
>> make sure when you call
>>
>> $ nvcc --version
>>
>> you see something like that
>>
>> nvcc: NVIDIA (R) Cuda compiler driver
>> Copyright (c) 2005-2007 NVIDIA Corporation
>> Built on Wed_Dec__3_16:25:17_PST_2008
>> Cuda compilation tools, release 2.1, V0.2.1221
>>
>> and not
>>
>> bash: nvcc: command not found
>>
>> ciao
>>
>> J-Pascal
>>
>
>
> _______________________________________________
> PyCuda mailing list
> [email protected]
> http://tiker.net/mailman/listinfo/pycuda_tiker.net
>
>


-- 
Nicolas Pinto
Ph.D. Candidate, Brain & Computer Sciences
Massachusetts Institute of Technology, USA
http://web.mit.edu/pinto
_______________________________________________
PyCuda mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to