gras_msg_handle_msg_handle_server_LDADD= $(LDADD_RL)
gras/msg_handle/_msg_handle_simulator.c gras/msg_handle/_msg_handle_client.c gras/msg_handle/_msg_handle_server.c : gras/msg_handle/msg_handle.c gras/msg_handle/msg_handle.xml $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@
- mkdir -p gras/msg_handle; cd gras/msg_handle; ../../$(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@ msg_handle ../../$(top_srcdir)/teshsuite/gras/msg_handle/msg_handle.xml
+ mkdir -p gras/msg_handle; \
+ cd gras/msg_handle;\
+ ../../$(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@ msg_handle ../../$(top_srcdir)/teshsuite/gras/msg_handle/msg_handle.xml
+
if GRAS_ARCH_32_BITS
TESTS += gras/msg_handle/test_rl gras/msg_handle/test_sg_32
else
TESTS += gras/msg_handle/test_rl gras/msg_handle/test_sg_64
endif
-
+
+
+###################################
+# network model test via SimDag API
+###################################
+
+# misc tests
+
+noinst_PROGRAMS += simdag/network/test_reinit_costs
+EXTRA_DIST += simdag/network/platform_2p_1sl.xml
+simdag_network_test_reinit_costs_SOURCES = simdag/network/test_reinit_costs.c
+simdag_network_test_reinit_costs_LDADD = $(LDADD_SG)
+TESTS += \
+ simdag/network/test_reinit_costs.tesh
+
+# p2p
+
+noinst_PROGRAMS += simdag/network/p2p/test_latency1 \
+ simdag/network/p2p/test_latency2 \
+ simdag/network/p2p/test_latency3 \
+ simdag/network/p2p/test_latency_bound
+
+EXTRA_DIST += simdag/network/p2p/platform_2p_1sl.xml \
+ simdag/network/p2p/platform_2p_1fl.xml \
+ simdag/network/p2p/platform_2p_1switch.xml \
+ simdag/network/p2p/platform_2p_1bb.xml
+
+simdag_network_p2p_test_latency1_SOURCES = simdag/network/p2p/test_latency1.c
+simdag_network_p2p_test_latency1_LDADD = $(LDADD_SG)
+simdag_network_p2p_test_latency2_SOURCES = simdag/network/p2p/test_latency2.c
+simdag_network_p2p_test_latency2_LDADD = $(LDADD_SG)
+simdag_network_p2p_test_latency3_SOURCES = simdag/network/p2p/test_latency3.c
+simdag_network_p2p_test_latency3_LDADD = $(LDADD_SG)
+simdag_network_p2p_test_latency_bound_SOURCES = simdag/network/p2p/test_latency_bound.c
+simdag_network_p2p_test_latency_bound_LDADD = $(LDADD_SG)
+
+TESTS += \
+ simdag/network/p2p/test_latency1.tesh \
+ simdag/network/p2p/test_latency2.tesh \
+ simdag/network/p2p/test_latency3.tesh \
+ simdag/network/p2p/test_latency_bound.tesh
+
+# m x n tests
+
+noinst_PROGRAMS += simdag/network/mxn/test_intra_all2all \
+ simdag/network/mxn/test_intra_independent_comm \
+ simdag/network/mxn/test_intra_scatter
+
+EXTRA_DIST += simdag/network/mxn/platform_4p_1switch.xml
+
+simdag_network_mxn_test_intra_all2all_SOURCES = simdag/network/mxn/test_intra_all2all.c
+simdag_network_mxn_test_intra_all2all_LDADD = $(LDADD_SG)
+simdag_network_mxn_test_intra_independent_comm_SOURCES = simdag/network/mxn/test_intra_independent_comm.c
+simdag_network_mxn_test_intra_independent_comm_LDADD = $(LDADD_SG)
+simdag_network_mxn_test_intra_scatter_SOURCES = simdag/network/mxn/test_intra_scatter.c
+simdag_network_mxn_test_intra_scatter_LDADD = $(LDADD_SG)
+
+TESTS += \
+ simdag/network/mxn/test_intra_all2all.tesh \
+ simdag/network/mxn/test_intra_independent_comm.tesh \
+ simdag/network/mxn/test_intra_scatter.tesh
+
+# testing parallel tasks
+
+noinst_PROGRAMS += simdag/partask/test_comp_only_seq \
+ simdag/partask/test_comp_only_par
+
+EXTRA_DIST += simdag/partask/platform_2p_1sl_hetero.xml \
+ simdag/partask/platform_2p_1sl.xml
+
+simdag_partask_test_comp_only_seq_SOURCES = simdag/partask/test_comp_only_seq.c
+simdag_partask_test_comp_only_seq_LDADD = $(LDADD_SG)
+simdag_partask_test_comp_only_par_SOURCES = simdag/partask/test_comp_only_par.c
+simdag_partask_test_comp_only_par_LDADD = $(LDADD_SG)
+
+TESTS += \
+ simdag/partask/test_comp_only_seq.tesh \
+ simdag/partask/test_comp_only_par.tesh
include $(top_srcdir)/acmacro/dist-files.mk
gras/datadesc/datadesc_usage$(EXEEXT) \
gras/msg_handle/msg_handle_client$(EXEEXT) \
gras/msg_handle/msg_handle_server$(EXEEXT) \
- gras/msg_handle/msg_handle_simulator$(EXEEXT)
+ gras/msg_handle/msg_handle_simulator$(EXEEXT) \
+ simdag/network/test_reinit_costs$(EXEEXT) \
+ simdag/network/p2p/test_latency1$(EXEEXT) \
+ simdag/network/p2p/test_latency2$(EXEEXT) \
+ simdag/network/p2p/test_latency3$(EXEEXT) \
+ simdag/network/p2p/test_latency_bound$(EXEEXT) \
+ simdag/network/mxn/test_intra_all2all$(EXEEXT) \
+ simdag/network/mxn/test_intra_independent_comm$(EXEEXT) \
+ simdag/network/mxn/test_intra_scatter$(EXEEXT) \
+ simdag/partask/test_comp_only_seq$(EXEEXT) \
+ simdag/partask/test_comp_only_par$(EXEEXT)
@GRAS_ARCH_32_BITS_TRUE@am__append_1 = gras/msg_handle/test_rl gras/msg_handle/test_sg_32
@GRAS_ARCH_32_BITS_FALSE@am__append_2 = gras/msg_handle/test_rl gras/msg_handle/test_sg_64
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
gras_msg_handle_msg_handle_simulator_OBJECTS = \
$(am_gras_msg_handle_msg_handle_simulator_OBJECTS)
gras_msg_handle_msg_handle_simulator_DEPENDENCIES = $(LDADD_SG)
+am_simdag_network_mxn_test_intra_all2all_OBJECTS = \
+ test_intra_all2all.$(OBJEXT)
+simdag_network_mxn_test_intra_all2all_OBJECTS = \
+ $(am_simdag_network_mxn_test_intra_all2all_OBJECTS)
+simdag_network_mxn_test_intra_all2all_DEPENDENCIES = $(LDADD_SG)
+am_simdag_network_mxn_test_intra_independent_comm_OBJECTS = \
+ test_intra_independent_comm.$(OBJEXT)
+simdag_network_mxn_test_intra_independent_comm_OBJECTS = \
+ $(am_simdag_network_mxn_test_intra_independent_comm_OBJECTS)
+simdag_network_mxn_test_intra_independent_comm_DEPENDENCIES = \
+ $(LDADD_SG)
+am_simdag_network_mxn_test_intra_scatter_OBJECTS = \
+ test_intra_scatter.$(OBJEXT)
+simdag_network_mxn_test_intra_scatter_OBJECTS = \
+ $(am_simdag_network_mxn_test_intra_scatter_OBJECTS)
+simdag_network_mxn_test_intra_scatter_DEPENDENCIES = $(LDADD_SG)
+am_simdag_network_p2p_test_latency1_OBJECTS = test_latency1.$(OBJEXT)
+simdag_network_p2p_test_latency1_OBJECTS = \
+ $(am_simdag_network_p2p_test_latency1_OBJECTS)
+simdag_network_p2p_test_latency1_DEPENDENCIES = $(LDADD_SG)
+am_simdag_network_p2p_test_latency2_OBJECTS = test_latency2.$(OBJEXT)
+simdag_network_p2p_test_latency2_OBJECTS = \
+ $(am_simdag_network_p2p_test_latency2_OBJECTS)
+simdag_network_p2p_test_latency2_DEPENDENCIES = $(LDADD_SG)
+am_simdag_network_p2p_test_latency3_OBJECTS = test_latency3.$(OBJEXT)
+simdag_network_p2p_test_latency3_OBJECTS = \
+ $(am_simdag_network_p2p_test_latency3_OBJECTS)
+simdag_network_p2p_test_latency3_DEPENDENCIES = $(LDADD_SG)
+am_simdag_network_p2p_test_latency_bound_OBJECTS = \
+ test_latency_bound.$(OBJEXT)
+simdag_network_p2p_test_latency_bound_OBJECTS = \
+ $(am_simdag_network_p2p_test_latency_bound_OBJECTS)
+simdag_network_p2p_test_latency_bound_DEPENDENCIES = $(LDADD_SG)
+am_simdag_network_test_reinit_costs_OBJECTS = \
+ test_reinit_costs.$(OBJEXT)
+simdag_network_test_reinit_costs_OBJECTS = \
+ $(am_simdag_network_test_reinit_costs_OBJECTS)
+simdag_network_test_reinit_costs_DEPENDENCIES = $(LDADD_SG)
+am_simdag_partask_test_comp_only_par_OBJECTS = \
+ test_comp_only_par.$(OBJEXT)
+simdag_partask_test_comp_only_par_OBJECTS = \
+ $(am_simdag_partask_test_comp_only_par_OBJECTS)
+simdag_partask_test_comp_only_par_DEPENDENCIES = $(LDADD_SG)
+am_simdag_partask_test_comp_only_seq_OBJECTS = \
+ test_comp_only_seq.$(OBJEXT)
+simdag_partask_test_comp_only_seq_OBJECTS = \
+ $(am_simdag_partask_test_comp_only_seq_OBJECTS)
+simdag_partask_test_comp_only_seq_DEPENDENCIES = $(LDADD_SG)
xbt_parallel_log_crashtest_SOURCES = xbt/parallel_log_crashtest.c
xbt_parallel_log_crashtest_OBJECTS = parallel_log_crashtest.$(OBJEXT)
xbt_parallel_log_crashtest_DEPENDENCIES = $(LDADD_RL)
$(gras_msg_handle_msg_handle_client_SOURCES) \
$(gras_msg_handle_msg_handle_server_SOURCES) \
$(gras_msg_handle_msg_handle_simulator_SOURCES) \
+ $(simdag_network_mxn_test_intra_all2all_SOURCES) \
+ $(simdag_network_mxn_test_intra_independent_comm_SOURCES) \
+ $(simdag_network_mxn_test_intra_scatter_SOURCES) \
+ $(simdag_network_p2p_test_latency1_SOURCES) \
+ $(simdag_network_p2p_test_latency2_SOURCES) \
+ $(simdag_network_p2p_test_latency3_SOURCES) \
+ $(simdag_network_p2p_test_latency_bound_SOURCES) \
+ $(simdag_network_test_reinit_costs_SOURCES) \
+ $(simdag_partask_test_comp_only_par_SOURCES) \
+ $(simdag_partask_test_comp_only_seq_SOURCES) \
xbt/parallel_log_crashtest.c
DIST_SOURCES = $(gras_datadesc_datadesc_usage_SOURCES) \
$(gras_msg_handle_msg_handle_client_SOURCES) \
$(gras_msg_handle_msg_handle_server_SOURCES) \
$(gras_msg_handle_msg_handle_simulator_SOURCES) \
+ $(simdag_network_mxn_test_intra_all2all_SOURCES) \
+ $(simdag_network_mxn_test_intra_independent_comm_SOURCES) \
+ $(simdag_network_mxn_test_intra_scatter_SOURCES) \
+ $(simdag_network_p2p_test_latency1_SOURCES) \
+ $(simdag_network_p2p_test_latency2_SOURCES) \
+ $(simdag_network_p2p_test_latency3_SOURCES) \
+ $(simdag_network_p2p_test_latency_bound_SOURCES) \
+ $(simdag_network_test_reinit_costs_SOURCES) \
+ $(simdag_partask_test_comp_only_par_SOURCES) \
+ $(simdag_partask_test_comp_only_seq_SOURCES) \
xbt/parallel_log_crashtest.c
ETAGS = etags
CTAGS = ctags
gras/datadesc/datadesc.big32_8_4 \
gras/datadesc/datadesc.big32_2 \
gras/datadesc/mk_datadesc_structs.pl \
- gras/msg_handle/msg_handle.xml
+ gras/msg_handle/msg_handle.xml \
+ simdag/network/platform_2p_1sl.xml \
+ simdag/network/p2p/platform_2p_1sl.xml \
+ simdag/network/p2p/platform_2p_1fl.xml \
+ simdag/network/p2p/platform_2p_1switch.xml \
+ simdag/network/p2p/platform_2p_1bb.xml \
+ simdag/network/mxn/platform_4p_1switch.xml \
+ simdag/partask/platform_2p_1sl_hetero.xml \
+ simdag/partask/platform_2p_1sl.xml
TESTS_ENVIRONMENT = $(top_builddir)/tools/tesh/tesh
TESTS = xbt/parallel_log_crashtest.tesh \
gras/datadesc/datadesc_mem.tesh gras/datadesc/datadesc_rw.tesh \
gras/datadesc/datadesc_r_big32_8.tesh \
gras/datadesc/datadesc_r_big32_8_4.tesh \
gras/datadesc/datadesc_r_big32_2.tesh $(am__append_1) \
- $(am__append_2)
+ $(am__append_2) simdag/network/test_reinit_costs.tesh \
+ simdag/network/p2p/test_latency1.tesh \
+ simdag/network/p2p/test_latency2.tesh \
+ simdag/network/p2p/test_latency3.tesh \
+ simdag/network/p2p/test_latency_bound.tesh \
+ simdag/network/mxn/test_intra_all2all.tesh \
+ simdag/network/mxn/test_intra_independent_comm.tesh \
+ simdag/network/mxn/test_intra_scatter.tesh \
+ simdag/partask/test_comp_only_seq.tesh \
+ simdag/partask/test_comp_only_par.tesh
# Data sets still to regenerate:
XFAIL_TESTS = gras/datadesc/datadesc_r_little32.tesh \
gras/datadesc/datadesc_r_big32_8.tesh \
gras_msg_handle_msg_handle_simulator_LDADD = $(LDADD_SG)
gras_msg_handle_msg_handle_client_LDADD = $(LDADD_RL)
gras_msg_handle_msg_handle_server_LDADD = $(LDADD_RL)
+simdag_network_test_reinit_costs_SOURCES = simdag/network/test_reinit_costs.c
+simdag_network_test_reinit_costs_LDADD = $(LDADD_SG)
+simdag_network_p2p_test_latency1_SOURCES = simdag/network/p2p/test_latency1.c
+simdag_network_p2p_test_latency1_LDADD = $(LDADD_SG)
+simdag_network_p2p_test_latency2_SOURCES = simdag/network/p2p/test_latency2.c
+simdag_network_p2p_test_latency2_LDADD = $(LDADD_SG)
+simdag_network_p2p_test_latency3_SOURCES = simdag/network/p2p/test_latency3.c
+simdag_network_p2p_test_latency3_LDADD = $(LDADD_SG)
+simdag_network_p2p_test_latency_bound_SOURCES = simdag/network/p2p/test_latency_bound.c
+simdag_network_p2p_test_latency_bound_LDADD = $(LDADD_SG)
+simdag_network_mxn_test_intra_all2all_SOURCES = simdag/network/mxn/test_intra_all2all.c
+simdag_network_mxn_test_intra_all2all_LDADD = $(LDADD_SG)
+simdag_network_mxn_test_intra_independent_comm_SOURCES = simdag/network/mxn/test_intra_independent_comm.c
+simdag_network_mxn_test_intra_independent_comm_LDADD = $(LDADD_SG)
+simdag_network_mxn_test_intra_scatter_SOURCES = simdag/network/mxn/test_intra_scatter.c
+simdag_network_mxn_test_intra_scatter_LDADD = $(LDADD_SG)
+simdag_partask_test_comp_only_seq_SOURCES = simdag/partask/test_comp_only_seq.c
+simdag_partask_test_comp_only_seq_LDADD = $(LDADD_SG)
+simdag_partask_test_comp_only_par_SOURCES = simdag/partask/test_comp_only_par.c
+simdag_partask_test_comp_only_par_LDADD = $(LDADD_SG)
all: all-am
.SUFFIXES:
gras/msg_handle/msg_handle_simulator$(EXEEXT): $(gras_msg_handle_msg_handle_simulator_OBJECTS) $(gras_msg_handle_msg_handle_simulator_DEPENDENCIES) gras/msg_handle/$(am__dirstamp)
@rm -f gras/msg_handle/msg_handle_simulator$(EXEEXT)
$(LINK) $(gras_msg_handle_msg_handle_simulator_OBJECTS) $(gras_msg_handle_msg_handle_simulator_LDADD) $(LIBS)
+simdag/network/mxn/$(am__dirstamp):
+ @$(MKDIR_P) simdag/network/mxn
+ @: > simdag/network/mxn/$(am__dirstamp)
+simdag/network/mxn/test_intra_all2all$(EXEEXT): $(simdag_network_mxn_test_intra_all2all_OBJECTS) $(simdag_network_mxn_test_intra_all2all_DEPENDENCIES) simdag/network/mxn/$(am__dirstamp)
+ @rm -f simdag/network/mxn/test_intra_all2all$(EXEEXT)
+ $(LINK) $(simdag_network_mxn_test_intra_all2all_OBJECTS) $(simdag_network_mxn_test_intra_all2all_LDADD) $(LIBS)
+simdag/network/mxn/test_intra_independent_comm$(EXEEXT): $(simdag_network_mxn_test_intra_independent_comm_OBJECTS) $(simdag_network_mxn_test_intra_independent_comm_DEPENDENCIES) simdag/network/mxn/$(am__dirstamp)
+ @rm -f simdag/network/mxn/test_intra_independent_comm$(EXEEXT)
+ $(LINK) $(simdag_network_mxn_test_intra_independent_comm_OBJECTS) $(simdag_network_mxn_test_intra_independent_comm_LDADD) $(LIBS)
+simdag/network/mxn/test_intra_scatter$(EXEEXT): $(simdag_network_mxn_test_intra_scatter_OBJECTS) $(simdag_network_mxn_test_intra_scatter_DEPENDENCIES) simdag/network/mxn/$(am__dirstamp)
+ @rm -f simdag/network/mxn/test_intra_scatter$(EXEEXT)
+ $(LINK) $(simdag_network_mxn_test_intra_scatter_OBJECTS) $(simdag_network_mxn_test_intra_scatter_LDADD) $(LIBS)
+simdag/network/p2p/$(am__dirstamp):
+ @$(MKDIR_P) simdag/network/p2p
+ @: > simdag/network/p2p/$(am__dirstamp)
+simdag/network/p2p/test_latency1$(EXEEXT): $(simdag_network_p2p_test_latency1_OBJECTS) $(simdag_network_p2p_test_latency1_DEPENDENCIES) simdag/network/p2p/$(am__dirstamp)
+ @rm -f simdag/network/p2p/test_latency1$(EXEEXT)
+ $(LINK) $(simdag_network_p2p_test_latency1_OBJECTS) $(simdag_network_p2p_test_latency1_LDADD) $(LIBS)
+simdag/network/p2p/test_latency2$(EXEEXT): $(simdag_network_p2p_test_latency2_OBJECTS) $(simdag_network_p2p_test_latency2_DEPENDENCIES) simdag/network/p2p/$(am__dirstamp)
+ @rm -f simdag/network/p2p/test_latency2$(EXEEXT)
+ $(LINK) $(simdag_network_p2p_test_latency2_OBJECTS) $(simdag_network_p2p_test_latency2_LDADD) $(LIBS)
+simdag/network/p2p/test_latency3$(EXEEXT): $(simdag_network_p2p_test_latency3_OBJECTS) $(simdag_network_p2p_test_latency3_DEPENDENCIES) simdag/network/p2p/$(am__dirstamp)
+ @rm -f simdag/network/p2p/test_latency3$(EXEEXT)
+ $(LINK) $(simdag_network_p2p_test_latency3_OBJECTS) $(simdag_network_p2p_test_latency3_LDADD) $(LIBS)
+simdag/network/p2p/test_latency_bound$(EXEEXT): $(simdag_network_p2p_test_latency_bound_OBJECTS) $(simdag_network_p2p_test_latency_bound_DEPENDENCIES) simdag/network/p2p/$(am__dirstamp)
+ @rm -f simdag/network/p2p/test_latency_bound$(EXEEXT)
+ $(LINK) $(simdag_network_p2p_test_latency_bound_OBJECTS) $(simdag_network_p2p_test_latency_bound_LDADD) $(LIBS)
+simdag/network/$(am__dirstamp):
+ @$(MKDIR_P) simdag/network
+ @: > simdag/network/$(am__dirstamp)
+simdag/network/test_reinit_costs$(EXEEXT): $(simdag_network_test_reinit_costs_OBJECTS) $(simdag_network_test_reinit_costs_DEPENDENCIES) simdag/network/$(am__dirstamp)
+ @rm -f simdag/network/test_reinit_costs$(EXEEXT)
+ $(LINK) $(simdag_network_test_reinit_costs_OBJECTS) $(simdag_network_test_reinit_costs_LDADD) $(LIBS)
+simdag/partask/$(am__dirstamp):
+ @$(MKDIR_P) simdag/partask
+ @: > simdag/partask/$(am__dirstamp)
+simdag/partask/test_comp_only_par$(EXEEXT): $(simdag_partask_test_comp_only_par_OBJECTS) $(simdag_partask_test_comp_only_par_DEPENDENCIES) simdag/partask/$(am__dirstamp)
+ @rm -f simdag/partask/test_comp_only_par$(EXEEXT)
+ $(LINK) $(simdag_partask_test_comp_only_par_OBJECTS) $(simdag_partask_test_comp_only_par_LDADD) $(LIBS)
+simdag/partask/test_comp_only_seq$(EXEEXT): $(simdag_partask_test_comp_only_seq_OBJECTS) $(simdag_partask_test_comp_only_seq_DEPENDENCIES) simdag/partask/$(am__dirstamp)
+ @rm -f simdag/partask/test_comp_only_seq$(EXEEXT)
+ $(LINK) $(simdag_partask_test_comp_only_seq_OBJECTS) $(simdag_partask_test_comp_only_seq_LDADD) $(LIBS)
xbt/$(am__dirstamp):
@$(MKDIR_P) xbt
@: > xbt/$(am__dirstamp)
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/datadesc_usage.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/msg_handle.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parallel_log_crashtest.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_comp_only_par.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_comp_only_seq.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_intra_all2all.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_intra_independent_comm.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_intra_scatter.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_latency1.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_latency2.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_latency3.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_latency_bound.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_reinit_costs.Po@am__quote@
.c.o:
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o _msg_handle_simulator.obj `if test -f 'gras/msg_handle/_msg_handle_simulator.c'; then $(CYGPATH_W) 'gras/msg_handle/_msg_handle_simulator.c'; else $(CYGPATH_W) '$(srcdir)/gras/msg_handle/_msg_handle_simulator.c'; fi`
+test_intra_all2all.o: simdag/network/mxn/test_intra_all2all.c
+@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_intra_all2all.o -MD -MP -MF $(DEPDIR)/test_intra_all2all.Tpo -c -o test_intra_all2all.o `test -f 'simdag/network/mxn/test_intra_all2all.c' || echo '$(srcdir)/'`simdag/network/mxn/test_intra_all2all.c
+@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/test_intra_all2all.Tpo $(DEPDIR)/test_intra_all2all.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='simdag/network/mxn/test_intra_all2all.c' object='test_intra_all2all.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_intra_all2all.o `test -f 'simdag/network/mxn/test_intra_all2all.c' || echo '$(srcdir)/'`simdag/network/mxn/test_intra_all2all.c
+
+test_intra_all2all.obj: simdag/network/mxn/test_intra_all2all.c
+@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_intra_all2all.obj -MD -MP -MF $(DEPDIR)/test_intra_all2all.Tpo -c -o test_intra_all2all.obj `if test -f 'simdag/network/mxn/test_intra_all2all.c'; then $(CYGPATH_W) 'simdag/network/mxn/test_intra_all2all.c'; else $(CYGPATH_W) '$(srcdir)/simdag/network/mxn/test_intra_all2all.c'; fi`
+@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/test_intra_all2all.Tpo $(DEPDIR)/test_intra_all2all.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='simdag/network/mxn/test_intra_all2all.c' object='test_intra_all2all.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_intra_all2all.obj `if test -f 'simdag/network/mxn/test_intra_all2all.c'; then $(CYGPATH_W) 'simdag/network/mxn/test_intra_all2all.c'; else $(CYGPATH_W) '$(srcdir)/simdag/network/mxn/test_intra_all2all.c'; fi`
+
+test_intra_independent_comm.o: simdag/network/mxn/test_intra_independent_comm.c
+@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_intra_independent_comm.o -MD -MP -MF $(DEPDIR)/test_intra_independent_comm.Tpo -c -o test_intra_independent_comm.o `test -f 'simdag/network/mxn/test_intra_independent_comm.c' || echo '$(srcdir)/'`simdag/network/mxn/test_intra_independent_comm.c
+@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/test_intra_independent_comm.Tpo $(DEPDIR)/test_intra_independent_comm.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='simdag/network/mxn/test_intra_independent_comm.c' object='test_intra_independent_comm.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_intra_independent_comm.o `test -f 'simdag/network/mxn/test_intra_independent_comm.c' || echo '$(srcdir)/'`simdag/network/mxn/test_intra_independent_comm.c
+
+test_intra_independent_comm.obj: simdag/network/mxn/test_intra_independent_comm.c
+@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_intra_independent_comm.obj -MD -MP -MF $(DEPDIR)/test_intra_independent_comm.Tpo -c -o test_intra_independent_comm.obj `if test -f 'simdag/network/mxn/test_intra_independent_comm.c'; then $(CYGPATH_W) 'simdag/network/mxn/test_intra_independent_comm.c'; else $(CYGPATH_W) '$(srcdir)/simdag/network/mxn/test_intra_independent_comm.c'; fi`
+@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/test_intra_independent_comm.Tpo $(DEPDIR)/test_intra_independent_comm.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='simdag/network/mxn/test_intra_independent_comm.c' object='test_intra_independent_comm.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_intra_independent_comm.obj `if test -f 'simdag/network/mxn/test_intra_independent_comm.c'; then $(CYGPATH_W) 'simdag/network/mxn/test_intra_independent_comm.c'; else $(CYGPATH_W) '$(srcdir)/simdag/network/mxn/test_intra_independent_comm.c'; fi`
+
+test_intra_scatter.o: simdag/network/mxn/test_intra_scatter.c
+@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_intra_scatter.o -MD -MP -MF $(DEPDIR)/test_intra_scatter.Tpo -c -o test_intra_scatter.o `test -f 'simdag/network/mxn/test_intra_scatter.c' || echo '$(srcdir)/'`simdag/network/mxn/test_intra_scatter.c
+@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/test_intra_scatter.Tpo $(DEPDIR)/test_intra_scatter.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='simdag/network/mxn/test_intra_scatter.c' object='test_intra_scatter.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_intra_scatter.o `test -f 'simdag/network/mxn/test_intra_scatter.c' || echo '$(srcdir)/'`simdag/network/mxn/test_intra_scatter.c
+
+test_intra_scatter.obj: simdag/network/mxn/test_intra_scatter.c
+@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_intra_scatter.obj -MD -MP -MF $(DEPDIR)/test_intra_scatter.Tpo -c -o test_intra_scatter.obj `if test -f 'simdag/network/mxn/test_intra_scatter.c'; then $(CYGPATH_W) 'simdag/network/mxn/test_intra_scatter.c'; else $(CYGPATH_W) '$(srcdir)/simdag/network/mxn/test_intra_scatter.c'; fi`
+@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/test_intra_scatter.Tpo $(DEPDIR)/test_intra_scatter.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='simdag/network/mxn/test_intra_scatter.c' object='test_intra_scatter.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_intra_scatter.obj `if test -f 'simdag/network/mxn/test_intra_scatter.c'; then $(CYGPATH_W) 'simdag/network/mxn/test_intra_scatter.c'; else $(CYGPATH_W) '$(srcdir)/simdag/network/mxn/test_intra_scatter.c'; fi`
+
+test_latency1.o: simdag/network/p2p/test_latency1.c
+@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_latency1.o -MD -MP -MF $(DEPDIR)/test_latency1.Tpo -c -o test_latency1.o `test -f 'simdag/network/p2p/test_latency1.c' || echo '$(srcdir)/'`simdag/network/p2p/test_latency1.c
+@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/test_latency1.Tpo $(DEPDIR)/test_latency1.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='simdag/network/p2p/test_latency1.c' object='test_latency1.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_latency1.o `test -f 'simdag/network/p2p/test_latency1.c' || echo '$(srcdir)/'`simdag/network/p2p/test_latency1.c
+
+test_latency1.obj: simdag/network/p2p/test_latency1.c
+@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_latency1.obj -MD -MP -MF $(DEPDIR)/test_latency1.Tpo -c -o test_latency1.obj `if test -f 'simdag/network/p2p/test_latency1.c'; then $(CYGPATH_W) 'simdag/network/p2p/test_latency1.c'; else $(CYGPATH_W) '$(srcdir)/simdag/network/p2p/test_latency1.c'; fi`
+@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/test_latency1.Tpo $(DEPDIR)/test_latency1.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='simdag/network/p2p/test_latency1.c' object='test_latency1.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_latency1.obj `if test -f 'simdag/network/p2p/test_latency1.c'; then $(CYGPATH_W) 'simdag/network/p2p/test_latency1.c'; else $(CYGPATH_W) '$(srcdir)/simdag/network/p2p/test_latency1.c'; fi`
+
+test_latency2.o: simdag/network/p2p/test_latency2.c
+@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_latency2.o -MD -MP -MF $(DEPDIR)/test_latency2.Tpo -c -o test_latency2.o `test -f 'simdag/network/p2p/test_latency2.c' || echo '$(srcdir)/'`simdag/network/p2p/test_latency2.c
+@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/test_latency2.Tpo $(DEPDIR)/test_latency2.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='simdag/network/p2p/test_latency2.c' object='test_latency2.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_latency2.o `test -f 'simdag/network/p2p/test_latency2.c' || echo '$(srcdir)/'`simdag/network/p2p/test_latency2.c
+
+test_latency2.obj: simdag/network/p2p/test_latency2.c
+@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_latency2.obj -MD -MP -MF $(DEPDIR)/test_latency2.Tpo -c -o test_latency2.obj `if test -f 'simdag/network/p2p/test_latency2.c'; then $(CYGPATH_W) 'simdag/network/p2p/test_latency2.c'; else $(CYGPATH_W) '$(srcdir)/simdag/network/p2p/test_latency2.c'; fi`
+@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/test_latency2.Tpo $(DEPDIR)/test_latency2.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='simdag/network/p2p/test_latency2.c' object='test_latency2.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_latency2.obj `if test -f 'simdag/network/p2p/test_latency2.c'; then $(CYGPATH_W) 'simdag/network/p2p/test_latency2.c'; else $(CYGPATH_W) '$(srcdir)/simdag/network/p2p/test_latency2.c'; fi`
+
+test_latency3.o: simdag/network/p2p/test_latency3.c
+@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_latency3.o -MD -MP -MF $(DEPDIR)/test_latency3.Tpo -c -o test_latency3.o `test -f 'simdag/network/p2p/test_latency3.c' || echo '$(srcdir)/'`simdag/network/p2p/test_latency3.c
+@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/test_latency3.Tpo $(DEPDIR)/test_latency3.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='simdag/network/p2p/test_latency3.c' object='test_latency3.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_latency3.o `test -f 'simdag/network/p2p/test_latency3.c' || echo '$(srcdir)/'`simdag/network/p2p/test_latency3.c
+
+test_latency3.obj: simdag/network/p2p/test_latency3.c
+@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_latency3.obj -MD -MP -MF $(DEPDIR)/test_latency3.Tpo -c -o test_latency3.obj `if test -f 'simdag/network/p2p/test_latency3.c'; then $(CYGPATH_W) 'simdag/network/p2p/test_latency3.c'; else $(CYGPATH_W) '$(srcdir)/simdag/network/p2p/test_latency3.c'; fi`
+@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/test_latency3.Tpo $(DEPDIR)/test_latency3.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='simdag/network/p2p/test_latency3.c' object='test_latency3.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_latency3.obj `if test -f 'simdag/network/p2p/test_latency3.c'; then $(CYGPATH_W) 'simdag/network/p2p/test_latency3.c'; else $(CYGPATH_W) '$(srcdir)/simdag/network/p2p/test_latency3.c'; fi`
+
+test_latency_bound.o: simdag/network/p2p/test_latency_bound.c
+@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_latency_bound.o -MD -MP -MF $(DEPDIR)/test_latency_bound.Tpo -c -o test_latency_bound.o `test -f 'simdag/network/p2p/test_latency_bound.c' || echo '$(srcdir)/'`simdag/network/p2p/test_latency_bound.c
+@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/test_latency_bound.Tpo $(DEPDIR)/test_latency_bound.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='simdag/network/p2p/test_latency_bound.c' object='test_latency_bound.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_latency_bound.o `test -f 'simdag/network/p2p/test_latency_bound.c' || echo '$(srcdir)/'`simdag/network/p2p/test_latency_bound.c
+
+test_latency_bound.obj: simdag/network/p2p/test_latency_bound.c
+@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_latency_bound.obj -MD -MP -MF $(DEPDIR)/test_latency_bound.Tpo -c -o test_latency_bound.obj `if test -f 'simdag/network/p2p/test_latency_bound.c'; then $(CYGPATH_W) 'simdag/network/p2p/test_latency_bound.c'; else $(CYGPATH_W) '$(srcdir)/simdag/network/p2p/test_latency_bound.c'; fi`
+@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/test_latency_bound.Tpo $(DEPDIR)/test_latency_bound.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='simdag/network/p2p/test_latency_bound.c' object='test_latency_bound.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_latency_bound.obj `if test -f 'simdag/network/p2p/test_latency_bound.c'; then $(CYGPATH_W) 'simdag/network/p2p/test_latency_bound.c'; else $(CYGPATH_W) '$(srcdir)/simdag/network/p2p/test_latency_bound.c'; fi`
+
+test_reinit_costs.o: simdag/network/test_reinit_costs.c
+@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_reinit_costs.o -MD -MP -MF $(DEPDIR)/test_reinit_costs.Tpo -c -o test_reinit_costs.o `test -f 'simdag/network/test_reinit_costs.c' || echo '$(srcdir)/'`simdag/network/test_reinit_costs.c
+@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/test_reinit_costs.Tpo $(DEPDIR)/test_reinit_costs.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='simdag/network/test_reinit_costs.c' object='test_reinit_costs.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_reinit_costs.o `test -f 'simdag/network/test_reinit_costs.c' || echo '$(srcdir)/'`simdag/network/test_reinit_costs.c
+
+test_reinit_costs.obj: simdag/network/test_reinit_costs.c
+@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_reinit_costs.obj -MD -MP -MF $(DEPDIR)/test_reinit_costs.Tpo -c -o test_reinit_costs.obj `if test -f 'simdag/network/test_reinit_costs.c'; then $(CYGPATH_W) 'simdag/network/test_reinit_costs.c'; else $(CYGPATH_W) '$(srcdir)/simdag/network/test_reinit_costs.c'; fi`
+@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/test_reinit_costs.Tpo $(DEPDIR)/test_reinit_costs.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='simdag/network/test_reinit_costs.c' object='test_reinit_costs.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_reinit_costs.obj `if test -f 'simdag/network/test_reinit_costs.c'; then $(CYGPATH_W) 'simdag/network/test_reinit_costs.c'; else $(CYGPATH_W) '$(srcdir)/simdag/network/test_reinit_costs.c'; fi`
+
+test_comp_only_par.o: simdag/partask/test_comp_only_par.c
+@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_comp_only_par.o -MD -MP -MF $(DEPDIR)/test_comp_only_par.Tpo -c -o test_comp_only_par.o `test -f 'simdag/partask/test_comp_only_par.c' || echo '$(srcdir)/'`simdag/partask/test_comp_only_par.c
+@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/test_comp_only_par.Tpo $(DEPDIR)/test_comp_only_par.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='simdag/partask/test_comp_only_par.c' object='test_comp_only_par.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_comp_only_par.o `test -f 'simdag/partask/test_comp_only_par.c' || echo '$(srcdir)/'`simdag/partask/test_comp_only_par.c
+
+test_comp_only_par.obj: simdag/partask/test_comp_only_par.c
+@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_comp_only_par.obj -MD -MP -MF $(DEPDIR)/test_comp_only_par.Tpo -c -o test_comp_only_par.obj `if test -f 'simdag/partask/test_comp_only_par.c'; then $(CYGPATH_W) 'simdag/partask/test_comp_only_par.c'; else $(CYGPATH_W) '$(srcdir)/simdag/partask/test_comp_only_par.c'; fi`
+@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/test_comp_only_par.Tpo $(DEPDIR)/test_comp_only_par.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='simdag/partask/test_comp_only_par.c' object='test_comp_only_par.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_comp_only_par.obj `if test -f 'simdag/partask/test_comp_only_par.c'; then $(CYGPATH_W) 'simdag/partask/test_comp_only_par.c'; else $(CYGPATH_W) '$(srcdir)/simdag/partask/test_comp_only_par.c'; fi`
+
+test_comp_only_seq.o: simdag/partask/test_comp_only_seq.c
+@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_comp_only_seq.o -MD -MP -MF $(DEPDIR)/test_comp_only_seq.Tpo -c -o test_comp_only_seq.o `test -f 'simdag/partask/test_comp_only_seq.c' || echo '$(srcdir)/'`simdag/partask/test_comp_only_seq.c
+@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/test_comp_only_seq.Tpo $(DEPDIR)/test_comp_only_seq.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='simdag/partask/test_comp_only_seq.c' object='test_comp_only_seq.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_comp_only_seq.o `test -f 'simdag/partask/test_comp_only_seq.c' || echo '$(srcdir)/'`simdag/partask/test_comp_only_seq.c
+
+test_comp_only_seq.obj: simdag/partask/test_comp_only_seq.c
+@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_comp_only_seq.obj -MD -MP -MF $(DEPDIR)/test_comp_only_seq.Tpo -c -o test_comp_only_seq.obj `if test -f 'simdag/partask/test_comp_only_seq.c'; then $(CYGPATH_W) 'simdag/partask/test_comp_only_seq.c'; else $(CYGPATH_W) '$(srcdir)/simdag/partask/test_comp_only_seq.c'; fi`
+@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/test_comp_only_seq.Tpo $(DEPDIR)/test_comp_only_seq.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='simdag/partask/test_comp_only_seq.c' object='test_comp_only_seq.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_comp_only_seq.obj `if test -f 'simdag/partask/test_comp_only_seq.c'; then $(CYGPATH_W) 'simdag/partask/test_comp_only_seq.c'; else $(CYGPATH_W) '$(srcdir)/simdag/partask/test_comp_only_seq.c'; fi`
+
parallel_log_crashtest.o: xbt/parallel_log_crashtest.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT parallel_log_crashtest.o -MD -MP -MF $(DEPDIR)/parallel_log_crashtest.Tpo -c -o parallel_log_crashtest.o `test -f 'xbt/parallel_log_crashtest.c' || echo '$(srcdir)/'`xbt/parallel_log_crashtest.c
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/parallel_log_crashtest.Tpo $(DEPDIR)/parallel_log_crashtest.Po
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-rm -f gras/datadesc/$(am__dirstamp)
-rm -f gras/msg_handle/$(am__dirstamp)
+ -rm -f simdag/network/$(am__dirstamp)
+ -rm -f simdag/network/mxn/$(am__dirstamp)
+ -rm -f simdag/network/p2p/$(am__dirstamp)
+ -rm -f simdag/partask/$(am__dirstamp)
-rm -f xbt/$(am__dirstamp)
maintainer-clean-generic:
##########################################
gras/msg_handle/_msg_handle_simulator.c gras/msg_handle/_msg_handle_client.c gras/msg_handle/_msg_handle_server.c : gras/msg_handle/msg_handle.c gras/msg_handle/msg_handle.xml $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@
- mkdir -p gras/msg_handle; cd gras/msg_handle; ../../$(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@ msg_handle ../../$(top_srcdir)/teshsuite/gras/msg_handle/msg_handle.xml
+ mkdir -p gras/msg_handle; \
+ cd gras/msg_handle;\
+ ../../$(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@ msg_handle ../../$(top_srcdir)/teshsuite/gras/msg_handle/msg_handle.xml
dist-files:
@for n in $(DISTFILES) ; do echo $(SRCFILE)$$n; done
--- /dev/null
+<?xml version='1.0'?>\r
+<!DOCTYPE platform_description SYSTEM "surfxml.dtd">\r
+<platform_description version="1">\r
+ <cpu name="cpu0" power="1"/>\r
+ <cpu name="cpu1" power="1"/>
+ <cpu name="cpu2" power="1"/>
+ <cpu name="cpu3" power="1"/>
+
+ <network_link name="switch" bandwidth="2" latency="1" sharing_policy="FATPIPE"/>
+ <network_link name="link0" bandwidth="1" latency=".5" sharing_policy="SHARED"/>
+ <network_link name="link1" bandwidth="1" latency=".5" sharing_policy="SHARED"/>
+ <network_link name="link2" bandwidth="1" latency=".5" sharing_policy="SHARED"/>
+ <network_link name="link3" bandwidth="1" latency=".5" sharing_policy="SHARED"/>
+
+ <route src="cpu0" dst="cpu1">\r
+ <route_element name="link0"/>\r
+ <route_element name="switch"/>
+ <route_element name="link1"/>
+ </route>\r
+
+ <route src="cpu0" dst="cpu2">
+ <route_element name="link0"/>
+ <route_element name="switch"/>
+ <route_element name="link2"/>
+ </route>
+
+ <route src="cpu0" dst="cpu3">
+ <route_element name="link0"/>
+ <route_element name="switch"/>
+ <route_element name="link3"/>
+ </route>
+
+ <route src="cpu1" dst="cpu0">
+ <route_element name="link1"/>
+ <route_element name="switch"/>
+ <route_element name="link0"/>
+ </route>
+
+ <route src="cpu1" dst="cpu2">
+ <route_element name="link1"/>
+ <route_element name="switch"/>
+ <route_element name="link2"/>
+ </route>
+
+ <route src="cpu1" dst="cpu3">
+ <route_element name="link1"/>
+ <route_element name="switch"/>
+ <route_element name="link3"/>
+ </route>
+
+ <route src="cpu2" dst="cpu0">
+ <route_element name="link2"/>
+ <route_element name="switch"/>
+ <route_element name="link0"/>
+ </route>
+
+ <route src="cpu2" dst="cpu1">
+ <route_element name="link2"/>
+ <route_element name="switch"/>
+ <route_element name="link1"/>
+ </route>
+
+ <route src="cpu2" dst="cpu3">
+ <route_element name="link2"/>
+ <route_element name="switch"/>
+ <route_element name="link3"/>
+ </route>
+
+ <route src="cpu3" dst="cpu0">
+ <route_element name="link3"/>
+ <route_element name="switch"/>
+ <route_element name="link0"/>
+ </route>
+
+ <route src="cpu3" dst="cpu1">
+ <route_element name="link3"/>
+ <route_element name="switch"/>
+ <route_element name="link1"/>
+ </route>
+
+ <route src="cpu3" dst="cpu2">
+ <route_element name="link3"/>
+ <route_element name="switch"/>
+ <route_element name="link2"/>
+ </route>
+ \r
+</platform_description>\r
--- /dev/null
+
+/*
+ * SimDag
+ * Latency tests
+ * Copyright (C) 2007
+ * Sascha Hunold, Frederic Suter
+ */
+
+#include <stdio.h>
+#include <stdlib.h>
+
+#include "simdag/simdag.h"
+
+/*
+ * intra communication test
+ * All2All
+ *
+ * send 1 byte from all to all
+ * + 2 secs latency
+ * should be 8 (platform_4p_1switch.xml)
+ *
+ */
+
+int main(int argc, char **argv) {
+ double time;
+ SD_task_t task;
+
+ double communication_amount[] =
+ { 0.0, 1.0, 1.0, 1.0,
+ 1.0, 0.0, 1.0, 1.0,
+ 1.0, 1.0, 0.0, 1.0,
+ 1.0, 1.0, 1.0, 0.0,
+ };
+
+ double no_cost[] = { 0.0, 0.0, 0.0, 0.0 };
+
+
+ /***************************************/
+
+ SD_init(&argc, argv);
+ SD_create_environment(argv[1]);
+
+ task = SD_task_create("All2all task", NULL, 1.0);
+
+ SD_task_schedule(task, 4, SD_workstation_get_list(), no_cost, communication_amount, -1.0);
+
+ SD_simulate(-1.0);
+
+ time = SD_get_clock();
+
+ printf("%g\n", time);
+ fflush(stdout);
+
+ SD_task_destroy(task);
+
+ SD_exit();
+
+ return 0;
+}
+
--- /dev/null
+
+p all 2 all test, only fat pipe switch is used concurrently
+
+$ simdag/network/mxn/test_intra_all2all simdag/network/mxn/platform_4p_1switch.xml --log=sd_kernel.thres=warning
+> 8
--- /dev/null
+
+/*
+ * SimDag
+ * Latency tests
+ * Copyright (C) 2007
+ * Sascha Hunold, Frederic Suter
+ */
+
+#include <stdio.h>
+#include <stdlib.h>
+
+#include "simdag/simdag.h"
+
+/*
+ * intra communication test
+ * independent communication
+ *
+ * 0 -> 1
+ * 2 -> 3
+ * shared is only switch which is fat pipe
+ * should be 1 + 2 latency = 3
+ */
+
+int main(int argc, char **argv) {
+ double time;
+ SD_task_t task;
+
+ double communication_amount[] =
+ { 0.0, 1.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 1.0,
+ 0.0, 0.0, 0.0, 0.0,
+ };
+
+ double no_cost[] = { 0.0, 0.0, 0.0, 0.0 };
+
+
+ /***************************************/
+
+ SD_init(&argc, argv);
+ SD_create_environment(argv[1]);
+
+ task = SD_task_create("Comm 1", NULL, 1.0);
+
+ SD_task_schedule(task, 4, SD_workstation_get_list(), no_cost, communication_amount, -1.0);
+
+ SD_simulate(-1.0);
+
+ time = SD_get_clock();
+
+ printf("%g\n", time);
+ fflush(stdout);
+
+ SD_task_destroy(task);
+
+ SD_exit();
+
+ return 0;
+}
+
--- /dev/null
+
+p sending on different paths test
+
+$ simdag/network/mxn/test_intra_independent_comm simdag/network/mxn/platform_4p_1switch.xml --log=sd_kernel.thres=warning
+> 3
--- /dev/null
+
+/*
+ * SimDag
+ * Latency tests
+ * Copyright (C) 2007
+ * Sascha Hunold, Frederic Suter
+ */
+
+#include <stdio.h>
+#include <stdlib.h>
+
+#include "simdag/simdag.h"
+
+/*
+ * intra communication test 1
+ * scatter
+ *
+ * start: 1 2 3 (each having 1/3 of the bandwidth)
+ * after 3 sec: 0 1 2 (having 1/2 of the bandwidth)
+ * after another 2 sec: 0 0 1 (having all the bandwidth)
+ * -> finished after 1 sec
+ * time to send: 6 + latency at the beginning: 0.5 + 1 + 0.5
+ */
+
+int main(int argc, char **argv) {
+ double time;
+ SD_task_t task;
+
+ double communication_amount[] =
+ { 0.0, 1.0, 2.0, 3.0,
+ 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0,
+ };
+
+ double no_cost[] = { 0.0, 0.0, 0.0, 0.0 };
+
+
+ /***************************************/
+
+ SD_init(&argc, argv);
+ SD_create_environment(argv[1]);
+
+ task = SD_task_create("Scatter task", NULL, 1.0);
+
+ SD_task_schedule(task, 4, SD_workstation_get_list(), no_cost, communication_amount, -1.0);
+
+ SD_simulate(-1.0);
+
+ time = SD_get_clock();
+
+ printf("%g\n", time);
+ fflush(stdout);
+
+ SD_task_destroy(task);
+
+ SD_exit();
+
+ return 0;
+}
+
--- /dev/null
+
+p scatter test
+
+$ simdag/network/mxn/test_intra_scatter simdag/network/mxn/platform_4p_1switch.xml --log=sd_kernel.thres=warning
+> 8
+
--- /dev/null
+<?xml version='1.0'?>
+<!DOCTYPE platform_description SYSTEM "surfxml.dtd">
+<platform_description version="1">
+
+ <cpu name="cpu0" power="1" />
+ <cpu name="cpu1" power="1" />
+
+ <!--
+ large latency backbone
+ 10000 because
+ 20000 is MAX_TCP_WIN_SIZE
+ max bw = MAX_TCP_WIN_SIZE / ( 2 * latency )
+ which is then 1 and 1 is smallest possible
+ -->
+
+ <network_link name="link0" bandwidth="2" latency="10000"
+ sharing_policy="SHARED" />
+
+ <route src="cpu0" dst="cpu1">
+ <route_element name="link0" />
+ </route>
+
+ <route src="cpu1" dst="cpu0">
+ <route_element name="link0" />
+ </route>
+
+</platform_description>
--- /dev/null
+<?xml version='1.0'?>\r
+<!DOCTYPE platform_description SYSTEM "surfxml.dtd">\r
+<platform_description version="1">\r
+ <cpu name="cpu0" power="1"/>\r
+ <cpu name="cpu1" power="1"/>
+ <network_link name="link0" bandwidth="1" latency=".5" sharing_policy="FATPIPE"/>
+ <route src="cpu0" dst="cpu1">\r
+ <route_element name="link0"/>\r
+ </route>\r
+ <route src="cpu1" dst="cpu0">\r
+ <route_element name="link0"/>\r
+ </route>\r
+</platform_description>\r
--- /dev/null
+<?xml version='1.0'?>\r
+<!DOCTYPE platform_description SYSTEM "surfxml.dtd">\r
+<platform_description version="1">\r
+ <cpu name="cpu0" power="1"/>\r
+ <cpu name="cpu1" power="1"/>
+ <network_link name="link0" bandwidth="1" latency=".5" sharing_policy="SHARED"/>
+ <route src="cpu0" dst="cpu1">\r
+ <route_element name="link0"/>\r
+ </route>\r
+ <route src="cpu1" dst="cpu0">\r
+ <route_element name="link0"/>\r
+ </route>\r
+</platform_description>\r
--- /dev/null
+<?xml version='1.0'?>\r
+<!DOCTYPE platform_description SYSTEM "surfxml.dtd">\r
+<platform_description version="1">\r
+ <cpu name="cpu0" power="1"/>\r
+ <cpu name="cpu1" power="1"/>
+
+ <network_link name="switch" bandwidth="2" latency="1" sharing_policy="FATPIPE"/>
+ <network_link name="link0" bandwidth="1" latency=".5" sharing_policy="SHARED"/>
+ <network_link name="link1" bandwidth="1" latency=".5" sharing_policy="SHARED"/>
+
+ <route src="cpu0" dst="cpu1">\r
+ <route_element name="link0"/>\r
+ <route_element name="switch"/>
+ <route_element name="link1"/>
+ </route>\r
+
+ <route src="cpu1" dst="cpu0">\r
+ <route_element name="link1"/>\r
+ <route_element name="switch"/>
+ <route_element name="link0"/>
+ </route>
+ \r
+</platform_description>\r
--- /dev/null
+
+/*
+ * SimDag
+ * Latency tests
+ * Copyright (C) 2007
+ * Sascha Hunold, Frederic Suter
+ */
+
+#include <stdio.h>
+#include <stdlib.h>
+
+#include "simdag/simdag.h"
+
+/*
+ * simple latency test
+ * send one byte from 0 to 1
+ *
+ * this is a test for multiple platforms
+ * see tesh file for expected output
+ *
+ */
+int main(int argc, char **argv) {
+ double time;
+ double communication_amount[] = { 0.0, 1.0, 0.0, 0.0 };
+ const double no_cost[] = { 0.0, 0.0 };
+ SD_task_t task;
+
+ SD_init(&argc, argv);
+ SD_create_environment(argv[1]);
+
+ task = SD_task_create("Comm 1", NULL, 1.0);
+
+ SD_task_schedule(task, 2, SD_workstation_get_list(), no_cost,
+ communication_amount, -1.0);
+
+ SD_simulate(-1.0);
+
+ time = SD_get_clock();
+
+ printf("%g\n", time);
+ fflush(stdout);
+
+ SD_task_destroy(task);
+
+ SD_exit();
+
+ return 0;
+}
+
--- /dev/null
+
+p latency check, 1 byte, shared link
+
+$ simdag/network/p2p/test_latency1 simdag/network/p2p/platform_2p_1sl.xml --log=sd_kernel.thres=warning
+> 1.5
+
+p latency check, 1 byte, fat pipe
+
+$ simdag/network/p2p/test_latency1 simdag/network/p2p/platform_2p_1fl.xml --log=sd_kernel.thres=warning
+> 1.5
+
+p latency check, 1 byte, link - switch - link
+
+$ simdag/network/p2p/test_latency1 simdag/network/p2p/platform_2p_1switch.xml --log=sd_kernel.thres=warning
+> 3
+
--- /dev/null
+
+/*
+ * SimDag
+ * Latency tests
+ * Copyright (C) 2007
+ * Sascha Hunold, Frederic Suter
+ */
+
+#include <stdio.h>
+#include <stdlib.h>
+
+#include "simdag/simdag.h"
+
+
+/*
+ * bw and latency test 2
+ * send 2 x 1 byte from 2 task in same direction 0 -> 1
+ *
+ */
+
+int main(int argc, char **argv) {
+ double time;
+ SD_task_t root;
+ SD_task_t task1;
+ SD_task_t task2;
+ double communication_amount1[] = { 0.0, 1.0, 0.0, 0.0 };
+ double communication_amount2[] = { 0.0, 1.0, 0.0, 0.0 };
+ double no_cost1[] = { 0.0 };
+ double no_cost[] = { 0.0, 0.0 };
+
+ SD_init(&argc, argv);
+ SD_create_environment(argv[1]);
+
+ root = SD_task_create("Root", NULL, 1.0);
+ task1 = SD_task_create("Comm 1", NULL, 1.0);
+ task2 = SD_task_create("Comm 2", NULL, 1.0);
+
+ SD_task_schedule(root, 1, SD_workstation_get_list(), no_cost1, no_cost1,
+ -1.0);
+ SD_task_schedule(task1, 2, SD_workstation_get_list(), no_cost,
+ communication_amount1, -1.0);
+ SD_task_schedule(task2, 2, SD_workstation_get_list(), no_cost,
+ communication_amount2, -1.0);
+
+ SD_task_dependency_add(NULL, NULL, root, task1);
+ SD_task_dependency_add(NULL, NULL, root, task2);
+
+ SD_simulate(-1.0);
+
+ time = SD_get_clock();
+
+ printf("%g\n", time);
+ fflush(stdout);
+
+ SD_task_destroy(root);
+ SD_task_destroy(task1);
+ SD_task_destroy(task2);
+
+ SD_exit();
+
+ return 0;
+}
+
--- /dev/null
+
+p latency check, 2 x 1 byte, same direction, shared link
+
+$ simdag/network/p2p/test_latency2 simdag/network/p2p/platform_2p_1sl.xml --log=sd_kernel.thres=warning
+> 2.5
+
+p latency check, 2 x 1 byte, same direction, fat pipe
+
+$ simdag/network/p2p/test_latency2 simdag/network/p2p/platform_2p_1fl.xml --log=sd_kernel.thres=warning
+> 1.5
+
+p latency check, 2 x 1 byte, same direction, link - switch - link
+
+$ simdag/network/p2p/test_latency2 simdag/network/p2p/platform_2p_1switch.xml --log=sd_kernel.thres=warning
+> 4
+
--- /dev/null
+
+/*
+ * SimDag
+ * Latency tests
+ * Copyright (C) 2007
+ * Sascha Hunold, Frederic Suter
+ */
+
+#include <stdio.h>
+#include <stdlib.h>
+
+#include "simdag/simdag.h"
+
+/**
+ * bw and latency test 3
+ * same intention as test 2
+ * sending 2 x 1 bytes at the same time
+ * this time in opposite direction
+ *
+ */
+
+int main(int argc, char **argv) {
+ double time;
+ SD_task_t root;
+ SD_task_t task1;
+ SD_task_t task2;
+ double communication_amount1[] = { 0.0, 1.0, 0.0, 0.0 };
+ double communication_amount2[] = { 0.0, 0.0, 1.0, 0.0 };
+ double no_cost1[] = { 0.0 };
+ double no_cost[] = { 0.0, 0.0 };
+
+ SD_init(&argc, argv);
+ SD_create_environment(argv[1]);
+
+ root = SD_task_create("Root", NULL, 1.0);
+ task1 = SD_task_create("Comm 1", NULL, 1.0);
+ task2 = SD_task_create("Comm 2", NULL, 1.0);
+
+ SD_task_schedule(root, 1, SD_workstation_get_list(), no_cost1,
+ no_cost1, -1.0);
+ SD_task_schedule(task1, 2, SD_workstation_get_list(), no_cost,
+ communication_amount1, -1.0);
+ SD_task_schedule(task2, 2, SD_workstation_get_list(), no_cost,
+ communication_amount2, -1.0);
+
+ SD_task_dependency_add(NULL, NULL, root, task1);
+ SD_task_dependency_add(NULL, NULL, root, task2);
+
+ SD_simulate(-1.0);
+
+ time = SD_get_clock();
+
+ printf("%g\n", time);
+ fflush(stdout);
+
+ SD_task_destroy(root);
+ SD_task_destroy(task1);
+ SD_task_destroy(task2);
+
+ SD_exit();
+
+ return 0;
+}
+
--- /dev/null
+
+p latency check, 2 x 1 byte, opposite direction, shared link
+
+$ simdag/network/p2p/test_latency3 simdag/network/p2p/platform_2p_1sl.xml --log=sd_kernel.thres=warning
+> 2.5
+
+p latency check, 2 x 1 byte, opposite direction, fat pipe
+
+$ simdag/network/p2p/test_latency3 simdag/network/p2p/platform_2p_1fl.xml --log=sd_kernel.thres=warning
+> 1.5
+
+p latency check, 2 x 1 byte, opposite direction, link - switch - link
+
+$ simdag/network/p2p/test_latency3 simdag/network/p2p/platform_2p_1switch.xml --log=sd_kernel.thres=warning
+> 4
+
--- /dev/null
+
+/*
+ * SimDag
+ * Latency tests
+ * Copyright (C) 2007
+ * Sascha Hunold, Frederic Suter
+ */
+
+#include <stdio.h>
+#include <stdlib.h>
+
+#include "simdag/simdag.h"
+
+#define TASK_NUM 3
+
+/**
+ * 3 tasks send 1 byte in parallel
+ * 3 flows exceed bandwidth
+ * should be 10001.5
+ * because the max tcp win size is 20000
+ *
+ * @todo@ test assumes that max tcp win size is 20000
+ * assert this
+ */
+
+int main(int argc, char **argv) {
+ int i;
+ double time;
+ double communication_amount[] = { 0.0, 1.0, 0.0, 0.0 };
+ double no_cost[] = { 0.0, 0.0 };
+
+ SD_task_t root;
+ SD_task_t task[TASK_NUM];
+
+ SD_init(&argc, argv);
+ SD_create_environment(argv[1]);
+
+ // xbt_assert0( check max tcp win size, "MAX TCP WIN SIZE is 20000");
+
+ root = SD_task_create("Root", NULL, 1.0);
+ SD_task_schedule(root, 1, SD_workstation_get_list(), no_cost, no_cost, -1.0);
+
+ for (i=0; i<TASK_NUM; i++) {
+ task[i] = SD_task_create("Comm", NULL, 1.0);
+ SD_task_schedule(task[i], 2, SD_workstation_get_list(), no_cost,
+ communication_amount, -1.0);
+ SD_task_dependency_add(NULL, NULL, root, task[i]);
+ }
+
+ SD_simulate(-1.0);
+
+ time = SD_get_clock();
+
+ printf("%g\n", time);
+ fflush(stdout);
+
+ for (i=0; i<TASK_NUM; i++) {
+ SD_task_destroy(task[i]);
+ }
+
+ SD_exit();
+
+ return 0;
+}
+
--- /dev/null
+
+p latency bounded by large latency link
+
+$ simdag/network/p2p/test_latency_bound simdag/network/p2p/platform_2p_1bb.xml --log=sd_kernel.thres=warning
+> 10001.5
--- /dev/null
+<?xml version='1.0'?>\r
+<!DOCTYPE platform_description SYSTEM "surfxml.dtd">\r
+<platform_description version="1">\r
+ <cpu name="cpu0" power="1"/>\r
+ <cpu name="cpu1" power="1"/>
+ <!-- \r
+ <network_link name="link0" bandwidth="1.25e+08" latency="2.0e-04" sharing_policy="SHARED"/>
+ -->\r
+ <network_link name="link0" bandwidth="1" latency=".5" sharing_policy="SHARED"/>
+ <route src="cpu0" dst="cpu1">\r
+ <route_element name="link0"/>\r
+ </route>\r
+ <route src="cpu1" dst="cpu0">\r
+ <route_element name="link0"/>\r
+ </route>\r
+</platform_description>\r
--- /dev/null
+#include <stdio.h>
+#include <stdlib.h>
+
+#include "simdag/simdag.h"
+
+/*
+ * SimDag
+ * Computation tests
+ * Copyright (C) 2007
+ * Sascha Hunold, Frederic Suter
+ */
+
+/*
+ * This test checks if the reinitialization of
+ * surf works properly.
+ * 1 test: empty task, reinit, empty task
+ * 2 test: comm cost task, reinit, empty task
+ *
+ * output should be:
+ * 0
+ * 1.5
+ */
+
+static SD_task_t create_empty_cost_root() {
+ double no_cost[] = { 0.0 };
+ SD_task_t root;
+
+ root = SD_task_create("Root", NULL, 1.0);
+ SD_task_schedule(root, 1, SD_workstation_get_list(), no_cost, no_cost, -1.0);
+
+ return root;
+}
+
+static void zero_cost_test(int *argc, char *argv[]) {
+ double time;
+ SD_task_t task;
+
+ SD_init(argc, argv);
+ SD_create_environment(argv[1]);
+
+ task = create_empty_cost_root();
+ SD_simulate(-1.0);
+ SD_task_destroy(task);
+
+ SD_application_reinit();
+
+ task = create_empty_cost_root();
+ SD_simulate(-1.0);
+ SD_task_destroy(task);
+
+ SD_simulate(-1.0);
+
+ time = SD_get_clock();
+ printf("%g\n", time);
+ fflush(stdout);
+
+ SD_exit();
+}
+
+static SD_task_t create_root_with_costs() {
+ double comp_cost[] = { 0.0, 0.0 };
+ double comm_cost[] = { 0.0, 1.0, 0.0, 0.0 };
+ SD_task_t root;
+
+ root = SD_task_create("Root", NULL, 1.0);
+ SD_task_schedule(root, 2, SD_workstation_get_list(), comp_cost, comm_cost,
+ -1.0);
+
+ return root;
+}
+
+static void zero_cost_test2(int *argc, char *argv[]) {
+ double time;
+ SD_task_t task;
+
+ SD_init(argc, argv);
+ SD_create_environment(argv[1]);
+
+ task = create_root_with_costs();
+ SD_simulate(-1.0);
+ SD_task_destroy(task);
+
+ SD_application_reinit();
+
+ task = create_empty_cost_root();
+ SD_simulate(-1.0);
+ SD_task_destroy(task);
+
+ SD_simulate(-1.0);
+
+ time = SD_get_clock();
+ printf("%g\n", time);
+ fflush(stdout);
+
+ SD_exit();
+}
+
+int main(int argc, char **argv) {
+
+ zero_cost_test(&argc, argv);
+
+ zero_cost_test2(&argc, argv);
+
+ return 0;
+}
+
--- /dev/null
+
+p Reinitialization test
+
+$ simdag/network/test_reinit_costs simdag/network/platform_2p_1sl.xml --log=sd_kernel.thres=warning
+> 0
+> 1.5
--- /dev/null
+<?xml version='1.0'?>\r
+<!DOCTYPE platform_description SYSTEM "surfxml.dtd">\r
+<platform_description version="1">\r
+ <cpu name="cpu0" power="1"/>\r
+ <cpu name="cpu1" power="1"/>
+ <network_link name="link0" bandwidth="1" latency=".5" sharing_policy="SHARED"/>
+ <route src="cpu0" dst="cpu1">\r
+ <route_element name="link0"/>\r
+ </route>\r
+ <route src="cpu1" dst="cpu0">\r
+ <route_element name="link0"/>\r
+ </route>\r
+</platform_description>\r
--- /dev/null
+<?xml version='1.0'?>
+<!DOCTYPE platform_description SYSTEM "surfxml.dtd">
+<platform_description version="1">
+
+ <cpu name="cpu0" power="1" />
+ <cpu name="cpu1" power="2" />
+
+ <network_link name="link0" bandwidth="1" latency=".5"
+ sharing_policy="SHARED" />
+ <route src="cpu0" dst="cpu1">
+ <route_element name="link0" />
+ </route>
+ <route src="cpu1" dst="cpu0">
+ <route_element name="link0" />
+ </route>
+</platform_description>
--- /dev/null
+
+/*
+ * SimDag
+ * Computation tests
+ * Copyright (C) 2007
+ * Sascha Hunold, Frederic Suter
+ */
+
+#include <stdio.h>
+#include <stdlib.h>
+
+#include "simdag/simdag.h"
+
+int main(int argc, char **argv) {
+
+ double time;
+ double comm_amount[] = { 0.0, 0.0, 0.0, 0.0 };
+ double comp_cost[] = { 1.0, 1.0 };
+
+ SD_task_t task;
+
+ SD_init(&argc, argv);
+ SD_create_environment(argv[1]);
+
+ task = SD_task_create("partask", NULL, 1.0);
+ SD_task_schedule(task, 2, SD_workstation_get_list(), comp_cost,
+ comm_amount, -1.0);
+
+ SD_simulate(-1.0);
+
+ time = SD_get_clock();
+
+ printf("%g\n", time);
+ fflush(stdout);
+
+ SD_task_destroy(task);
+
+ SD_exit();
+
+ return 0;
+}
+
--- /dev/null
+
+p par task comp only, no comm, homogeneous
+
+$ simdag/partask/test_comp_only_par simdag/partask/platform_2p_1sl.xml --log=sd_kernel.thres=warning
+> 1
+
+p par task comp only, no comm, heterogeneous
+
+$ simdag/partask/test_comp_only_par simdag/partask/platform_2p_1sl_hetero.xml --log=sd_kernel.thres=warning
+> 1
--- /dev/null
+
+/*
+ * SimDag
+ * Computation tests
+ * Copyright (C) 2007
+ * Sascha Hunold, Frederic Suter
+ */
+
+#include <stdio.h>
+#include <stdlib.h>
+
+#include "simdag/simdag.h"
+
+int main(int argc, char **argv) {
+
+ double time;
+ double comm_amount[] = { 0.0 };
+ double comp_cost[] = { 1.0 };
+
+ SD_task_t task;
+
+ SD_init(&argc, argv);
+ SD_create_environment(argv[1]);
+
+ task = SD_task_create("seqtask", NULL, 1.0);
+ SD_task_schedule(task, 1, SD_workstation_get_list(), comp_cost,
+ comm_amount, -1.0);
+
+ SD_simulate(-1.0);
+
+ time = SD_get_clock();
+
+ printf("%g\n", time);
+ fflush(stdout);
+
+ SD_task_destroy(task);
+
+ SD_exit();
+
+ return 0;
+}
+
--- /dev/null
+
+p seq task comp only, no comm
+
+$ simdag/partask/test_comp_only_seq simdag/partask/platform_2p_1sl.xml --log=sd_kernel.thres=warning
+> 1