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

3 4 5 6 7 8
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
9 10
              src/modelconfig/configlex.l \
			  src/modelconfig/README.txt \
Jonathan Jenkins's avatar
Jonathan Jenkins committed
11
			  src/util/templates/README.txt \
Jonathan Jenkins's avatar
Jonathan Jenkins committed
12 13 14
			  src/util/README.codes-mapping.txt \
			  src/util/README.lp-io.txt \
			  src/workload/README.codes-workload \
15 16
			  src/network-workloads/README_synthetic.txt \
			  src/network-workloads/README_traces.txt \
17
			  src/network-workloads/workloads.conf \
18
			  src/network-workloads/README_synthetic_slimfly.txt \
19 20 21 22 23
			  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 \
24 25 26 27
			  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 \
28
			  src/network-workloads/conf/modelnet-synthetic-fattree.conf \
29 30 31 32 33
			  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 \
34 35 36
			  src/networks/model-net/doc/README.torus.txt \
			  src/networks/model-net/doc/README.slimfly.txt

Jonathan Jenkins's avatar
Jonathan Jenkins committed
37

38 39 40
#src/network-workload/README
#src/network-workload/offsets
#src/network-workload/scala-trace-data
Jonathan Jenkins's avatar
Jonathan Jenkins committed
41

42 43 44 45 46 47 48 49 50 51 52

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

53
#BUILT_SOURCES += src/iokernellang/codesparser.h \
54 55
#		 src/iokernellang/codesparser.c \
#                 src/iokernellang/codeslexer.h \
56
#                 src/iokernellang/codeslexer.h
57 58 59


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

61
#src/iokernellang/codesparser.c src/iokernellang/codesparser.h: src/iokernellang/codesparser.y
62

63
#src/iokernellang/codeslexer.h: $(top_srcdir)/src/iokernellang/codeslexer.h
Jonathan Jenkins's avatar
Jonathan Jenkins committed
64
#mkdir -p codes
65
#cp $(top_srcdir)/src/iokernellang/codeslexer.h src/iokernellang/codeslexer.h
Philip Carns's avatar
Philip Carns committed
66

67 68
nobase_include_HEADERS = \
    codes/quickhash.h \
69 70 71 72 73
    codes/quicklist.h \
    codes/codes_mapping.h \
    codes/lp-type-lookup.h \
    codes/codes.h \
    codes/configuration.h \
74
    codes/lp-io.h \
75
	codes/lp-msg.h \
76
    codes/jenkins-hash.h \
77 78
    codes/codes-workload.h \
	codes/resource.h \
79
	codes/resource-lp.h \
80
	codes/local-storage-model.h \
81
	codes/rc-stack.h \
82
	codes/codes-jobmap.h \
83
	codes/codes-callback.h \
84 85 86 87 88 89
	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 \
90
	codes/net/common-net.h \
91
	codes/net/dragonfly.h \
92
	codes/net/dragonfly-custom.h \
93
	codes/net/slimfly.h \
94
	codes/net/fattree.h \
95 96 97
	codes/net/loggp.h \
	codes/net/simplenet-upd.h \
	codes/net/simplep2p.h \
98
	codes/net/express-mesh.h \
99
	codes/net/torus.h \
100
  codes/codes-mpi-replay.h \
101
	codes/configfile.h
102

Philip Carns's avatar
Philip Carns committed
103

Jonathan Jenkins's avatar
Jonathan Jenkins committed
104 105
#codes/codes-nw-workload.h

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

170 171
src_libcodes_mpi_replay_la_SOURCES = \
  src/network-workloads/model-net-mpi-replay.c
172

Jonathan Jenkins's avatar
Jonathan Jenkins committed
173
#codes/codes-nw-workload.h
174 175 176
#src/network-workload/codes-nw-workload.c
#src/network-workload/codes-nw-workload-method.h

177 178 179 180 181 182 183 184
# 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
185 186

bin_PROGRAMS += src/workload/codes-workload-dump
187
bin_PROGRAMS += src/networks/model-net/topology-test
188 189 190
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
191
bin_PROGRAMS += src/network-workloads/model-net-synthetic-custom-dfly
192
bin_PROGRAMS += src/network-workloads/model-net-synthetic-slimfly
193
bin_PROGRAMS += src/network-workloads/model-net-synthetic-fattree
194 195 196

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

Neil McGlohon's avatar
Neil McGlohon committed
198
src_network_workloads_model_net_dumpi_traces_dump_SOURCES = src/network-workloads/model-net-dumpi-traces-dump.c
199
src_network_workloads_model_net_synthetic_slimfly_SOURCES = src/network-workloads/model-net-synthetic-slimfly.c
200 201 202
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
203
src_network_workloads_model_net_mpi_replay_CFLAGS = $(AM_CFLAGS)
Neil McGlohon's avatar
Neil McGlohon committed
204 205
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
206
src_networks_model_net_topology_test_SOURCES = src/networks/model-net/topology-test.c
207

208
#bin_PROGRAMS += src/network-workload/codes-nw-test
209

210 211 212 213
#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}
214

215 216 217 218 219 220 221
#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}