diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
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/ |
