GPU programming module for Argonne Training Program in Extreme Scale Computing 2018
Instructions for Accelerator Presentation
Slides: www.math.vt.edu/people/tcew/ATPESC18
OCCA repo (version 0.2 branch): git clone https://github.com/libocca/occa -b 0.2
Paranumal website: http://www.paranumal.com
Paranumal blog including tips on GPU performance: https://www.paranumal.com/blog
Ray Loy's on-boarding ALCF slides: https://extremecomputingtraining.anl.gov/sessions/presentation-quick-start-on-atpesc-resources/
To access the demos from the GPU programming lecture:
git clone https://github.com/tcew/ATPESC18
Note: You may need to use ssh-keygen on cooley and update the github ssh public keys associated with the ssh public key from your cooley account)
Follow these instructions to get access to a cooley GPU node and configure for CUDA
+mvapich2
+cuda-7.5.18
+ffmpeg-1.0.1
@default
resoft
git clone https://github.com/tcew/ATPESC18
cd ATPESC18/handsOn
cd lbm
make
qsub -A ATPESC2018 -I -n 1 -t 120 -q training
./cudaLBM ./images/fsm.png 400
ffmpeg -start_number 0 -r 24 -i bah%06d.png -c:v mpeg4 test.mp4
git clone https://github.com/libocca/occa -b 0.2
git clone https://github.com/tcew/ATPESC18
qsub -A ATPESC2018 -I -n 1 -t 120 -q training
cd occa
export OCCA_DIR=`pwd`
export LD_LIBRARY_PATH=$OCCA_DIR/lib:$LD_LIBRARY_PATH:$OCCA_DIR/lib
make -j
./bin/occainfo
cd ../ATPESC18/handsOn
cd lbm
make -f makefile.occa
./occaLBM ./images/fsm.png 400
ffmpeg -r 24 -i bah%06d.png -b:v 16384k -vf scale=1024:-1 foo.mp4
ffmpeg -r 24 -i bah%06d.png -b:v 16384k -vf scale=768:-1 -vcodec mpeg4 foo.mp4