$ export PATH=/usr/lib64/openmpi/bin:$PATHĪs we have mentioned the CUDA Toolkit can be downloaded from https: ///cuda-downloads $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64/openmpi/lib $ export OPENMPI_HOME=/usr/lib64/openmpi Since in Redhat OpenMPI is installed in /usr/lib64/openmpi the following exports will be needed in compilation of CUDA samples # yum install freeglut-devel libXi-devel libXmu-devel To compile CUDA we shall also need some additional packages # dracut /boot/initramfs-$(uname -r).img $(uname -r) # echo -e "\nblacklist nouveau" > /etc/modprobe.d/nf To disable nouveau it su ces to perform (as root) the following three steps. If nouveau is enabled it is impossible to install proprietary Nvidia drivers which are necessary for CUDA Toolkit. Usually if the system installer detects Nvidia cards, it installs nouveau drivers. pdf which is a good starting point.īefore getting started, we are required to remove nouveau drivers from the system (if they are enabled). compute/cuda/5_5/rel/docs/CUDA_Getting_Started_Linux. At the time of writting this text the download website was cuda-downloads.
#CUDA DRIVER INSTALL HOW TO#
In this chapter we will show how to install CUDA 5.5 on Redhat 6.3.