From a661abfbdea7ad2d3b4ce3b70f62659e234f13d0 Mon Sep 17 00:00:00 2001 From: Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de> Date: Mon, 9 Jan 2017 13:17:54 +0100 Subject: [PATCH] Add a script to execute the tests --- applications/poisson_dg/poisson_dg.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 applications/poisson_dg/poisson_dg.sh diff --git a/applications/poisson_dg/poisson_dg.sh b/applications/poisson_dg/poisson_dg.sh new file mode 100755 index 00000000..66413006 --- /dev/null +++ b/applications/poisson_dg/poisson_dg.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +# Arguments: Number of runs for the timings (defaults to 5) + +# Run the opcount executables +./app_poisson_dg_deg2_opcount app_poisson_dg_deg2_opcount.ini +./app_poisson_dg_deg3_opcount app_poisson_dg_deg3_opcount.ini +./app_poisson_dg_deg4_opcount app_poisson_dg_deg4_opcount.ini +./app_poisson_dg_deg5_opcount app_poisson_dg_deg5_opcount.ini + +# Run the timing executables +COUNT=0 +while [ $COUNT -lt ${1:-5} ]; do + ./app_poisson_dg_deg2_nonopcount app_poisson_dg_deg2_nonopcount.ini + ./app_poisson_dg_deg3_nonopcount app_poisson_dg_deg3_nonopcount.ini + ./app_poisson_dg_deg4_nonopcount app_poisson_dg_deg4_nonopcount.ini + ./app_poisson_dg_deg5_nonopcount app_poisson_dg_deg5_nonopcount.ini +done -- GitLab