# Benchmarking Open MP performance # Scale number of threads ./heat-omp -e 0.0001 -s 10000 -b h -t 1 -n 800 Terminated after 3470 steps. Max. difference = 0.000100 1 threads. 4.31 seconds. 2220800000 grid point computations. nanoseconds/comp. = 1.94 ./heat-omp -e 0.0001 -s 10000 -b h -t 2 -n 800 Terminated after 3470 steps. Max. difference = 0.000100 2 threads. 2.19 seconds. 2220800000 grid point computations. nanoseconds/comp. = 0.99 ./heat-omp -e 0.0001 -s 10000 -b h -t 4 -n 800 Terminated after 3470 steps. Max. difference = 0.000100 4 threads. 1.13 seconds. 2220800000 grid point computations. nanoseconds/comp. = 0.51 ./heat-omp -e 0.0001 -s 10000 -b h -t 8 -n 800 Terminated after 3470 steps. Max. difference = 0.000100 8 threads. 0.64 seconds. 2220800000 grid point computations. nanoseconds/comp. = 0.29 # Scale problem size ./heat-omp -e 0.0001 -s 10000 -b h -t 8 -n 1600 Terminated after 3534 steps. Max. difference = 0.000100 8 threads. 6.59 seconds. 9047040000 grid point computations. nanoseconds/comp. = 0.73 ./heat-omp -e 0.0001 -s 10000 -b h -t 8 -n 3200 Terminated after 3567 steps. Max. difference = 0.000100 8 threads. 35.25 seconds. 36526080000 grid point computations. nanoseconds/comp. = 0.97 ./heat-omp -e 0.0001 -s 10000 -b h -t 8 -n 6400 Terminated after 3584 steps. Max. difference = 0.000100 8 threads. 128.65 seconds. 146800640000 grid point computations. nanoseconds/comp. = 0.88