summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Moore <connor@hhmoore.ca>2026-02-02 15:08:22 -0500
committerConnor Moore <connor@hhmoore.ca>2026-02-02 15:08:22 -0500
commit48a7af5b0c0facd9c3e99801476d44f6b218b363 (patch)
tree83868f0635d7995fcc94364b70269570a0c815c8
parentc896807fd9fc5b5f2cdbec9eef717f815af3779a (diff)
Updated makefile and plotting script
-rw-r--r--Makefile10
-rw-r--r--plots.gnu8
2 files changed, 9 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 629cda6..52de798 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ S_START:= 100
S_END := 3500
S_STEP := 100
-L_END := 20000
+L_END := 12000
L_STEP := 500
all:
@@ -39,11 +39,11 @@ tests: clean
echo "$(GREEN)Running parallel short runs with $$opt$(RESET)"; \
export OMP_NUM_THREADS=8; \
export MKL_NUM_THREADS=8; \
- ./bin/$(GCC).parallel.out $(S_START) $(S_END) $(S_STEP) yes > results/$(GCC)_short_parallel; \
- ./bin/$(oneAPI).parallel.out $(S_START) $(S_END) $(S_STEP) yes > results/$(oneAPI)_short_parallel; \
+ ./bin/$(GCC).parallel.out $(S_START) $(S_END) $(S_STEP) yes > results/$(GCC)_short_parallel_$$opt.out; \
+ ./bin/$(oneAPI).parallel.out $(S_START) $(S_END) $(S_STEP) yes > results/$(oneAPI)_short_parallel_$$opt.out; \
echo "$(GREEN)Running parallel long runs with $$opt$(RESET)"; \
- ./bin/$(GCC).parallel.out $(S_END) $(L_END) $(L_STEP) no > results/$(GCC)_long_parallel; \
- ./bin/$(oneAPI).parallel.out $(S_END) $(L_END) $(L_STEP) no > results/$(oneAPI)_long_parallel; \
+ ./bin/$(GCC).parallel.out $(S_END) $(L_END) $(L_STEP) no > results/$(GCC)_long_parallel_$$opt.out; \
+ ./bin/$(oneAPI).parallel.out $(S_END) $(L_END) $(L_STEP) no > results/$(oneAPI)_long_parallel_$$opt.out; \
done
plots:
diff --git a/plots.gnu b/plots.gnu
index a277220..8c728e7 100644
--- a/plots.gnu
+++ b/plots.gnu
@@ -11,7 +11,7 @@ set multiplot layout 2, 1
set grid
set xlabel("N")
set ylabel("Time [s]")
- plot for [i=2:5] 'results/gfortran_short' every ::1 using 1:i with linespoints title word(short_keys,i-1)
+ plot for [i=2:5] 'results/gfortran_short' every ::2 using 1:i with linespoints title word(short_keys,i-1)
set title "Long runs"
set logscale x
@@ -19,7 +19,7 @@ set multiplot layout 2, 1
set grid
set xlabel("N")
set ylabel("Time [s]")
- plot for [i=2:3] 'results/gfortran_long' every ::1 using 1:i with linespoints title word(short_keys,i+1)
+ plot for [i=2:3] 'results/gfortran_long' every ::2 using 1:i with linespoints title word(short_keys,i+1)
unset multiplot
@@ -31,7 +31,7 @@ set multiplot layout 2, 1
set grid
set xlabel("N")
set ylabel("Time [s]")
- plot for [i=2:5] 'results/ifx_short' every ::1 using 1:i with linespoints title word(short_keys,i-1)
+ plot for [i=2:5] 'results/ifx_short' every ::2 using 1:i with linespoints title word(short_keys,i-1)
set title "Long runs"
set logscale x
@@ -39,5 +39,5 @@ set multiplot layout 2, 1
set grid
set xlabel("N")
set ylabel("Time [s]")
- plot for [i=2:3] 'results/ifx_long' every ::1 using 1:i with linespoints title word(short_keys,i+1)
+ plot for [i=2:3] 'results/ifx_long' every ::2 using 1:i with linespoints title word(short_keys,i+1)
unset multiplot