Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
further reorg
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Thu, 17 Mar 2016 08:17:07 +0000 (09:17 +0100)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Thu, 17 Mar 2016 08:17:07 +0000 (09:17 +0100)
14 files changed:
.gitignore
teshsuite/simdag/CMakeLists.txt
teshsuite/simdag/comm-p2p-latency-bound/comm-p2p-latency-bound.tesh
teshsuite/simdag/comp-only-par/comp-only-par.c [moved from teshsuite/simdag/partask/par-comp_only_par.c with 100% similarity]
teshsuite/simdag/comp-only-par/comp-only-par.tesh [new file with mode: 0644]
teshsuite/simdag/comp-only-seq/comp-only-seq.c [moved from teshsuite/simdag/partask/par-comp_only_seq.c with 100% similarity]
teshsuite/simdag/comp-only-seq/comp-only-seq.tesh [new file with mode: 0644]
teshsuite/simdag/partask/CMakeLists.txt [deleted file]
teshsuite/simdag/partask/par-comp_only_par.tesh [deleted file]
teshsuite/simdag/partask/par-comp_only_seq.tesh [deleted file]
teshsuite/simdag/partask/platform_2p_1sl.xml [deleted file]
teshsuite/simdag/platforms/CMakeLists.txt
teshsuite/simdag/platforms/platform_2p_1sl_hetero.xml [moved from teshsuite/simdag/partask/platform_2p_1sl_hetero.xml with 100% similarity]
tools/cmake/DefinePackages.cmake

index db80aae..ee1cfbf 100644 (file)
@@ -294,8 +294,8 @@ teshsuite/simdag/comm-p2p-latency-2/comm-p2p-latency-2
 teshsuite/simdag/comm-p2p-latency-3/comm-p2p-latency-3
 teshsuite/simdag/comm-p2p-latency-bound/comm-p2p-latency-bound
 teshsuite/simdag/network/test_reinit_costs
-teshsuite/simdag/partask/par-comp_only_par
-teshsuite/simdag/partask/par-comp_only_seq
+teshsuite/simdag/comp-only-par/comp-only-par
+teshsuite/simdag/comp-only-seq/comp-only-seq
 teshsuite/simdag/platforms/basic_link_test
 teshsuite/simdag/platforms/basic_parsing_test
 teshsuite/simdag/platforms/basic_tracing
index 65cbe86..5c9dce4 100644 (file)
@@ -1,5 +1,5 @@
 foreach(x availability comm-mxn-all2all comm-mxn-independent comm-mxn-scatter comm-p2p-latency-1 comm-p2p-latency-2
-          comm-p2p-latency-3 comm-p2p-latency-bound incomplete)
+          comm-p2p-latency-3 comm-p2p-latency-bound comp-only-par comp-only-seq incomplete)
   add_executable       (${x}  ${x}/${x}.c)
   target_link_libraries(${x}  simgrid)
   set_target_properties(${x}  PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${x})
