diff --git a/fast/setup.sh b/fast/setup.sh new file mode 100755 index 0000000000..622558d25e --- /dev/null +++ b/fast/setup.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +export DEVITO_LANGUAGE=openmp +export DEVITO_ARCH=cray +export DEVITO_LOGGING=DEBUG +unset OMP_NUM_THREADS + +export OMP_PLACES=cores +export OMP_PROC_BIND=true + +get_runtime() { + $@ |& grep 'Operator.*ran' | rev | cut -d ' ' -f2 | rev +} + +echo bench_name,so,Devito,xDSL +for bench in "setup_wave2d.py -d 2048 2048 --nt 512" "setup_wave3d.py -d 512 512 512 --nt 512" +do + for so in 2 4 8 + do + python $bench -so $so + done +done