5,337
edits
(→Linux) |
|||
Line 42: | Line 42: | ||
[[File:Pycharm LD LIBRARY PATH config.png| 200x200px]] | [[File:Pycharm LD LIBRARY PATH config.png| 200x200px]] | ||
[[File:Pycharm LD LIBRARY PATH console config.png| 200x200px]] | [[File:Pycharm LD LIBRARY PATH console config.png| 200x200px]] | ||
==GCC Versions== | |||
<code>nvcc</code> sometimes only supports older gcc/g++ versions. | |||
To make it use those by default, create the following symlinks: | |||
* <code>sudo ln -s /usr/bin/gcc-6 /usr/local/cuda/bin/gcc</code> | |||
* <code>sudo ln -s /usr/bin/g++-6 /usr/local/cuda/bin/g++</code> | |||
==References== | ==References== | ||
* [https://devblogs.nvidia.com/even-easier-introduction-cuda/ An Even Easier Introduction To Cuda] | * [https://devblogs.nvidia.com/even-easier-introduction-cuda/ An Even Easier Introduction To Cuda] |