Tag: CUDA

CUDA (Compute Unified Device Architecture) is a parallel computing platform and programming model developed by NVIDIA that enables developers to use NVIDIA GPUs for general-purpose processing tasks, accelerating computation in various applications.

  • CUDART Error in Singularity Container Workaround

    By

    in ,

    Singularity is a Linux container system similar (and compatible to) Docker. It’s advantage over Docker is that is was designed to allow users without superuser privileges to run containers within their environment. I recently encountered the following error when running a Nvidia CUDA application within a Singularity container using “singularity run -nv <container>: Workaround: After…

    Read more

  • Finding the NUMA Node of a Nvidia CUDA GPU in Linux

    By

    in

    For some applications it might be useful to pin their CPU processes to the NUMA node which is connected to the GPU. To find out which GPU is located at which NUMA node one can use the following script: Pinning the CPU process to the right NUMA node can speed up your application significantly on…

    Read more

  • NVIDIA CUDA on Ubuntu: unsupported GNU version! gcc versions later than 5 are not supported!

    By

    in

    After installing CUDA on Ubuntu, compiling CUDA applications with nvcc results in an error similar to this: In file included from /usr/local/cuda-8.0/bin/../targets/x86_64-linux/include/cuda_runtime.h:78:0,from <command-line>:0:/usr/local/cuda-8.0/bin/../targets/x86_64-linux/include/host_config.h:119:2: error: #error — unsupported GNU version! gcc versions later than 5 are not supported!#error — unsupported GNU version! gcc versions later than 5 are not supported!^~~~~}}} Ubuntu comes with a more up-to-date…

    Read more