blob: 39b5bdf62e4d973b8a2f32d4884270770a0d58a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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/
|