cuda: parallel computing platform/programming model for NVIDIA GPUs

Contents

  1. Overview of package
  2. Overview of package
    1. General usage
  3. Availability of package by cluster
  4. Notes on using Cuda
  5. Notes on using OpenCL

Overview of package

General information about package
Package: cuda
Description: parallel computing platform/programming model for NVIDIA GPUs
For more information: https://developer.nvidia.com/cuda-zone
Categories:
License: Unknown

General usage information

CUDA is a parallel computing platform and programming model designed by NVIDIA enabling one to harness the power of NVIDIA GPUs.

This module will add the nvcc and other CUDA commands to your path.

The following environmental variables have been defined:

  • \$CUDA_ROOT has been set to the root of the cuda installation
  • \$CUDA_LIBDIR points to the directory containing the libraries
  • \$CUDA_INCDIR points to the directory containing the header files

You will probably wish to use these by adding the following flags to your compilation command (e.g. to CFLAGS in your Makefile):

  • -I\$CUDA_INCDIR
and the following flags to your link command (e.g. LDFLAGS in your Makefile):
  • -L\$CUDA_LIBDIR -Wl,-rpath,\$CUDA_LIBDIR

Available versions of the package cuda, by cluster

This section lists the available versions of the package cudaon the different clusters.

Available versions of cuda on the Deepthought2 cluster (RHEL8)

Available versions of cuda on the Deepthought2 cluster (RHEL8)
Version Module tags CPU(s) optimized for GPU ready?
10.2.89 cuda/10.2.89 ivybridge, x86_64, zen Y

Available versions of cuda on the Juggernaut cluster

Available versions of cuda on the Juggernaut cluster
Version Module tags CPU(s) optimized for GPU ready?
11.3.0 cuda/11.3.0 x86_64 Y
10.2.89 cuda/10.2.89 skylake_avx512, x86_64, zen, zen2 Y
10.2.89 cuda/10.2.89 x86_64 Y

Available versions of cuda on the Deepthought2 cluster (RHEL6) [DEPRECATED]

Available versions of cuda on the Deepthought2 cluster (RHEL6) [DEPRECATED]
Version Module tags CPU(s) optimized for GPU ready?
10.1.243 cuda/10.1.243 x86_64 N
9.1.85 cuda/9.1.85 x86_64 N
8.0.44 cuda/8.0.44 x86_64 N
7.5.18 cuda/7.5.18 x86_64 N
7.0.28 cuda/7.0.28 x86_64 N
6.5.14 cuda/6.5.14 x86_64 N
5.0.35 cuda/5.0.35 x86_64 N

Notes on using CUDA

nvcc can compile source files with the CUDA language extensions. It also contains CUDA implementations of BLAS and FFT libraries, as well as some data parallel primitives. See the Wikipedia article on CUDA for general information, or NVIDIA CUDA documentation for detailed instructions.

Notes on using OpenCL

OpenCL is a framework for writing programs to execute across CPUs and various other devices (including GPUs). See the Wikipedia article on OpenCL for more information.

WARNING
Deepthought2 RHEL6 Users: The OpenCL support in cuda/5.0.35 appears to be broken. Use cuda/6.5.14 or newer instead.

The nvcc compiler will support OpenCL as well. Your code should include the opencl.h header file, e.g.

#include <CL/opencl.h>
and you should compile it with something like
nvcc -lOpenCL mycode.c