-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathec2-g2.2xlarge.stack
33 lines (28 loc) · 1.41 KB
/
ec2-g2.2xlarge.stack
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# create ssh key to interact with git:
# follow instructions at https://help.github.com/articles/generating-ssh-keys/
# Then clone the gpu_devel repo:
$ git clone [email protected]:adampbeardsley/gpu_devel.git
# Installing/updating kernel and nvidia drivers
$ sudo yum update -y
$ sudo reboot
$ sudo yum groupinstall -y "Development tools"
$ sudo yum install kernel-devel-`uname -r`
$ wget http://us.download.nvidia.com/XFree86/Linux-x86_64/346.96/NVIDIA-Linux-x86_64-346.96.run
$ sudo /bin/bash ./NVIDIA-Linux-x86_64-346.96.run
$ sudo reboot
$ nvidia-smi -q | head
WARNING: nvidia-installer was forced to guess the X library path '/usr/lib64' and X module path
'/usr/lib64/xorg/modules'; these paths were not queryable from the system. If X fails to find the
NVIDIA X driver module, please install the `pkg-config` utility and the X.Org SDK/development
package for your distribution and reinstall the driver.
# Install conda
$ wget wget https://3230d63b5fc54e62148e-c95ac804525aac4b6dba79b00b39d1d3.ssl.cf1.rackcdn.com/Anaconda-2.3.0-Linux-x86_64.sh
# (check continuum.io/downloads#all for up-to-date file)
$ bash <downloaded file>
# Install add ons.
# Copy license (from email on 7/31/2015) to ~/.continuum/, then update/install
$ conda update conda
$ conda install accelerate
$ conda install iopro
$ conda create -n GPU_testing anaconda accelerate iopro
$ source activate GPU_testing