# Sequential performance (2x) ./heat -e 0.0001 -s 10000 -b h -n 800 Terminated after 3470 steps. Max. difference = 0.000100 1 threads. 4.16 seconds. 2220800000 grid point computations. nanoseconds/comp. = 1.87 ./heat -e 0.0001 -s 10000 -b h -n 800 Terminated after 3470 steps. Max. difference = 0.000100 1 threads. 4.13 seconds. 2220800000 grid point computations. nanoseconds/comp. = 1.86 # 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.35 seconds. 2220800000 grid point computations. nanoseconds/comp. = 1.96 ./heat-omp -e 0.0001 -s 10000 -b h -t 2 -n 800 Terminated after 3470 steps. Max. difference = 0.000100 2 threads. 2.18 seconds. 2220800000 grid point computations. nanoseconds/comp. = 0.98 ./heat-omp -e 0.0001 -s 10000 -b h -t 3 -n 800 Terminated after 3470 steps. Max. difference = 0.000100 3 threads. 1.51 seconds. 2220800000 grid point computations. nanoseconds/comp. = 0.68 ./heat-omp -e 0.0001 -s 10000 -b h -t 4 -n 800 Terminated after 3470 steps. Max. difference = 0.000100 4 threads. 1.12 seconds. 2220800000 grid point computations. nanoseconds/comp. = 0.51 ./heat-omp -e 0.0001 -s 10000 -b h -t 5 -n 800 Terminated after 3470 steps. Max. difference = 0.000100 5 threads. 0.93 seconds. 2220800000 grid point computations. nanoseconds/comp. = 0.42 ./heat-omp -e 0.0001 -s 10000 -b h -t 6 -n 800 Terminated after 3470 steps. Max. difference = 0.000100 6 threads. 0.79 seconds. 2220800000 grid point computations. nanoseconds/comp. = 0.36 ./heat-omp -e 0.0001 -s 10000 -b h -t 7 -n 800 Terminated after 3470 steps. Max. difference = 0.000100 7 threads. 0.72 seconds. 2220800000 grid point computations. nanoseconds/comp. = 0.32 ./heat-omp -e 0.0001 -s 10000 -b h -t 8 -n 800 Terminated after 3470 steps. Max. difference = 0.000100 8 threads. 0.67 seconds. 2220800000 grid point computations. nanoseconds/comp. = 0.30 # Scale problem size ./heat-omp -e 0.0001 -s 10000 -b h -t 8 -n 600 Terminated after 3429 steps. Max. difference = 0.000100 8 threads. 0.38 seconds. 1234440000 grid point computations. nanoseconds/comp. = 0.31 ./heat-omp -e 0.0001 -s 10000 -b h -t 8 -n 700 Terminated after 3453 steps. Max. difference = 0.000100 8 threads. 0.51 seconds. 1691970000 grid point computations. nanoseconds/comp. = 0.30 ./heat-omp -e 0.0001 -s 10000 -b h -t 8 -n 800 Terminated after 3470 steps. Max. difference = 0.000100 8 threads. 0.67 seconds. 2220800000 grid point computations. nanoseconds/comp. = 0.30 ./heat-omp -e 0.0001 -s 10000 -b h -t 8 -n 900 Terminated after 3484 steps. Max. difference = 0.000100 8 threads. 0.87 seconds. 2822040000 grid point computations. nanoseconds/comp. = 0.31 ./heat-omp -e 0.0001 -s 10000 -b h -t 8 -n 1000 Terminated after 3496 steps. Max. difference = 0.000100 8 threads. 1.44 seconds. 3496000000 grid point computations. nanoseconds/comp. = 0.41 ./heat-omp -e 0.0001 -s 10000 -b h -t 8 -n 1100 Terminated after 3505 steps. Max. difference = 0.000100 8 threads. 2.09 seconds. 4241050000 grid point computations. nanoseconds/comp. = 0.49 ./heat-omp -e 0.0001 -s 10000 -b h -t 8 -n 1200 Terminated after 3513 steps. Max. difference = 0.000100 8 threads. 2.71 seconds. 5058720000 grid point computations. nanoseconds/comp. = 0.53 ./heat-omp -e 0.0001 -s 10000 -b h -t 8 -n 1600 Terminated after 3534 steps. Max. difference = 0.000100 8 threads. 6.51 seconds. 9047040000 grid point computations. nanoseconds/comp. = 0.72 ./heat-omp -e 0.0001 -s 10000 -b h -t 8 -n 2000 Terminated after 3547 steps. Max. difference = 0.000100 8 threads. 11.86 seconds. 14188000000 grid point computations. nanoseconds/comp. = 0.84 ./heat-omp -e 0.0001 -s 10000 -b h -t 8 -n 2400 Terminated after 3556 steps. Max. difference = 0.000100 8 threads. 18.81 seconds. 20482560000 grid point computations. nanoseconds/comp. = 0.92 ./heat-omp -e 0.0001 -s 10000 -b h -t 8 -n 2800 Terminated after 3563 steps. Max. difference = 0.000100 8 threads. 27.59 seconds. 27933920000 grid point computations. nanoseconds/comp. = 0.99 ./heat-omp -e 0.0001 -s 10000 -b h -t 8 -n 3200 Terminated after 3567 steps. Max. difference = 0.000100 8 threads. 36.10 seconds. 36526080000 grid point computations. nanoseconds/comp. = 0.99 ./heat-omp -e 0.0001 -s 10000 -b h -t 8 -n 3600 Terminated after 3571 steps. Max. difference = 0.000100 8 threads. 45.04 seconds. 46280160000 grid point computations. nanoseconds/comp. = 0.97 ./heat-omp -e 0.0001 -s 10000 -b h -t 8 -n 4000 Terminated after 3574 steps. Max. difference = 0.000100 8 threads. 54.89 seconds. 57184000000 grid point computations. nanoseconds/comp. = 0.96 ./heat-omp -e 0.0001 -s 10000 -b h -t 8 -n 4400 Terminated after 3576 steps. Max. difference = 0.000100 8 threads. 65.47 seconds. 69231360000 grid point computations. nanoseconds/comp. = 0.95 ./heat-omp -e 0.0001 -s 10000 -b h -t 8 -n 4800 Terminated after 3578 steps. Max. difference = 0.000100 8 threads. 79.00 seconds. 82437120000 grid point computations. nanoseconds/comp. = 0.96 ./heat-omp -e 0.0001 -s 10000 -b h -t 8 -n 5200 Terminated after 3580 steps. Max. difference = 0.000100 8 threads. 89.89 seconds. 96803200000 grid point computations. nanoseconds/comp. = 0.93 ./heat-omp -e 0.0001 -s 10000 -b h -t 8 -n 5600 Terminated after 3582 steps. Max. difference = 0.000100 8 threads. 102.68 seconds. 112331520000 grid point computations. nanoseconds/comp. = 0.91 ./heat-omp -e 0.0001 -s 10000 -b h -t 8 -n 6000 Terminated after 3583 steps. Max. difference = 0.000100 8 threads. 115.25 seconds. 128988000000 grid point computations. nanoseconds/comp. = 0.89 ./heat-omp -e 0.0001 -s 10000 -b h -t 8 -n 6400 Terminated after 3584 steps. Max. difference = 0.000100 8 threads. 128.89 seconds. 146800640000 grid point computations. nanoseconds/comp. = 0.88