October 2018
Intermediate to advanced
252 pages
6h 49m
English
sudo apt-get install -y cuda
ls /usr/local/cuda-8.0bin extras lib64 libnvvp nvml README share targets version.txtdoc include libnsight LICENSE nvvm samples src tools
export PATH=/usr/local/cuda-8.0/bin${PATH:+:${PATH}}export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64\${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}cd /usr/local/cuda-8.0/samples/5_Simulations/nbody
sudo make./nbody
You will see output similar to the following listing:
Run "nbody -benchmark [-numbodies=<numBodies>]" to measure performance. -fullscreen (run n-body ...
Read now
Unlock full access