Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time
# Prerequisites to run PlotOptiX on Google Cloud Platfom, Ubuntu 18.04 LTS Minimal instance.
# install CUDA and GPU driver
curl -O
sudo dpkg -i cuda-repo-ubuntu1804_10.1.105-1_amd64.deb
sudo apt-key adv --fetch-keys
sudo apt-get update
sudo apt-get -y install cuda-10-1
sudo nvidia-smi -pm 1
# install Mono
sudo apt -y install gnupg ca-certificates
sudo apt-key adv --keyserver hkp:// --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
# setup for the most recent release:
echo "deb stable-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
# if disk size is an issue, use smaller Mono release, e.g. use this to install Mono 5.20.1:
# echo "deb stable-bionic/snapshots/5.20.1 main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update
sudo apt -y install mono-complete
# install pythonnet
sudo apt -y install clang libglib2.0-dev python-dev
sudo apt -y install python3-pip
sudo pip3 install -U setuptools wheel pycparser
sudo pip3 install -U pythonnet --egg
# install Tk
sudo apt-get -y install python3-tk
# install PlotOptiX
sudo pip3 install -U plotoptix