Makefile.subdir 8.79 KB
Newer Older
1
lib_LTLIBRARIES += src/libcodes.la src/libcodes_mpi_replay.la
2

3 4 5 6
AM_CPPFLAGS += $(BOOST_CPPFLAGS)
AM_LDFLAGS += $(BOOST_LDFLAGS)


7 8 9 10 11 12
BUILT_SOURCES += src/modelconfig/configparser.h \
                 src/modelconfig/configlex.h

EXTRA_DIST += src/iokernellang/codesparser.y.in \
              src/iokernellang/codeslexer.l \
              src/modelconfig/configparser.y \
Jonathan Jenkins's avatar
Jonathan Jenkins committed
13 14
              src/modelconfig/configlex.l \
			  src/modelconfig/README.txt \
Jonathan Jenkins's avatar
Jonathan Jenkins committed
15
			  src/util/templates/README.txt \
Jonathan Jenkins's avatar
Jonathan Jenkins committed
16 17 18
			  src/util/README.codes-mapping.txt \
			  src/util/README.lp-io.txt \
			  src/workload/README.codes-workload \
19 20
			  src/network-workloads/README_synthetic.txt \
			  src/network-workloads/README_traces.txt \
21
			  src/network-workloads/workloads.conf \
22
			  src/network-workloads/README_synthetic_slimfly.txt \
23 24 25 26 27
			  src/network-workloads/conf/modelnet-mpi-test.conf \
			  src/network-workloads/conf/modelnet-mpi-test-cry-router.conf \
			  src/network-workloads/conf/modelnet-mpi-test-dragonfly.conf \
			  src/network-workloads/conf/modelnet-mpi-test-mini-fe.conf \
			  src/network-workloads/conf/modelnet-mpi-test-torus.conf \
28 29 30 31
			  src/network-workloads/conf/allocation-cont.conf \
			  src/network-workloads/conf/allocation-random.conf \
			  src/network-workloads/conf/modelnet-synthetic-dragonfly.conf \
			  src/network-workloads/conf/modelnet-synthetic-slimfly-min.conf \
32
			  src/network-workloads/conf/modelnet-synthetic-fattree.conf \
33 34 35 36 37
			  src/networks/model-net/doc/README \
			  src/networks/model-net/doc/README.dragonfly.txt \
			  src/networks/model-net/doc/README.loggp.txt \
			  src/networks/model-net/doc/README.simplenet.txt \
			  src/networks/model-net/doc/README.simplep2p.txt \
38 39 40
			  src/networks/model-net/doc/README.torus.txt \
			  src/networks/model-net/doc/README.slimfly.txt

Jonathan Jenkins's avatar
Jonathan Jenkins committed
41

42 43 44
#src/network-workload/README
#src/network-workload/offsets
#src/network-workload/scala-trace-data
Jonathan Jenkins's avatar
Jonathan Jenkins committed
45

46 47 48 49 50 51 52 53 54 55 56

PHONY: maintainer-clean-local
maintainer-clean-local::
	-rm -f src/modelconfig/configlex.h
	-rm -f src/modelconfig/configlex.c
	-rm -f src/modelconfig/configparser.h
	-rm -f src/modelconfig/configparser.c

src/modelconfig/configparser.h: src/modelconfig/configparser.y
src/modelconfig/configlex.h: src/modelconfig/configlex.l

57
#BUILT_SOURCES += src/iokernellang/codesparser.h \
58 59
#		 src/iokernellang/codesparser.c \
#                 src/iokernellang/codeslexer.h \
60
#                 src/iokernellang/codeslexer.h
61 62 63


#src/iokernellang/codesparser.y: src/iokernellang/codesparser.y.in Makefile
64

65
#src/iokernellang/codesparser.c src/iokernellang/codesparser.h: src/iokernellang/codesparser.y
66

67
#src/iokernellang/codeslexer.h: $(top_srcdir)/src/iokernellang/codeslexer.h
Jonathan Jenkins's avatar
Jonathan Jenkins committed
68
#mkdir -p codes
69
#cp $(top_srcdir)/src/iokernellang/codeslexer.h src/iokernellang/codeslexer.h
Philip Carns's avatar
Philip Carns committed
70

71 72
nobase_include_HEADERS = \
    codes/quickhash.h \
73 74 75 76 77
    codes/quicklist.h \
    codes/codes_mapping.h \
    codes/lp-type-lookup.h \
    codes/codes.h \
    codes/configuration.h \