diff --git a/teshsuite/simdag/comp-only-par/comp-only-par.tesh b/teshsuite/simdag/comp-only-par/comp-only-par.tesh
new file mode 100644 (file)
index 0000000..21adaf9
--- /dev/null
@@ -0,0 +1,11 @@
+p par task comp only, no comm, homogeneous
+! output sort
+$ ${bindir:=.}/comp-only-par ../platforms/platform_2p_1sl.xml --cfg=path:${srcdir} --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
+> [  0.000000] (0:maestro@) Switching to the L07 model to handle parallel tasks.
+> 1
+
+p par task comp only, no comm, heterogeneous
+! output sort
+$ ${bindir:=.}/comp-only-par ../platforms/platform_2p_1sl_hetero.xml --cfg=path:${srcdir} --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
+> [  0.000000] (0:maestro@) Switching to the L07 model to handle parallel tasks.
+> 1
diff --git a/teshsuite/simdag/comp-only-seq/comp-only-seq.tesh b/teshsuite/simdag/comp-only-seq/comp-only-seq.tesh
new file mode 100644 (file)
index 0000000..9b88759
--- /dev/null
@@ -0,0 +1,6 @@
+p seq task comp only, no comm
+
+! output sort
+$ ${bindir:=.}/comp-only-seq ../platforms/platform_2p_1sl.xml --cfg=path:${srcdir} --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
+> [  0.000000] (0:maestro@) Switching to the L07 model to handle parallel tasks.
+> 1
diff --git a/teshsuite/simdag/partask/CMakeLists.txt b/teshsuite/simdag/partask/CMakeLists.txt
deleted file mode 100644 (file)
index 3d7143d..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-foreach(x par-comp_only_seq par-comp_only_par)
-  add_executable       (${x} ${x}.c)
-  target_link_libraries(${x} simgrid)
-
-  set(tesh_files    ${tesh_files}    ${CMAKE_CURRENT_SOURCE_DIR}/${x}.tesh)
-  set(teshsuite_src ${teshsuite_src} ${CMAKE_CURRENT_SOURCE_DIR}/${x}.c)
-
-  ADD_TESH(tesh-simdag-${x} --setenv srcdir=${CMAKE_HOME_DIRECTORY}/teshsuite --cd ${CMAKE_BINARY_DIR}/teshsuite ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/partask/${x}.tesh)
-endforeach()
-
-set(teshsuite_src ${teshsuite_src}                                                        PARENT_SCOPE)
-set(tesh_files    ${tesh_files}                                                           PARENT_SCOPE)
-set(xml_files     ${xml_files}     ${CMAKE_CURRENT_SOURCE_DIR}/platform_2p_1sl_hetero.xml
-                                   ${CMAKE_CURRENT_SOURCE_DIR}/platform_2p_1sl.xml        PARENT_SCOPE)
diff --git a/teshsuite/simdag/partask/par-comp_only_par.tesh b/teshsuite/simdag/partask/par-comp_only_par.tesh
deleted file mode 100644 (file)
index 48fe9cd..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-
-p par task comp only, no comm, homogeneous
-! output sort
-$ simdag/partask/par-comp_only_par ${srcdir:=.}/simdag/partask/platform_2p_1sl.xml --cfg=path:${srcdir} --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
-> [  0.000000] (0:maestro@) Switching to the L07 model to handle parallel tasks.
-> 1
-
-p par task comp only, no comm, heterogeneous
-! output sort
-$ simdag/partask/par-comp_only_par ${srcdir:=.}/simdag/partask/platform_2p_1sl_hetero.xml --cfg=path:${srcdir} --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
-> [  0.000000] (0:maestro@) Switching to the L07 model to handle parallel tasks.
-> 1
diff --git a/teshsuite/simdag/partask/par-comp_only_seq.tesh b/teshsuite/simdag/partask/par-comp_only_seq.tesh
deleted file mode 100644 (file)
index 71dabe1..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-
-p seq task comp only, no comm
-
-! output sort
-$ simdag/partask/par-comp_only_seq ${srcdir:=.}/simdag/partask/platform_2p_1sl.xml --cfg=path:${srcdir} --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
-> [  0.000000] (0:maestro@) Switching to the L07 model to handle parallel tasks.
-> 1
diff --git a/teshsuite/simdag/partask/platform_2p_1sl.xml b/teshsuite/simdag/partask/platform_2p_1sl.xml
deleted file mode 100644 (file)
index 771d797..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version='1.0'?>
-<!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
-<platform version="4">
-  <AS id="AS0" routing="Full">
-    <host id="cpu0" speed="1f"/>
-    <host id="cpu1" speed="1f"/>
-
-    <link id="link0" bandwidth="1Bps" latency="500ms" sharing_policy="SHARED"/>
-
-    <route src="cpu0" dst="cpu1"><link_ctn id="link0"/></route>
-  </AS>
-</platform>
index 419f5ef..54f5b75 100644 (file)
@@ -51,6 +51,7 @@ set(xml_files     ${xml_files}      ${CMAKE_CURRENT_SOURCE_DIR}/four_hosts_Dijks
                                     ${CMAKE_CURRENT_SOURCE_DIR}/platform_2p_1bb.xml
                                     ${CMAKE_CURRENT_SOURCE_DIR}/platform_2p_1fl.xml
                                     ${CMAKE_CURRENT_SOURCE_DIR}/platform_2p_1sl.xml
+                                    ${CMAKE_CURRENT_SOURCE_DIR}/platform_2p_1sl_hetero.xml
                                     ${CMAKE_CURRENT_SOURCE_DIR}/platform_2p_1switch.xml
                                     ${CMAKE_CURRENT_SOURCE_DIR}/bogus_disk_attachment.xml                  PARENT_SCOPE)
 set(teshsuite_src ${teshsuite_src}  ${CMAKE_CURRENT_SOURCE_DIR}/flatifier.cpp
index f97e0b5..158a54f 100644 (file)
@@ -998,7 +998,6 @@ set(CMAKEFILES_TXT
 
   teshsuite/simdag/CMakeLists.txt
   teshsuite/simdag/basic/CMakeLists.txt
-  teshsuite/simdag/partask/CMakeLists.txt
   teshsuite/simdag/platforms/CMakeLists.txt
 
   teshsuite/simix/check_defaults/CMakeLists.txt