Makefile.subdir 8.83 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/conf/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/connection-manager.h	\
95
	codes/net/common-net.h \
96
	codes/net/dragonfly.h \
97
	codes/net/dragonfly-custom.h \
98 99
	codes/net/dragonfly-dally.h \
	codes/net/dragonfly-plus.h \
100
	codes/net/slimfly.h \
101
	codes/net/fattree.h \
102 103 104
	codes/net/loggp.h \
	codes/net/simplenet-upd.h \
	codes/net/simplep2p.h \
105
	codes/net/express-mesh.h \
106
	codes/net/torus.h \
107
    codes/codes-mpi-replay.h \
108
	codes/configfile.h
109

Philip Carns's avatar
Philip Carns committed
110

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

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

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

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

185 186 187 188 189 190 191 192
# 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
193 194

bin_PROGRAMS += src/workload/codes-workload-dump
195
bin_PROGRAMS += src/networks/model-net/topology-test
196 197 198
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
199
bin_PROGRAMS += src/network-workloads/model-net-synthetic-custom-dfly
200
bin_PROGRAMS += src/network-workloads/model-net-synthetic-slimfly
201
bin_PROGRAMS += src/network-workloads/model-net-synthetic-fattree
202
bin_PROGRAMS += src/network-workloads/model-net-synthetic-dfly-plus
203
bin_PROGRAMS += src/network-workloads/model-net-synthetic-dally-dfly
204

205 206 207

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

Neil McGlohon's avatar
Neil McGlohon committed
209
src_network_workloads_model_net_dumpi_traces_dump_SOURCES = src/network-workloads/model-net-dumpi-traces-dump.c
210
src_network_workloads_model_net_synthetic_slimfly_SOURCES = src/network-workloads/model-net-synthetic-slimfly.c
211 212 213
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
214
src_network_workloads_model_net_mpi_replay_CFLAGS = $(AM_CFLAGS)
Neil McGlohon's avatar
Neil McGlohon committed
215 216
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
217
src_network_workloads_model_net_synthetic_dfly_plus_SOURCES = src/network-workloads/model-net-synthetic-dfly-plus.c
218
src_network_workloads_model_net_synthetic_dally_dfly_SOURCES = src/network-workloads/model-net-synthetic-dally-dfly.c
219
src_networks_model_net_topology_test_SOURCES = src/networks/model-net/topology-test.c
220

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

223 224 225 226
#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}
227

228 229 230 231 232 233 234
#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}