23 lines
893 B
Plaintext
23 lines
893 B
Plaintext
#%Module1.0
|
|
|
|
module-whatis "GPU programming"
|
|
module-url 'https://www.nvidia.com/object/cuda_home_new.html'
|
|
module-license "see: http://docs.nvidia.com/cuda/eula/index.html"
|
|
module-maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
|
|
|
module-help "
|
|
CUDA® is a parallel computing platform and programming model invented
|
|
by NVIDIA. It enables dramatic increases in computing performance by
|
|
harnessing the power of the graphics processing unit (GPU).
|
|
"
|
|
|
|
prepend-path CUDA_PATH "$PREFIX"
|
|
|
|
# libnvidia-ml.so in GDK package is a stub library that is attached only for build purposes
|
|
prepend-path LIBRARY_PATH "$PREFIX/lib64/stubs"
|
|
|
|
# We should always run with libnvidia-ml.so that is installed with your NVIDIA Display Driver.
|
|
# By default it's installed in /usr/lib and /usr/lib64.
|
|
# Therefore, LD_LIBRARY_PATH must not contain it
|
|
# prepend-path LD_LIBRARY_PATH "$PREFIX/lib/stubs"
|