2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-23 12:51:10 +00:00

Merge pull request #331 from whowutwut/cuda_scripts

Fix Cuda related issues found when testing CUDA support
This commit is contained in:
cxhong
2015-10-28 13:36:08 -04:00
3 changed files with 8 additions and 0 deletions

8
xCAT/postscripts/config_cuda Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
# set the paths required for cuda7.5
CUDA_VER="cuda-7.5"
FILENAME="/etc/profile.d/xcat-${CUDA_VER}.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}