diff --git a/docs/source/advanced/gpu/nvidia/osimage/postscripts.rst b/docs/source/advanced/gpu/nvidia/osimage/postscripts.rst index 7e5f6d201..b0c392c39 100644 --- a/docs/source/advanced/gpu/nvidia/osimage/postscripts.rst +++ b/docs/source/advanced/gpu/nvidia/osimage/postscripts.rst @@ -8,21 +8,9 @@ Setting PATH and LD_LIBRARY_PATH NVIDIA recommends various post-installation actions that should be performed to properly configure the nodes. A sample script is provided by xCAT for this purpose ``config_cuda`` and can be modified to fit your specific installation. -The ``config_cuda`` script sets the PATH and LD_LIBRARY_PATH: :: +Add this script to your node object using the ``chdef`` command: :: - #!/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} - - -Add this script to your node object using the chdef command: :: - - chdef -t node -o -p postscripts=/install/postscripts/config_cuda + chdef -t node -o -p postscripts=config_cuda Setting GPU Configurations diff --git a/docs/source/advanced/gpu/nvidia/repo/rhels.rst b/docs/source/advanced/gpu/nvidia/repo/rhels.rst index 3840c4f85..2eb451af9 100644 --- a/docs/source/advanced/gpu/nvidia/repo/rhels.rst +++ b/docs/source/advanced/gpu/nvidia/repo/rhels.rst @@ -23,8 +23,8 @@ RHEL 7.2 LE cd /install/cuda-repo/cuda-deps # Copy the DKMS rpm to this directory - ls -ltr /install/cuda-repo/cuda-deps - -rw-r--r-- 1 root root 79048 Oct 5 10:58 dkms-2.2.0.3-30.git.7c3e7c5.el7.noarch.rpm + ls + dkms-2.2.0.3-30.git.7c3e7c5.el7.noarch.rpm # Execute createrepo in this directory createrepo .