78
    codes/lp-io.h \
79
	codes/lp-msg.h \
80
    codes/jenkins-hash.h \
81 82
    codes/codes-workload.h \
	codes/resource.h \
83
	codes/resource-lp.h \
84
	codes/local-storage-model.h \
85
	codes/rc-stack.h \
86
	codes/codes-jobmap.h \
87
	codes/codes-callback.h \
88 89 90 91 92 93
	codes/codes-mapping-context.h \
	codes/model-net.h	\
	codes/model-net-method.h \
	codes/model-net-lp.h \
	codes/model-net-sched.h \
	codes/model-net-inspect.h \
94
	codes/net/common-net.h \
95
	codes/net/dragonfly.h \
96
	codes/net/dragonfly-custom.h \
97 98
	codes/net/dragonfly-dally.h \
	codes/net/dragonfly-plus.h \
99
	codes/net/slimfly.h \
100
	codes/net/fattree.h \
101 102 103
	codes/net/loggp.h \
	codes/net/simplenet-upd.h \
	codes/net/simplep2p.h \
104
	codes/net/express-mesh.h \
105
	codes/net/torus.h \
106
  codes/codes-mpi-replay.h \
107
	codes/configfile.h
108

Philip Carns's avatar
Philip Carns committed
109

Jonathan Jenkins's avatar
Jonathan Jenkins committed
110 111
#codes/codes-nw-workload.h

112
src_libcodes_la_SOURCES =  \
113
    src/iokernellang/codesparser.h \
114
    src/iokernellang/codesparser.c \
115
    src/iokernellang/codeslexer.h \
116 117
    src/iokernellang/codeslexer.c \
    src/iokernellang/codesImpl.c \
118 119 120 121
    src/iokernellang/CodesIOKernelContext.h \
    src/iokernellang/CodesIOKernelParser.h \
    src/iokernellang/CodesIOKernelTypes.h \
    src/iokernellang/CodesKernelHelpers.h \
122 123 124 125 126 127 128 129 130 131 132 133
    src/iokernellang/CodesKernelHelpers.c \
    src/modelconfig/configlex.c \
    src/modelconfig/configlex.h \
    src/modelconfig/configparser.c \
    src/modelconfig/configparser.h \
    src/modelconfig/configfile.c \
    src/modelconfig/configglue.h \
    src/modelconfig/configglue.c \
    src/modelconfig/configstore.h \
    src/modelconfig/configstore.c \
    src/modelconfig/configstoreadapter.h \
    src/modelconfig/configstoreadapter.c \
134
    src/modelconfig/txt_configfile.h \
Philip Carns's avatar
Philip Carns committed
135
    src/modelconfig/txt_configfile.c \
136
    src/modelconfig/configuration.c \
137 138 139
    src/util/codes_mapping.c \
    src/util/lp-type-lookup.c \
    src/util/lp-io.c \
140
	src/util/lp-msg.c \
141
    src/util/lookup3.c \
142 143
	src/util/resource.c \
	src/util/resource-lp.c \
144
	src/util/local-storage-model.c \
145 146 147
	src/util/codes-jobmap-method-impl.h \
	src/util/codes-jobmap.c \
	src/util/jobmap-impl/jobmap-dummy.c \
148
	src/util/jobmap-impl/jobmap-list.c\
149
	src/util/jobmap-impl/jobmap-identity.c\
150
	src/util/codes-mapping-context.c \
151
  	src/util/codes-comm.c \
152
    src/workload/codes-workload.c \
153
    src/workload/methods/codes-iolang-wrkld.c \
154
    src/workload/methods/codes-checkpoint-wrkld.c \
155
    src/workload/methods/test-workload-method.c \
156
	src/workload/methods/codes-iomock-wrkld.c \
157
	codes/rc-stack.h \
158 159
	src/util/rc-stack.c \
	src/networks/model-net/model-net.c \
160
	src/networks/model-net/common-net.c \
161 162
	src/networks/model-net/simplenet-upd.c \
	src/networks/model-net/torus.c \
163
	src/networks/model-net/express-mesh.C \
164
	src/networks/model-net/dragonfly.c \
165
	src/networks/model-net/dragonfly-custom.C \
Neil McGlohon's avatar
Neil McGlohon committed
166
	src/networks/model-net/dragonfly-plus.C \
167
	src/networks/model-net/dragonfly-dally.C \
168
	src/networks/model-net/slimfly.c \
169
	src/networks/model-net/fattree.c \
