Requirements of Running Cuda or Jcuda Programs on Linux Sytems

Dear all,

I want to have some practice examples up and running in JCuda.

Please let me know if there is any useful link that describes the requirements needed to run JCuda Programs and Installing & Running CUDA Packages needed for it.

However I need to run it on Hadoop Cluster.

But my first step is to run simple cuda,jcuda programs.

Thanks & best Regards,

Adarsh Sharma


Sorry, I know that there should be more documentation of JCuda concerning the “Getting started” and the initial setup. So far, the first step could be to run a “trivial” program, as descibed in the FAQ Thread (at the bottom, starting at "To set up a minimum JCuda project as a basic test, you may follow these steps:…")

If this works, you may want to try some of the samples from the website. Depending on what you intend to do (I assume that you’re groing to create own kernels), the “” from the samples section may be a good starting point.

Figuring out specific settings or configurations for Haddop could then be the next step.

Hopefully I’ll find the time for a more extensive Tutorial soon…


Thanx Marco for the useful links.

I just downloaded following packages :


But how to install them , is they are binary files which r executed by ./ command or i have to download rpm packages.

Thanks & best regards,

Adarsh Sharma


Since I don’t have a CUDA capable Linux PC, I can not give specific information about the installation of the drivers. On the CUDA Downloads site there is a Getting Started Guide (PDF file, for version 3.2) which explains the installation of the driver. (This document also contains a link to a more extensive manual page, but in the best case, this is not necessary)

The installation of the Toolkit and the SDK should be straightforward, basically:

  1. Install the Toolkit by executing the .run- file as a ‘superuser’
  2. Define the environment variables.

export PATH=/usr/local/cuda/bin:$PATH 
export LD_LIBRARY_PATH=/usr/local/cuda/lib:$LD_LIBRARY_PATH

  1. Install the SDK by executing the .run-file as a ‘regular user’
    (But refer to the Guide for more detailed information!)

Hope that helps