From d81191c40989de0c3809c4eade2c58ab1c44146d Mon Sep 17 00:00:00 2001 From: Connor Moore Date: Wed, 28 Jan 2026 23:03:54 -0500 Subject: Added command line arguments for farming results. Major update. Added makefile support. --- Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..39b5bdf --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +gnu: + gfortran matrixproduct.f90 -o bin/gcc.out -lblas -O3 -fopenmp +intel: + ifx matrixproduct.f90 -o bin/intel.out -lblas -O3 -fopenmp -heap-arrays + +dir: + mkdir results bin + +tests: clean dir gnu intel + ./bin/gcc.out 100 100 3500 yes > results/gcc_short + ./bin/intel.out 100 100 3500 yes > results/intel_short + + ./bin/gcc.out 3500 1000 10500 no > results/gcc_long + ./bin/intel.out 3500 1000 10500 no > results/gcc_long + +plots: + gnuplot -p plots.gnu + +clean: + rm -rf bin/ + rm -rf results/ -- cgit v1.2.3