-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
89 lines (62 loc) · 1.54 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
openmp1:
g++ -fopenmp gaussian_openMP.cpp utils.hpp -o gaussianOMP -lpthread
./gaussianOMP test1
exopenmp1:
./gaussianOMP test1
openmp2:
g++ -fopenmp gaussian_openMP.cpp utils.hpp -o gaussianOMP -lpthread
./gaussianOMP test2
exopenmp2:
./gaussianOMP test2
openmp3:
g++ -fopenmp gaussian_openMP.cpp utils.hpp -o gaussianOMP -lpthread
./gaussianOMP test3
exopenmp3:
./gaussianOMP test3
pthreads1:
g++ gaussian_pthreads.cpp utils.hpp -o gaussianPthreads -lpthread
./gaussianPthreads test1
expthreads1:
./gaussianPthreads test1
pthreads2:
g++ gaussian_pthreads.cpp utils.hpp -o gaussianPthreads -lpthread
./gaussianPthreads test2
expthreads2:
./gaussianPthreads test2
pthreads3:
g++ gaussian_pthreads.cpp utils.hpp -o gaussianPthreads -lpthread
./gaussianPthreads test3
expthreads3:
./gaussianPthreads test3
seq1:
g++ gaussian.cpp utils.hpp -o gaussian
./gaussian test1
exseq1:
./gaussian test1
seq2:
g++ gaussian.cpp utils.hpp -o gaussian
./gaussian test2
exseq2:
./gaussian test2
seq3:
g++ gaussian.cpp utils.hpp -o gaussian
./gaussian test3
exseq3:
./gaussian test3
execAllTests:
g++ gaussian.cpp utils.hpp -o gaussian
g++ gaussian_pthreads.cpp utils.hpp -o gaussianPthreads -lpthread
g++ -fopenmp gaussian_openMP.cpp utils.hpp -o gaussianOMP -lpthread
$(MAKE) exseq1
$(MAKE) exseq2
$(MAKE) exseq3
$(MAKE) expthreads1
$(MAKE) expthreads2
$(MAKE) expthreads3
$(MAKE) exopenmp1
$(MAKE) exopenmp2
$(MAKE) exopenmp3
clean:
rm output*
pythonScript:
python3 kolmogorov.py