Amazon EC2: GPU Cluster: Difference between revisions
imported>Timelord |
No edit summary |
||
| (7 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
An '''Amazon EC2: GPU cluster''' is a remote GPU cluster | An '''Amazon EC2: GPU cluster''' is a remote GPU cluster service. | ||
=Creating a new image= | =Creating a new image= | ||
| Line 5: | Line 5: | ||
From this point on, we will deal with a SUSE instance, but the general steps will be the same. '''Only select an instance that can work with CUDA!''' | From this point on, we will deal with a SUSE instance, but the general steps will be the same. '''Only select an instance that can work with CUDA!''' | ||
* With the Classic Wizard, select SUSE Linux Enterprise | * With the Classic Wizard, select Cluster Instances HVM SUSE Linux Enterprise 11 | ||
* Change the Instance Type from | * Change the Instance Type from M3 Extra Large to CG1 Cluster GPU (cg1.4xlarge). | ||
* Enable Termination protection. | * Enable Termination protection. | ||
* Make sure you specify that your Elastic Block Storage volume NOT be destroyed when the instance is terminated (or your data will be lost when the instance is terminated, which may happen without your consent if you are using a spot instance and the variable price exceeds your maximum bid). | * Make sure you specify that your Elastic Block Storage volume NOT be destroyed when the instance is terminated (or your data will be lost when the instance is terminated, which may happen without your consent if you are using a spot instance and the variable price exceeds your maximum bid). | ||
| Line 32: | Line 32: | ||
<pre>wget http://developer.download.nvidia.com/compute/cuda/$CUDA_MAJOR_VERSION/$CUDA_MINOR_VERSION/installers/cuda_5.0.35_$(Linux|Windows)_$ARCH_$IMG.run | <pre>wget http://developer.download.nvidia.com/compute/cuda/$CUDA_MAJOR_VERSION/$CUDA_MINOR_VERSION/installers/cuda_5.0.35_$(Linux|Windows)_$ARCH_$IMG.run | ||
chmod +x cuda_*.run | chmod +x cuda_*.run | ||
./cuda_*.run | |||
</pre> | </pre> | ||
We only need the developer drivers. Ensure that the drivers install correctly. Note that it needs to run as root. The cuda dev drivers are already installed in some AMIs (for example the CentOS-GPU image). | We only need the developer drivers. Ensure that the drivers install correctly. Note that it needs to run as root. The cuda dev drivers are already installed in some AMIs (for example the CentOS-GPU image). | ||