CUDA
CUDA is the compute engine in NVIDIA graphics processing units or GPUs, that is accessible to software developers through industry standard programming languages. Programmers use C for CUDA using the nvcc compiler.
Compiling with CUDA
Load the CUDA Module
module load cuda
Use module show cuda to see variables the module set to make compiling simpler.
For details on CUDA as a programming tool see our Nyx CUDA page.
PBS Example
To use cuda jobs must request GPU's. CUDA will not run correctly without a GPU, and users must set which GPU they are using.
#PBS -N cuda-test
#PBS -l nodes=1,mem=1gb,walltime=00:15:00,software=graphics
#PBS -m abe
#PBS -V
cat $PBS_NODEFILE
#run our app, which is assinged a GPU by the CUDA library./a.out


