-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile_8_no_arch
126 lines (88 loc) · 5.37 KB
/
Makefile_8_no_arch
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
Arnoldi_LAPACKs:
2>result_make.txt
g++ -m64 -g Source/Arnoldi/LAPACK_routines.cpp -o Obj/Arnoldi/Arnoldi_LAPACK_routines.o -c 2>>result_make.txt
Arnoldi_Products:
2>result_make.txt
g++ -m64 -g Source/Arnoldi/Products.cpp -o Obj/Arnoldi/Arnoldi_Products.o -c 2>>result_make.txt
Arnoldi_Shifts:
2>result_make.txt
g++ -m64 -g Source/Arnoldi/Select_Shifts.cpp -o Obj/Arnoldi/Arnoldi_Select_Shifts.o -c 2>>result_make.txt
Arnoldi_QRshifts:
2>result_make.txt
g++ -m64 -g Source/Arnoldi/QR_Shifts.cpp -o Obj/Arnoldi/Arnoldi_QR_Shifts.o -c 2>>result_make.txt
Arnoldi_timer:
2>result_make.txt
g++ -m64 -g Source/Arnoldi/timer.cpp -o Obj/Arnoldi/Arnoldi_timer.o -c 2>>result_make.txt
Arnoldi_Matrix_Vector_emulator:
2>result_make.txt
nvcc -m64 -g Source/Arnoldi/Matrix_Vector_emulator.cu -o Obj/Arnoldi/Arnoldi_Matrix_Vector_emulator.o -c 2>>result_make.txt
Arnoldi_Arnoldi_Driver:
2>result_make.txt
nvcc -m64 -g Source/Arnoldi/Arnoldi_Driver.cu -o Obj/Arnoldi/Arnoldi_Arnoldi_Driver.o -c 2>>result_make.txt
Arnoldi_file_operations:
2>result_make.txt
g++ -m64 -g Source/Arnoldi/file_operations.cpp -o Obj/Arnoldi/Arnoldi_file_operations.o -c 2>>result_make.txt
Arnoldi_memory_operations:
2>result_make.txt
nvcc -m64 -g Source/Arnoldi/memory_operations.cu -o Obj/Arnoldi/Arnoldi_memory_operations.o -c 2>>result_make.txt
Arnoldi_cuda_supp:
2>result_make.txt
nvcc -m64 -g Source/Arnoldi/cuda_supp.cu -o Obj/Arnoldi/Arnoldi_cuda_supp.o -c 2>>result_make.txt
Arnoldi_Implicit_restart_Arnoldi:
2>result_make.txt
nvcc -m64 -g Source/Arnoldi/Implicit_restart_Arnoldi.cu -o Obj/Arnoldi/Arnoldi_Implicit_restart_Arnoldi.o -c 2>>result_make.txt
Arnoldi_deb:
2>result_make.txt
nvcc -m64 -g Source/Arnoldi/cuda_test.cu -o Arnoldi_test Obj/Arnoldi/Arnoldi_LAPACK_routines.o Obj/Arnoldi/Arnoldi_Products.o Obj/Arnoldi/Arnoldi_Select_Shifts.o Obj/Arnoldi/Arnoldi_QR_Shifts.o Obj/Arnoldi/Arnoldi_timer.o Obj/Arnoldi/Arnoldi_Matrix_Vector_emulator.o Obj/Arnoldi/Arnoldi_Arnoldi_Driver.o Obj/Arnoldi/Arnoldi_file_operations.o Source/Arnoldi/memory_operations.cu Obj/Arnoldi/Arnoldi_cuda_supp.o Obj/Arnoldi/Arnoldi_Implicit_restart_Arnoldi.o -llapack -lblas -lgfortran -lm -lcublas 2>>result_make.txt
BiCGstabL:
2>result_make.txt
nvcc -m64 -g Source/Arnoldi/BiCGStabL.cu -o Obj/Arnoldi/BiCGStabL.o -c 2>>result_make.txt
Newton:
2>result_make.txt
nvcc -m64 -g Source/Arnoldi/Newton.cu -o Obj/Arnoldi/Newton.o -c 2>>result_make.txt
Arnoldi_all:
make Arnoldi_LAPACKs Arnoldi_Products Arnoldi_Shifts Arnoldi_QRshifts Arnoldi_timer Arnoldi_Matrix_Vector_emulator Arnoldi_Arnoldi_Driver Arnoldi_file_operations Arnoldi_memory_operations Arnoldi_cuda_supp Arnoldi_Implicit_restart_Arnoldi BiCGstabL
Jacobian:
2>result_make.txt
nvcc -g -m64 Source/Jacobian.cu -o Obj/Jacobian.o -c 2>>result_make.txt
Shapiro:
2>result_make.txt
nvcc -g -m64 Source/Shapiro_test.cu -o Obj/Shapiro_test.o -c 2>>result_make.txt
file:
2>result_make.txt
nvcc -g -m64 Source/file_operations.cu -o Obj/file_operations.o -c 2>>result_make.txt
supp:
2>result_make.txt
nvcc -g -m64 Source/cuda_supp.cu -o Obj/cuda_supp.o -c 2>>result_make.txt
nvcc -g -m64 Source/file_operations.cu -o Obj/file_operations.o -c 2>>result_make.txt
nvcc -g -m64 Source/memory_operations.cu -o Obj/memory_operations.o -c 2>>result_make.txt
nvcc -g -m64 Source/min_max_reduction.cu -o Obj/min_max_reduction.o -c 2>>result_make.txt
adv_2p3:
2>result_make.txt
nvcc -g -m64 Source/advection_2_3.cu -o Obj/advection_2_3.o -c 2>>result_make.txt
adv_WENO:
2>result_make.txt
nvcc -g -m64 Source/advection_WENO.cu -o Obj/advection_WENO.o -c 2>>result_make.txt
math:
2>result_make.txt
nvcc -g -m64 Source/diffusion.cu -o Obj/diffusion.o -c 2>>result_make.txt
nvcc -g -m64 Source/math_support.cu -o Obj/math_support.o -c 2>>result_make.txt
nvcc -g -m64 Source/divergence.cu -o Obj/divergence.o -c 2>>result_make.txt
rkstep:
2>result_make.txt
nvcc -g -m64 Source/RK_time_step.cu -o Obj/RK_time_step.o -c 2>>result_make.txt
return_map:
2>result_make.txt
nvcc -g -m64 Source/return_map.cu -o Obj/return_map.o -c 2>>result_make.txt
NS_deb:
2>result_make.txt
nvcc -g -m64 Source/NS3D_periodic.cu -o NS3D_periodic -lcufft -lm Obj/cuda_supp.o Obj/file_operations.o Obj/math_support.o Obj/memory_operations.o Obj/divergence.o Obj/diffusion.o Obj/RK_time_step.o Obj/min_max_reduction.o Obj/advection_2_3.o Obj/advection_WENO.o Obj/Shapiro_test.o Obj/Jacobian.o 2>>result_make.txt
NS_all:
make Jacobian adv_2p3 adv_WENO supp math rkstep Shapiro
clear:
cd Obj; \
rm *.o
rm *.pos *.dat NS3D_periodic result_make.txt
deb_all:
2>result_make.txt
nvcc -g -m64 Source/NS3D_periodic.cu -o NS3D_periodic Obj/cuda_supp.o Obj/file_operations.o Obj/math_support.o Obj/memory_operations.o Obj/divergence.o Obj/diffusion.o Obj/RK_time_step.o Obj/min_max_reduction.o Obj/advection_2_3.o Obj/advection_WENO.o Obj/Shapiro_test.o Obj/Jacobian.o Obj/Arnoldi/Arnoldi_LAPACK_routines.o Obj/Arnoldi/Arnoldi_Products.o Obj/Arnoldi/Arnoldi_Select_Shifts.o Obj/Arnoldi/Arnoldi_QR_Shifts.o Obj/Arnoldi/Arnoldi_timer.o Obj/Arnoldi/Arnoldi_Matrix_Vector_emulator.o Obj/Arnoldi/Arnoldi_Arnoldi_Driver.o Obj/Arnoldi/Arnoldi_file_operations.o Source/Arnoldi/memory_operations.cu Obj/Arnoldi/Arnoldi_cuda_supp.o Obj/Arnoldi/Arnoldi_Implicit_restart_Arnoldi.o Obj/Arnoldi/BiCGStabL.o Obj/Arnoldi/Newton.o -L/opt/OpenBLAS/lib Obj/return_map.o -llapack -lblas -lopenblas -lgfortran -lm -lcublas -lcufft 2>>result_make.txt