diff --git a/xCAT-server/share/xcat/install/rh/cudafull.rhels7.pkglist b/xCAT-server/share/xcat/install/rh/cudafull.rhels7.ppc64le.pkglist similarity index 100% rename from xCAT-server/share/xcat/install/rh/cudafull.rhels7.pkglist rename to xCAT-server/share/xcat/install/rh/cudafull.rhels7.ppc64le.pkglist diff --git a/xCAT-server/share/xcat/install/rh/cudaruntime.rhels7.pkglist b/xCAT-server/share/xcat/install/rh/cudaruntime.rhels7.ppc64le.pkglist similarity index 100% rename from xCAT-server/share/xcat/install/rh/cudaruntime.rhels7.pkglist rename to xCAT-server/share/xcat/install/rh/cudaruntime.rhels7.ppc64le.pkglist diff --git a/xCAT/postscripts/config_cuda b/xCAT/postscripts/config_cuda new file mode 100755 index 000000000..42d98b3b9 --- /dev/null +++ b/xCAT/postscripts/config_cuda @@ -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}