Skip to content

CUDA setup on gungnir

Sam Yin edited this page Jun 20, 2019 · 2 revisions

CUDA setup on gungnir

There are a few things to note about the CUDA setup on this machine:

  • CUDA is installed to /usr/local/cuda-9.0, but all references to CUDA use the path /usr/local/cuda which is a symlink. This allows easy transitions to new versions of CUDA simply by changing the symlink.
  • There is a file /etc/ld.so.conf.d/cuda.conf that adds the CUDA library to every user's library path.
  • There are two files that have been edited/added to allow access to CUDA utilities (nvcc, etc.) for all users
    • Login shells
      • /etc/profile.d/cuda.sh added.
    • Non-Login shells
      • /etc/bash.bashrc edited (PATH altering line added to end)