1 2 3 4 5 6 7 8 9 10 11 12
#! /bin/bash rm results.txt date > results.txt for pow in `seq 7 30`; do size=`echo "2^$pow" | bc` echo $size cmake -DSIZE=$size make ./gdr_test >> results.txt done