# Benchmarking MPI performance # Scale number of processors mpirun -np 1 ./heat-asynch -e 0.0001 -s 10000 -b h -n 800 Terminated after 3470 steps. Max. difference = 0.000100 800 rows. 1 processes. 4.38 seconds. 2220800000 grid point computations. nanoseconds/comp. = 1.97 mpirun -np 2 ./heat-asynch -e 0.0001 -s 10000 -b h -n 800 Terminated after 3470 steps. Max. difference = 0.000100 800 rows. 2 processes. 2.22 seconds. 2220800000 grid point computations. nanoseconds/comp. = 1.00 mpirun -np 3 ./heat-asynch -e 0.0001 -s 10000 -b h -n 800 Terminated after 3470 steps. Max. difference = 0.000100 800 rows. 3 processes. 1.53 seconds. 2220800000 grid point computations. nanoseconds/comp. = 0.69 mpirun -np 4 ./heat-asynch -e 0.0001 -s 10000 -b h -n 800 Terminated after 3470 steps. Max. difference = 0.000100 800 rows. 4 processes. 1.18 seconds. 2220800000 grid point computations. nanoseconds/comp. = 0.53 mpirun -np 5 ./heat-asynch -e 0.0001 -s 10000 -b h -n 800 Terminated after 3470 steps. Max. difference = 0.000100 800 rows. 5 processes. 0.97 seconds. 2220800000 grid point computations. nanoseconds/comp. = 0.44 mpirun -np 6 ./heat-asynch -e 0.0001 -s 10000 -b h -n 800 Terminated after 3470 steps. Max. difference = 0.000100 800 rows. 6 processes. 0.84 seconds. 2220800000 grid point computations. nanoseconds/comp. = 0.38 mpirun -np 7 ./heat-asynch -e 0.0001 -s 10000 -b h -n 800 Terminated after 3470 steps. Max. difference = 0.000100 800 rows. 7 processes. 0.74 seconds. 2220800000 grid point computations. nanoseconds/comp. = 0.33 mpirun -np 8 ./heat-asynch -e 0.0001 -s 10000 -b h -n 800 Terminated after 3470 steps. Max. difference = 0.000100 800 rows. 8 processes. 0.70 seconds. 2220800000 grid point computations. nanoseconds/comp. = 0.31 # Scale problem size mpirun -np 8 ./heat-asynch -e 0.0001 -s 10000 -b h -n 600 Terminated after 3429 steps. Max. difference = 0.000100 600 rows. 8 processes. 0.41 seconds. 1234440000 grid point computations. nanoseconds/comp. = 0.33 mpirun -np 8 ./heat-asynch -e 0.0001 -s 10000 -b h -n 700 Terminated after 3453 steps. Max. difference = 0.000100 700 rows. 8 processes. 0.54 seconds. 1691970000 grid point computations. nanoseconds/comp. = 0.32 mpirun -np 8 ./heat-asynch -e 0.0001 -s 10000 -b h -n 800 Terminated after 3470 steps. Max. difference = 0.000100 800 rows. 8 processes. 0.72 seconds. 2220800000 grid point computations. nanoseconds/comp. = 0.32 mpirun -np 8 ./heat-asynch -e 0.0001 -s 10000 -b h -n 900 Terminated after 3484 steps. Max. difference = 0.000100 900 rows. 8 processes. 0.92 seconds. 2822040000 grid point computations. nanoseconds/comp. = 0.33 mpirun -np 8 ./heat-asynch -e 0.0001 -s 10000 -b h -n 1000 Terminated after 3496 steps. Max. difference = 0.000100 1000 rows. 8 processes. 1.50 seconds. 3496000000 grid point computations. nanoseconds/comp. = 0.43 mpirun -np 8 ./heat-asynch -e 0.0001 -s 10000 -b h -n 1100 Terminated after 3505 steps. Max. difference = 0.000100 1100 rows. 8 processes. 2.18 seconds. 4241050000 grid point computations. nanoseconds/comp. = 0.51 mpirun -np 8 ./heat-asynch -e 0.0001 -s 10000 -b h -n 1200 Terminated after 3513 steps. Max. difference = 0.000100 1200 rows. 8 processes. 2.92 seconds. 5058720000 grid point computations. nanoseconds/comp. = 0.58 mpirun -np 8 ./heat-asynch -e 0.0001 -s 10000 -b h -n 1600 Terminated after 3534 steps. Max. difference = 0.000100 1600 rows. 8 processes. 6.54 seconds. 9047040000 grid point computations. nanoseconds/comp. = 0.72 mpirun -np 8 ./heat-asynch -e 0.0001 -s 10000 -b h -n 2000 Terminated after 3547 steps. Max. difference = 0.000100 2000 rows. 8 processes. 11.76 seconds. 14188000000 grid point computations. nanoseconds/comp. = 0.83 mpirun -np 8 ./heat-asynch -e 0.0001 -s 10000 -b h -n 2400 Terminated after 3556 steps. Max. difference = 0.000100 2400 rows. 8 processes. 19.03 seconds. 20482560000 grid point computations. nanoseconds/comp. = 0.93 mpirun -np 8 ./heat-asynch -e 0.0001 -s 10000 -b h -n 2800 Terminated after 3563 steps. Max. difference = 0.000100 2800 rows. 8 processes. 28.28 seconds. 27933920000 grid point computations. nanoseconds/comp. = 1.01 mpirun -np 8 ./heat-asynch -e 0.0001 -s 10000 -b h -n 3200 Terminated after 3567 steps. Max. difference = 0.000100 3200 rows. 8 processes. 36.73 seconds. 36526080000 grid point computations. nanoseconds/comp. = 1.01 mpirun -np 8 ./heat-asynch -e 0.0001 -s 10000 -b h -n 3600 Terminated after 3571 steps. Max. difference = 0.000100 3600 rows. 8 processes. 45.81 seconds. 46280160000 grid point computations. nanoseconds/comp. = 0.99 mpirun -np 8 ./heat-asynch -e 0.0001 -s 10000 -b h -n 4000 Terminated after 3574 steps. Max. difference = 0.000100 4000 rows. 8 processes. 55.01 seconds. 57184000000 grid point computations. nanoseconds/comp. = 0.96 mpirun -np 8 ./heat-asynch -e 0.0001 -s 10000 -b h -n 4400 Terminated after 3576 steps. Max. difference = 0.000100 4400 rows. 8 processes. 65.80 seconds. 69231360000 grid point computations. nanoseconds/comp. = 0.95 mpirun -np 8 ./heat-asynch -e 0.0001 -s 10000 -b h -n 4800 Terminated after 3578 steps. Max. difference = 0.000100 4800 rows. 8 processes. 79.29 seconds. 82437120000 grid point computations. nanoseconds/comp. = 0.96 mpirun -np 8 ./heat-asynch -e 0.0001 -s 10000 -b h -n 5200 Terminated after 3580 steps. Max. difference = 0.000100 5200 rows. 8 processes. 90.50 seconds. 96803200000 grid point computations. nanoseconds/comp. = 0.93 mpirun -np 8 ./heat-asynch -e 0.0001 -s 10000 -b h -n 5600 Terminated after 3582 steps. Max. difference = 0.000100 5600 rows. 8 processes. 101.89 seconds. 112331520000 grid point computations. nanoseconds/comp. = 0.91 mpirun -np 8 ./heat-asynch -e 0.0001 -s 10000 -b h -n 6000 Terminated after 3583 steps. Max. difference = 0.000100 6000 rows. 8 processes. 114.72 seconds. 128988000000 grid point computations. nanoseconds/comp. = 0.89 mpirun -np 8 ./heat-asynch -e 0.0001 -s 10000 -b h -n 6400 Terminated after 3584 steps. Max. difference = 0.000100 6400 rows. 8 processes. 129.91 seconds. 146800640000 grid point computations. nanoseconds/comp. = 0.88