Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel7
typeflat
separatorpipe

20250129:

The cuda-toolkit/12.8.0 is now available on gcc/14.2.0

Overview

CUDA is a parallel computing platform and programming model developed by NVIDIA for general computing on graphical processing units (GPUs). With CUDA, developers are able to dramatically speed up computing applications by harnessing the power of GPUs.

...

The CUDA Toolkit from NVIDIA provides everything you need to develop GPU-accelerated applications. The CUDA Toolkit includes GPU-accelerated libraries, a compiler, development tools and the CUDA runtime.

Using

Warning

20240905: On MedicineBow:

Currently the cuda-toolkit is not compatible with gcc/14.2.0, you will need for the time being use the version available under the gcc/13.2.0 compiler.

Once this is resolved we will make this toolkit available for the gcc/14.2.0 compiler.

Use the module name cudato discover versions available and to load the application.

...

For Example: If you trying make-ing some of the NVidia samples, you might see the following error:

Code Block
[salexan5@blog1@blog1 deviceQuery]$ make
/apps/u/opt/gcc/12.2.0/cuda/12.1.1//bin/nvcc -ccbin g++ -I../../../Common  -m64    --threads 0 --std=c++11 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_90,code=compute_90 -o deviceQuery.o -c deviceQuery.cpp
nvcc fatal   : Unsupported gpu architecture 'compute_35'
make: *** [Makefile:324: deviceQuery.o] Error 1

...