2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 01:26:38 +00:00

CUDA8 support on rhel7.2 and rhel7.3

This commit is contained in:
Casandra Qiu 2016-08-11 11:35:42 -04:00
parent ae3489d3a4
commit 672b7113d7
6 changed files with 19 additions and 9 deletions

View File

@ -1,6 +1,6 @@
#INCLUDE:compute.rhels7.pkglist#
#For Cuda 7.5
#For Cuda
kernel-devel
gcc
pciutils

View File

@ -1,9 +1,13 @@
#INCLUDE:compute.rhels7.pkglist#
#For Cuda 7.5
#For Cuda
kernel-devel
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

View File

@ -27,3 +27,6 @@ net-tools
gzip
tar
xz
grub2
grub2-tools
bzip2

View File

@ -1,5 +1,5 @@
#For Cuda 7.5
#For Cuda
kernel-devel
gcc
pciutils

View File

@ -1,8 +1,12 @@
#For Cuda 7.5
#For Cuda
kernel-devel
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

View File

@ -1,8 +1,7 @@
#!/bin/sh
# set the paths required for cuda7.5
CUDA_VER="cuda-7.5"
FILENAME="/etc/profile.d/xcat-${CUDA_VER}.sh"
# set the paths required for cuda
FILENAME="/etc/profile.d/xcat-cuda.sh"
echo "export PATH=/usr/local/${CUDA_VER}/bin:\$PATH" > ${FILENAME}
echo "export LD_LIBRARY_PATH=/usr/local/${CUDA_VER}/lib64:\$LD_LIBRARY_PATH" >> ${FILENAME}
echo "export PATH=/usr/local/cuda/bin:\$PATH" > ${FILENAME}
echo "export LD_LIBRARY_PATH=/usr/local/cuda/lib64:\$LD_LIBRARY_PATH" >> ${FILENAME}