mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 09:13:08 +00:00
use cudaruntime-8-0 as default
This commit is contained in:
parent
672b7113d7
commit
f492ceb7e9
@ -6,8 +6,8 @@ gcc
|
||||
pciutils
|
||||
dkms
|
||||
#To install cuda-runtime, need to specify the version
|
||||
#if want to install cuda-runtime-8-0, uncomment it,
|
||||
#then comment out cuda-runtime-7-5
|
||||
#cuda-runtime-8-0
|
||||
cuda-runtime-7-5
|
||||
#if want to install cuda-runtime-7-5, uncomment it,
|
||||
#then comment out cuda-runtime-8-0
|
||||
#cuda-runtime-7-5
|
||||
cuda-runtime-8-0
|
||||
|
||||
|
@ -5,8 +5,8 @@ gcc
|
||||
pciutils
|
||||
dkms
|
||||
#To install cuda-runtime, need to specify the version
|
||||
#if want to install cuda-runtime-8-0, uncomment it,
|
||||
#then comment out cuda-runtime-7-5
|
||||
#cuda-runtime-8-0
|
||||
cuda-runtime-7-5
|
||||
#if want to install cuda-runtime-7-5, uncomment it,
|
||||
#then comment out cuda-runtime-8-0
|
||||
#cuda-runtime-7-5
|
||||
cuda-runtime-8-0
|
||||
|
||||
|
@ -1,7 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
# set the paths required for cuda
|
||||
CUDA_PATH=/usr/local/cuda
|
||||
FILENAME="/etc/profile.d/xcat-cuda.sh"
|
||||
|
||||
echo "export PATH=/usr/local/cuda/bin:\$PATH" > ${FILENAME}
|
||||
echo "export LD_LIBRARY_PATH=/usr/local/cuda/lib64:\$LD_LIBRARY_PATH" >> ${FILENAME}
|
||||
echo "export PATH=$CUDA_PATH/bin:\$PATH" > ${FILENAME}
|
||||
echo "export LD_LIBRARY_PATH=$CUDA_PATH/lib64:\$LD_LIBRARY_PATH" >> ${FILENAME}
|
||||
|
Loading…
x
Reference in New Issue
Block a user