Created
June 28, 2012 17:16
-
-
Save jonatw/3012619 to your computer and use it in GitHub Desktop.
instruction for install mpich2 and cuda4.2 in ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo -i | |
apt-get update | |
apt-get -y install binutils gcc make linux-source linux-headers-$(uname -r) mpich2 nfs-server nfs-client | |
cd /usr/local/src/ | |
wget http://developer.download.nvidia.com/compute/cuda/4_2/rel/toolkit/cudatoolkit_4.2.9_linux_64_ubuntu11.04.run | |
wget http://developer.download.nvidia.com/compute/cuda/4_2/rel/drivers/devdriver_4.2_linux_64_295.41.run | |
wget http://developer.download.nvidia.com/compute/cuda/4_2/rel/sdk/gpucomputingsdk_4.2.9_linux.run | |
chmod 755 /usr/local/src/*.run | |
cd /usr/local/src/ | |
./cudatoolkit_4.2.9_linux_64_ubuntu11.04.run | |
echo "/usr/local/cuda/lib64" >> /etc/ld.so.conf | |
echo "/usr/local/cuda/lib" >> /etc/ld.so.conf | |
ldconfig | |
./devdriver_4.2_linux_64_295.41.run --kernel-source-path=/usr/src/linux-headers-$(uname -r) | |
echo "PATH=$PATH:/usr/local/cuda/bin" >> /etc/profile | |
echo "export PATH" >> /etc/profile | |
cd /usr/local/src/ | |
./gpucomputingsdk_4.2.9_linux.run | |
cp ~/NVIDIA_GPU_Computing_SDK/C/lib/* /usr/local/lib/ | |
cp ~/NVIDIA_GPU_Computing_SDK/C/common/inc/cutil*.h /usr/local/include/ | |
cp ~/NVIDIA_GPU_Computing_SDK/C/common/inc/paramgl.h /usr/local/include/ | |
cp ~/NVIDIA_GPU_Computing_SDK/C/common/inc/rendercheck_*.h /usr/local/include/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
client 的設定
mount -t nfs 集中式的serverIP:/tmp /tmp