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:
parent
ae3489d3a4
commit
672b7113d7
@ -1,6 +1,6 @@
|
||||
#INCLUDE:compute.rhels7.pkglist#
|
||||
|
||||
#For Cuda 7.5
|
||||
#For Cuda
|
||||
kernel-devel
|
||||
gcc
|
||||
pciutils
|
||||
|
@ -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
|
||||
|
||||
|
@ -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,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
|
||||
|
||||
|
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user