2
0
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:
Casandra Qiu 2016-08-15 08:50:49 -04:00
parent 672b7113d7
commit f492ceb7e9
3 changed files with 11 additions and 10 deletions

View File

@ -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

View File

@ -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

View File

@ -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}