Skip to content
This repository was archived by the owner on Sep 30, 2018. It is now read-only.

Latest commit

 

History

History
33 lines (24 loc) · 935 Bytes

EC2-install.md

File metadata and controls

33 lines (24 loc) · 935 Bytes

How to install onto an AWS EC2 p3.2xLarge instance

To run the benchamarks against libquantum and qiskit, they must also be installed

sudo yum update -y
sudo yum install git -y
sudo yum groupinstall -y "Development tools"
sudo yum install -y kernel-devel-`uname -r`
wget https://developer.nvidia.com/compute/cuda/9.1/Prod/local_installers/cuda_9.1.85_387.26_linux
chmod +x cuda_9.1.85_387.26_linux

# MUST RUN MANUALLY ================
./cuda_9.1.85_387.26_linux
#===================================

sudo nvidia-smi -pm 1
sudo nvidia-smi -acp 0
sudo nvidia-smi --auto-boost-permission=0
sudo nvidia-smi -ac 2505,875

curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly

# MUST RUN MANUALLY ================
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly
#===================================


source $HOME/.cargo/env

git clone https://github.com/QCGPU/qcgpu-rust
cd qcgpu-rust