-
Notifications
You must be signed in to change notification settings - Fork 32
/
Make_unpack
171 lines (144 loc) · 3.76 KB
/
Make_unpack
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
OBSOLETE
# Makefile for upacking tar files of MILC code
# C. DeTar 3/26/08
# Targets
# all gets all
# <app> gets only files needed for a specific application
# where <app> is the name of an application directory
######################################################################
# Rules for unpacking
# We assume that the user has already untarred the primary
# file ${WORK_NAME_ROOT}.tar.gz or ${RELEASE_NAME_ROOT}.tar.gz
# into a clean directory
# NOTE: These targets WILL overwrite any files with the
# same names as the package files.
include Make_contents
all: ${TAR}
for f in ${TAR} ;\
do \
tar -xf $$f ;\
done
# The following targets are intended to give the user a subset of
# files needed for a selected application, in case the whole release
# is not unpacked.
ALL_APPS = \
arb_dirac_eigen \
arb_dirac_invert \
clover_dynamical \
clover_hybrids \
clover_invert \
clover_invert2 \
dense_static_su3 \
ext_src \
file_utilities \
gluon_prop \
h_dibaryon \
heavy \
hvy_qpot \
ks_eigen \
ks_hl_spectrum \
ks_imp_dyn \
ks_imp_rhmc \
ks_imp_utilities \
ks_imp_invert_multi \
pure_gauge \
pw_nr_meson \
schroed_cl_inv \
schroed_ks_dyn \
schroed_pg \
smooth_inst \
string_break \
symanzik_sl32 \
wilson_dynamical \
wilson_static
${ALL_APPS}: MAKE_basic
arb_dirac_eigen: MAKE_generic_quark
arb_dirac_invert: MAKE_generic_quark
clover_dynamical: MAKE_generic_quark MAKE_generic_clover
clover_hybrids: MAKE_generic_quark MAKE_generic_clover
clover_invert: MAKE_generic_quark MAKE_generic_clover
clover_invert2: MAKE_generic_quark MAKE_generic_clover
dense_static_su3: MAKE_generic_quark
ext_src: MAKE_generic_quark MAKE_generic_clover
file_utilities: MAKE_generic_quark
gluon_prop: MAKE_generic_quark
h_dibaryon: MAKE_generic_quark MAKE_generic_clover
heavy: MAKE_generic_quark
hvy_qpot:
ks_eigen: MAKE_generic_quark
ks_hl_spectrum: MAKE_generic_quark
ks_imp_dyn: MAKE_generic_quark
ks_imp_utilities: MAKE_generic_quark
ks_imp_invert_multi: MAKE_generic_quark
ks_imp_rhmc: MAKE_generic_quark
pure_gauge: MAKE_generic_pg
pw_nr_meson: MAKE_generic_quark MAKE_generic_clover
schroed_cl_inv: MAKE_generic_quark MAKE_generic_clover MAKE_generic_schroed
schroed_ks_dyn: MAKE_generic_quark MAKE_generic_schroed
schroed_pg: MAKE_generic_pg MAKE_generic_schroed
string_break: MAKE_generic_quark
symanzik_sl32: MAKE_generic_pg
wilson_dynamical: MAKE_generic_quark
wilson_static: MAKE_generic_quark
# Rules for the generic directories
MAKE_basic:
tar -xf ${BASIC_TAR}
MAKE_generic_clover:
tar -xf ${CLOVER_TAR} generic_clover
MAKE_generic_form:
tar -xf ${FORM_TAR} generic_form
MAKE_generic_ks:
tar -xf ${KS_TAR} generic_ks
MAKE_generic_pg:
tar -xf ${PURE_GAUGE_TAR} generic_pg
MAKE_generic_wilson:
tar -xf ${WILSON_TAR} generic_wilson
MAKE_generic_quark: MAKE_generic_ks MAKE_generic_wilson
# Rules for specific application directories
generic_pg \
pure_gauge \
hvy_qpot \
: ${PURE_GAUGE_TAR}
tar -xf ${PURE_GAUGE_TAR} $@
generic_clover \
clover_dynamical \
clover_hybrids \
clover_invert \
clover_invert2 \
h_dibaryon \
: ${CLOVER_TAR}
tar -xf ${CLOVER_TAR} $@
generic_form \
: ${FORM_TAR}
tar -xf ${FORM_TAR} $@
arb_dirac_invert \
arb_dirac_eigen \
symanzik_sl32 \
: ${FP_TAR}
tar -xf ${FP_TAR} $@
smooth_inst : ${INST_TAR}
tar -xf ${INST_TAR} $@
dense_static_su3 \
generic_ks \
gluon_prop \
ks_eigen \
ks_imp_dyn \
ks_imp_rhmc \
ks_imp_utilities \
ks_imp_invert_multi \
string_break \
: ${KS_TAR}
tar -xf ${KS_TAR} $@
generic_schroed \
schroed_cl_inv \
schroed_ks_dyn \
schroed_pg \
: ${SF_TAR}
tar -xf ${SF_TAR} $@
generic_wilson \
heavy \
wilson_dynamical \
wilson_schroed \
wilson_static \
: ${WILSON_TAR}
tar -xf ${WILSON_TAR} $@