170 171 172 173 174
	src/networks/model-net/loggp.c \
	src/networks/model-net/simplep2p.c \
	src/networks/model-net/model-net-lp.c \
	src/networks/model-net/model-net-sched.c \
	src/networks/model-net/model-net-sched-impl.h \
Neil McGlohon's avatar
Neil McGlohon committed
175
	src/networks/model-net/model-net-sched-impl.c
176

177 178
src_libcodes_mpi_replay_la_SOURCES = \
  src/network-workloads/model-net-mpi-replay.c
179

Jonathan Jenkins's avatar
Jonathan Jenkins committed
180
#codes/codes-nw-workload.h
181 182 183
#src/network-workload/codes-nw-workload.c
#src/network-workload/codes-nw-workload-method.h

184 185 186 187 188 189 190 191
# stealth testing of the template code (actual test is not run, just compiled as
# a program - Make error signifies test failure)
check_PROGRAMS += src/util/templates/lp_template_dummy_main
src_util_templates_lp_template_dummy_main_SOURCES = \
 src/util/templates/lp_template_dummy_main.c \
 src/util/templates/lp_template.c \
 src/util/templates/lp_template.h
# get rid of annoying unused function in template
192 193

bin_PROGRAMS += src/workload/codes-workload-dump
194
bin_PROGRAMS += src/networks/model-net/topology-test
195 196 197
bin_PROGRAMS += src/network-workloads/model-net-mpi-replay
bin_PROGRAMS += src/network-workloads/model-net-dumpi-traces-dump
bin_PROGRAMS += src/network-workloads/model-net-synthetic
198
bin_PROGRAMS += src/network-workloads/model-net-synthetic-custom-dfly
199
bin_PROGRAMS += src/network-workloads/model-net-synthetic-slimfly
200
bin_PROGRAMS += src/network-workloads/model-net-synthetic-fattree
201
bin_PROGRAMS += src/network-workloads/model-net-synthetic-dfly-plus
202
bin_PROGRAMS += src/network-workloads/model-net-synthetic-dally-dfly
203

204 205 206

src_workload_codes_workload_dump_SOURCES = \
 src/workload/codes-workload-dump.c
207

Neil McGlohon's avatar
Neil McGlohon committed
208
src_network_workloads_model_net_dumpi_traces_dump_SOURCES = src/network-workloads/model-net-dumpi-traces-dump.c
209
src_network_workloads_model_net_synthetic_slimfly_SOURCES = src/network-workloads/model-net-synthetic-slimfly.c
210 211 212
src_network_workloads_model_net_mpi_replay_SOURCES = \
	src/network-workloads/model-net-mpi-replay.c \
  src/network-workloads/model-net-mpi-replay-main.c
213
src_network_workloads_model_net_mpi_replay_CFLAGS = $(AM_CFLAGS)
Neil McGlohon's avatar
Neil McGlohon committed
214 215
src_network_workloads_model_net_synthetic_SOURCES = src/network-workloads/model-net-synthetic.c
src_network_workloads_model_net_synthetic_custom_dfly_SOURCES = src/network-workloads/model-net-synthetic-custom-dfly.c
216
src_network_workloads_model_net_synthetic_dfly_plus_SOURCES = src/network-workloads/model-net-synthetic-dfly-plus.c
217
src_network_workloads_model_net_synthetic_dally_dfly_SOURCES = src/network-workloads/model-net-synthetic-dally-dfly.c
218
src_networks_model_net_topology_test_SOURCES = src/networks/model-net/topology-test.c
219

220
#bin_PROGRAMS += src/network-workload/codes-nw-test
221

222 223 224 225
#src_network_workload_codes_nw_test_SOURCES = \
 #src/network-workload/codes-nw-test.c
#src_network_workload_codes_nw_test_LDADD = $(testlib) ${ROSS_LIBS} ${DUMPI_LIBS}
#src_network_workload_codes_nw_test_LDFLAGS =  ${ROSS_LDFLAGS}
226

227 228 229 230 231 232 233
#bin_PROGRAMS += src/network-workload/codes-dumpi-wrkld

#src_network_workload_codes_dumpi_wrkld_SOURCES = \
 src/network-workload/codes-dumpi-wrkld.c
#src_network_workload_codes_dumpi_wrkld_LDADD = $(testlib) ${ROSS_LIBS} ${DUMPI_LIBS}
#src_network_workload_codes_dumpi_wrkld_LDFLAGS =  ${ROSS_LDFLAGS}