mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-16 00:00:23 +00:00
Merge pull request #1678 from cxhong/1356
CUDA8 support on rhel7.2 and rhel7.3
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#INCLUDE:compute.rhels7.pkglist#
|
||||
|
||||
#For Cuda 7.5
|
||||
#For Cuda
|
||||
kernel-devel
|
||||
gcc
|
||||
pciutils
|
||||
|
@@ -1,9 +1,12 @@
|
||||
#INCLUDE:compute.rhels7.pkglist#
|
||||
|
||||
#For Cuda 7.5
|
||||
#For Cuda
|
||||
kernel-devel
|
||||
gcc
|
||||
pciutils
|
||||
dkms
|
||||
cuda-runtime-7-5
|
||||
#To install cuda-runtime-7-5
|
||||
#cuda-runtime-7-5
|
||||
#To install cuda-runtime-8-0
|
||||
cuda-runtime-8-0
|
||||
|
||||
|
@@ -27,3 +27,6 @@ net-tools
|
||||
gzip
|
||||
tar
|
||||
xz
|
||||
grub2
|
||||
grub2-tools
|
||||
bzip2
|
||||
|
@@ -1,5 +1,5 @@
|
||||
|
||||
#For Cuda 7.5
|
||||
#For Cuda
|
||||
kernel-devel
|
||||
gcc
|
||||
pciutils
|
||||
|
@@ -1,8 +1,11 @@
|
||||
|
||||
#For Cuda 7.5
|
||||
#For Cuda
|
||||
kernel-devel
|
||||
gcc
|
||||
pciutils
|
||||
dkms
|
||||
cuda-runtime-7-5
|
||||
#To install cuda-runtime-7-5
|
||||
#cuda-runtime-7-5
|
||||
#To install cuda-runtime-8-0
|
||||
cuda-runtime-8-0
|
||||
|
||||
|
@@ -1,8 +1,8 @@
|
||||
#!/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
|
||||
CUDA_PATH=/usr/local/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=$CUDA_PATH/bin:\$PATH" > ${FILENAME}
|
||||
echo "export LD_LIBRARY_PATH=$CUDA_PATH/lib64:\$LD_LIBRARY_PATH" >> ${FILENAME}
|
||||
|
Reference in New Issue
Block a user