Running Cuda Programs in Ubuntu

Hi, this is my first post , and im a total no0b with ubuntu and just staring out with CUDA… :unsure:

i have been able to get CUDA running on Ubuntu following this guide

http://ubuntuforums.org/showthread.php?t=1267436

the deviceQuerry SDK program works just fine… :)

i was looking around and came across this site

http://www.eecg.toronto.edu/~moshovos/CUDA…rts_source_code

and im not able to run any of the programs posted there … :wacko:

well wat i did was…i downloaded the “AES on GPU” source code from that site. extracted and just went into the directory using the terminal and used the command “make”

and here are the errors i got

Makefile:6: ../../../common/common.mk: No such file or directory

make: *** No rule to make target `../../../common/common.mk'.  Stop.

ive tried tinkering a bit with the makefile and still unable to get it to work

could anyone temme wat im doing wrong??.. :P :) :)

Try editing the makefile, include(…/…/…/common/common.mk) with include(PATH_TO_YOUR_SDK/C/common/common.mk)

common.mk is from the CUDA SDK. I guess the example you downloaded did not include all the necessary files in the necessary locations.

You can download the CUDA SDK from http://www.nvidia.com/getcuda .

Hope this helps,

Cliff

Oops, sorry for the duplicate reply… I didn’t see that someone had already posted. :)