2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 01:56:39 +00:00
xcat-core/xCAT/postscripts/config_cuda
Victor Hu 3c08a4e160 Add new postscript to configure cuda related settings
Renamed the install pkglist to be ppc64le only support
2015-10-28 10:39:46 -04:00

9 lines
274 B
Bash
Executable File

#!/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}