src/simdag/dax_dtd.l
src/surf/xml/simgrid_dtd.l
### Jedule
-examples/simdag/scheduling/sd_scheduling.jed
+examples/deprecated/simdag/scheduling/sd_scheduling.jed
teshsuite/simdag/platforms/simgrid.jed
### Libraries links
examples/lua/simgrid.so
-examples/simdag/simgrid.so
examples/lua/console/simgrid.so
SimGrid-*.tar.gz
simgrid.jar
callgrind.out.*
### Examples and traces
*.exe
-examples/msg/app-masterworker/app-masterworker
-examples/msg/cloud-masterworker/cloud-masterworker
-examples/msg/dht-kademlia/dht-kademlia
-examples/msg/dht-pastry/dht-pastry
-examples/msg/energy-vm/energy-vm
-examples/msg/maestro-set/maestro-set
-examples/msg/mc/bugged1
-examples/msg/mc/bugged1_liveness
-examples/msg/mc/bugged2
-examples/msg/mc/bugged2_liveness
-examples/msg/mc/bugged3
-examples/msg/mc/centralized_mutex
-examples/msg/mc/electric_fence
-examples/msg/network-ns3/network-ns3
-examples/msg/platform-failures/platform-failures
-examples/msg/process-create/process-create
-examples/msg/procmig.trace
-examples/msg/simulation.trace
-examples/msg/synchro-semaphore/synchro-semaphore
-examples/msg/trace-categories/trace-categories
-examples/msg/trace-host-user-variables/trace-host-user-variables
-examples/msg/trace-link-user-variables/trace-link-user-variables
-examples/msg/trace-masterworker/trace-masterworker
-examples/msg/trace-process-migration/trace-process-migration
-examples/msg/trace-route-user-variables/trace-route-user-variables
-examples/msg/*.pcap
-examples/msg/*.tr
+examples/deprecated/msg/app-masterworker/app-masterworker
+examples/deprecated/msg/cloud-masterworker/cloud-masterworker
+examples/deprecated/msg/dht-kademlia/dht-kademlia
+examples/deprecated/msg/dht-pastry/dht-pastry
+examples/deprecated/msg/energy-vm/energy-vm
+examples/deprecated/msg/maestro-set/maestro-set
+examples/deprecated/msg/mc/bugged1
+examples/deprecated/msg/mc/bugged1_liveness
+examples/deprecated/msg/mc/bugged2
+examples/deprecated/msg/mc/bugged2_liveness
+examples/deprecated/msg/mc/bugged3
+examples/deprecated/msg/mc/centralized_mutex
+examples/deprecated/msg/mc/electric_fence
+examples/deprecated/msg/network-ns3/network-ns3
+examples/deprecated/msg/platform-failures/platform-failures
+examples/deprecated/msg/process-create/process-create
+examples/deprecated/msg/procmig.trace
+examples/deprecated/msg/simulation.trace
+examples/deprecated/msg/synchro-semaphore/synchro-semaphore
+examples/deprecated/msg/trace-categories/trace-categories
+examples/deprecated/msg/trace-host-user-variables/trace-host-user-variables
+examples/deprecated/msg/trace-link-user-variables/trace-link-user-variables
+examples/deprecated/msg/trace-masterworker/trace-masterworker
+examples/deprecated/msg/trace-process-migration/trace-process-migration
+examples/deprecated/msg/trace-route-user-variables/trace-route-user-variables
+examples/deprecated/msg/*.pcap
+examples/deprecated/msg/*.tr
examples/s4u/actor-create/s4u-actor-create
examples/s4u/actor-daemon/s4u-actor-daemon
examples/s4u/actor-join/s4u-actor-join
examples/s4u/synchro-mutex/s4u-synchro-mutex
examples/s4u/synchro-semaphore/s4u-synchro-semaphore
examples/s4u/trace-platform/s4u-trace-platform
-examples/simdag/dag-dotload/sd_dag-dotload
-examples/simdag/daxload/sd_daxload
-examples/simdag/fail/sd_fail
-examples/simdag/goal/goal_test
-examples/simdag/properties/sd_properties
-examples/simdag/ptg-dotload/sd_ptg-dotload
-examples/simdag/schedule-dotload/sd_schedule-dotload
-examples/simdag/scheduling/sd_scheduling
-examples/simdag/test/sd_test
-examples/simdag/throttling/sd_throttling
-examples/simdag/typed_tasks/sd_typed_tasks
+examples/deprecated/simdag/dag-dotload/sd_dag-dotload
+examples/deprecated/simdag/daxload/sd_daxload
+examples/deprecated/simdag/fail/sd_fail
+examples/deprecated/simdag/goal/goal_test
+examples/deprecated/simdag/properties/sd_properties
+examples/deprecated/simdag/ptg-dotload/sd_ptg-dotload
+examples/deprecated/simdag/schedule-dotload/sd_schedule-dotload
+examples/deprecated/simdag/scheduling/sd_scheduling
+examples/deprecated/simdag/test/sd_test
+examples/deprecated/simdag/throttling/sd_throttling
+examples/deprecated/simdag/typed_tasks/sd_typed_tasks
examples/smpi/ampi/smpi_ampi
examples/smpi/energy/f77/sef
examples/smpi/energy/f90/sef90
@CMAKE_BINARY_DIR@/doc/doxygen/logcategories.doc \
@CMAKE_HOME_DIRECTORY@/include/ \
@CMAKE_HOME_DIRECTORY@/src/plugins/ \
- @CMAKE_HOME_DIRECTORY@/examples/msg/README.doc \
+ @CMAKE_HOME_DIRECTORY@/examples/deprecated/msg/README.doc \
@CMAKE_HOME_DIRECTORY@/examples/s4u/README.doc
@subsubsection faq_platform_example Where can I find SimGrid platform files?
-There are several little examples in the archive, in the examples/msg
+There are several little examples in the archive, in the examples/platforms
directory. From time to time, we are asked for other files, but we
don't have much at hand right now.
To add a new example, the first thing is to find the right place to add it. The examples/ directory is organized as
follows:
- - examples/java/ for examples using the Java bindings to the MSG API. This directory contains packages (app, async,
+ - examples/deprecated/java/ for examples using the Java bindings to the MSG API. This directory contains packages (app, async,
cloud, ...) which in turn contain individual examples. If your new example fits in an existing package, add it here,
or create a new package otherwise.
- - examples/msg/ for examples using the MSG API. Here the naming convention is package-example (e.g., app-masterworker).
+ - examples/deprecated/msg/ for examples using the MSG API. Here the naming convention is package-example (e.g., app-masterworker).
Again, please try to fit to an existing package before creating a new one.
- examples/platforms/ only contains platforms descriptions in the XML format (see @ref platform for details)
- examples/s4u/ for examples using the emerging S4U API
- - examples/simdag/ for examples using the SimDag API
+ - examples/deprecated/simdag/ for examples using the SimDag API
- examples/smpi/ or examples using the SMPI API
In each of these directories, there is a CMakeLists.txt file that has to be edited to include the new examples. For
-instance, examples/msg/CMakeLists.txt starts with a loop over all the (currently) existing tests in which we
+instance, examples/deprecated/msg/CMakeLists.txt starts with a loop over all the (currently) existing tests in which we
- compile and link the source file (which has to be named as the directory
- add the source and tesh files to the distribution.
async-wait async-waitall async-waitany cloud-capping cloud-masterworker cloud-migration cloud-simple
cloud-two-tasks dht-chord dht-kademlia platform-failures io-file io-remote io-storage task-priority
process-kill process-migration process-suspend platform-properties synchro-semaphore process-startkilltime)
- ADD_TESH_FACTORIES(msg-${x} "thread;ucontext;raw;boost" --setenv bindir=${CMAKE_BINARY_DIR}/examples/msg/${x} --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/platforms --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/${x} ${x}.tesh)
+ ADD_TESH_FACTORIES(msg-${x} "thread;ucontext;raw;boost" --setenv bindir=${CMAKE_BINARY_DIR}/examples/deprecated/msg/${x} --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/platforms --cd ${CMAKE_HOME_DIRECTORY}/examples/deprecated/msg/${x} ${x}.tesh)
endforeach()
@endverbatim
--setenv bindir=${CMAKE_BINARY_DIR}/examples/my-test/
--setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/my-test/
--cd ${CMAKE_HOME_DIRECTORY}/examples/my-test/
- ${CMAKE_HOME_DIRECTORY}/examples/msg/io/io.tesh
+ ${CMAKE_HOME_DIRECTORY}/examples/deprecated/msg/io/io.tesh
)
@endverbatim
Many other files from the examples/platform directory are usable with
the ns-3 model, such as @ref examples/platforms/dogbone.xml. Check the file
-examples/msg/network-ns3/network-ns3.tesh to see which ones are used
+examples/deprecated/msg/network-ns3/network-ns3.tesh to see which ones are used
in our regression tests. You may also be interested in the
@ref msg_ex_ns3 "ns-3/SimGrid examples".
source code and open the archive on your disk. In Eclipse, select
the menu "File / Import", and then in the wizard "General / Existing
Project into Workspace". On the Next page, select the directory
-"examples/java" that you can find in the SimGrid source tree as a root
+"examples/deprecated/java" that you can find in the SimGrid source tree as a root
directory and finish the creation.
The file ``simgrid.jar`` must be in the root directory of the SimGrid
.. code-block:: shell
- $ cd examples/java
+ $ cd examples/deprecated/java
$ java -classpath ../../simgrid.jar:. .:../../simgrid.jar app.pingpong.Main ../platforms/platform.xml
Any SimGrid simulation (java or not) is usually constituted of several
process-create
synchro-semaphore)
ADD_TESH_FACTORIES(msg-${x} "thread;ucontext;raw;boost"
- --setenv bindir=${CMAKE_BINARY_DIR}/examples/msg/${x}
- --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg/${x}
+ --setenv bindir=${CMAKE_BINARY_DIR}/examples/deprecated/msg/${x}
+ --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/deprecated/msg/${x}
--setenv platfdir=${CMAKE_HOME_DIRECTORY}/examples/platforms
- ${CMAKE_HOME_DIRECTORY}/examples/msg/${x}/${x}.tesh)
+ ${CMAKE_HOME_DIRECTORY}/examples/deprecated/msg/${x}/${x}.tesh)
endforeach()
foreach (x trace-categories trace-route-user-variables trace-link-user-variables trace-masterworker trace-process-migration trace-host-user-variables)
- ADD_TESH(msg-${x} --setenv bindir=${CMAKE_BINARY_DIR}/examples/msg/${x}
- --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg/${x}
+ ADD_TESH(msg-${x} --setenv bindir=${CMAKE_BINARY_DIR}/examples/deprecated/msg/${x}
+ --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/deprecated/msg/${x}
--setenv platfdir=${CMAKE_HOME_DIRECTORY}/examples/platforms
- --cd ${CMAKE_BINARY_DIR}/examples/msg/${x}
- ${CMAKE_HOME_DIRECTORY}/examples/msg/${x}/${x}.tesh)
+ --cd ${CMAKE_BINARY_DIR}/examples/deprecated/msg/${x}
+ ${CMAKE_HOME_DIRECTORY}/examples/deprecated/msg/${x}/${x}.tesh)
endforeach()
if(HAVE_SANITIZER_THREAD)
ADD_TESH_FACTORIES(msg-dht-kademlia-parallel "thread" --cfg contexts/nthreads:4 ${CONTEXTS_SYNCHRO}
- --setenv bindir=${CMAKE_BINARY_DIR}/examples/msg/dht-kademlia
- --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg/dht-kademlia
+ --setenv bindir=${CMAKE_BINARY_DIR}/examples/deprecated/msg/dht-kademlia
+ --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/deprecated/msg/dht-kademlia
--setenv platfdir=${CMAKE_HOME_DIRECTORY}/examples/platforms
- ${CMAKE_HOME_DIRECTORY}/examples/msg/dht-kademlia/dht-kademlia.tesh)
+ ${CMAKE_HOME_DIRECTORY}/examples/deprecated/msg/dht-kademlia/dht-kademlia.tesh)
else()
ADD_TESH_FACTORIES(msg-dht-kademlia-parallel "thread;ucontext;raw;boost" --cfg contexts/nthreads:4 ${CONTEXTS_SYNCHRO}
- --setenv bindir=${CMAKE_BINARY_DIR}/examples/msg/dht-kademlia
- --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg/dht-kademlia
+ --setenv bindir=${CMAKE_BINARY_DIR}/examples/deprecated/msg/dht-kademlia
+ --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/deprecated/msg/dht-kademlia
--setenv platfdir=${CMAKE_HOME_DIRECTORY}/examples/platforms
- ${CMAKE_HOME_DIRECTORY}/examples/msg/dht-kademlia/dht-kademlia.tesh)
+ ${CMAKE_HOME_DIRECTORY}/examples/deprecated/msg/dht-kademlia/dht-kademlia.tesh)
endif()
if(NOT WIN32)
- ADD_TESH_FACTORIES(msg-maestro-set "thread" --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg --cd ${CMAKE_BINARY_DIR}/examples/msg ${CMAKE_HOME_DIRECTORY}/examples/msg/maestro-set/maestro-set.tesh)
+ ADD_TESH_FACTORIES(msg-maestro-set "thread" --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/deprecated/msg --cd ${CMAKE_BINARY_DIR}/examples/deprecated/msg ${CMAKE_HOME_DIRECTORY}/examples/deprecated/msg/maestro-set/maestro-set.tesh)
else()
message("Test maestro-set disabled on windows: this feature is not working")
endif()
ADD_TESH_FACTORIES(app-masterworker-multicore "thread;ucontext;raw;boost"
- --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg/app-masterworker
- --setenv bindir=${CMAKE_BINARY_DIR}/examples/msg/app-masterworker
+ --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/deprecated/msg/app-masterworker
+ --setenv bindir=${CMAKE_BINARY_DIR}/examples/deprecated/msg/app-masterworker
--setenv platfdir=${CMAKE_HOME_DIRECTORY}/examples/platforms
- ${CMAKE_HOME_DIRECTORY}/examples/msg/app-masterworker/app-masterworker-multicore.tesh)
+ ${CMAKE_HOME_DIRECTORY}/examples/deprecated/msg/app-masterworker/app-masterworker-multicore.tesh)
ADD_TESH_FACTORIES(app-masterworker-vivaldi "thread;ucontext;raw;boost"
- --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg/app-masterworker
- --setenv bindir=${CMAKE_BINARY_DIR}/examples/msg/app-masterworker
+ --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/deprecated/msg/app-masterworker
+ --setenv bindir=${CMAKE_BINARY_DIR}/examples/deprecated/msg/app-masterworker
--setenv platfdir=${CMAKE_HOME_DIRECTORY}/examples/platforms
- ${CMAKE_HOME_DIRECTORY}/examples/msg/app-masterworker/app-masterworker-vivaldi.tesh)
+ ${CMAKE_HOME_DIRECTORY}/examples/deprecated/msg/app-masterworker/app-masterworker-vivaldi.tesh)
if(SIMGRID_HAVE_NS3)
ADD_TESH_FACTORIES(msg-network-ns3 "thread;ucontext;raw;boost"
- --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg
- --setenv bindir=${CMAKE_BINARY_DIR}/examples/msg
+ --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/deprecated/msg
+ --setenv bindir=${CMAKE_BINARY_DIR}/examples/deprecated/msg
--setenv platfdir=${CMAKE_HOME_DIRECTORY}/examples/platforms
- ${CMAKE_HOME_DIRECTORY}/examples/msg/network-ns3/network-ns3.tesh)
+ ${CMAKE_HOME_DIRECTORY}/examples/deprecated/msg/network-ns3/network-ns3.tesh)
endif()
@section msg_ex_basics Basic examples and features
- <b>Master Workers</b>.
- @ref examples/msg/app-masterworker/app-masterworker.c\n
+ @ref examples/deprecated/msg/app-masterworker/app-masterworker.c\n
Another good old example, where one Master process has a bunch of
task to dispatch to a set of several Worker processes.
@section msg_ex_process Acting on Processes
- <b>Creating processes</b>.
- @ref examples/msg/process-create/process-create.c \n
+ @ref examples/deprecated/msg/process-create/process-create.c \n
Most processes are started from the deployment XML file, but they
can also be used with the @ref MSG_process_create() function.
options to see the task executions:
- <b>Setting Categories</b>.
- @ref examples/msg/trace-categories/trace-categories.c \n
+ @ref examples/deprecated/msg/trace-categories/trace-categories.c \n
This example declares several tracing categories
to that are used to classify its tasks. When the program is executed,
the tracing mechanism registers the resource utilization of hosts
@endverbatim
- <b>Master Workers tracing</b>.
- @ref examples/msg/trace-masterworker/trace-masterworker.c \n
+ @ref examples/deprecated/msg/trace-masterworker/trace-masterworker.c \n
This is an augmented version of our basic master/worker example
using several tracing features. It traces resource usage, sorted
out in several categories; Trace marks and user variables are also
@endverbatim
- <b>Process migration tracing</b>.
- @ref examples/msg/trace-process-migration/trace-process-migration.c \n
+ @ref examples/deprecated/msg/trace-process-migration/trace-process-migration.c \n
This version is enhanced so that the process migrations can be
displayed as arrows in a Gantt-chart visualization. Recommanded
options to that extend:
@endverbatim
- <b>Attaching variables to Hosts</b>.
- @ref examples/msg/trace-host-user-variables/trace-host-user-variables.c
+ @ref examples/deprecated/msg/trace-host-user-variables/trace-host-user-variables.c
- <b>Attaching variables to Links</b>.
- @ref examples/msg/trace-link-user-variables/trace-link-user-variables.c \n
+ @ref examples/deprecated/msg/trace-link-user-variables/trace-link-user-variables.c \n
The tricky part is that you have to know the name of the link you
want to enhance with a variable.
- <b>Attaching variables to network Routes</b>
- @ref examples/msg/trace-route-user-variables/trace-route-user-variables.c \n
+ @ref examples/deprecated/msg/trace-route-user-variables/trace-route-user-variables.c \n
It is often easier to update a given variable for all links of a
given network path (identified by its source and destination
hosts) instead of knowing the name of each specific link.
of SimGrid and the tesh file to see how to actually start a simulation
in these settings.
- - @ref examples/msg/network-ns3/network-ns3.c. Simple ping-pong using
+ - @ref examples/deprecated/msg/network-ns3/network-ns3.c. Simple ping-pong using
ns-3 instead of the SimGrid network models.
TODO: merge the C files
/**
-@example examples/msg/app-masterworker/app-masterworker.c
+@example examples/deprecated/msg/app-masterworker/app-masterworker.c
-@example examples/msg/process-create/process-create.c
+@example examples/deprecated/msg/process-create/process-create.c
-@example examples/msg/trace-categories/trace-categories.c
-@example examples/msg/trace-masterworker/trace-masterworker.c
-@example examples/msg/trace-process-migration/trace-process-migration.c
-@example examples/msg/trace-host-user-variables/trace-host-user-variables.c
-@example examples/msg/trace-link-user-variables/trace-link-user-variables.c
-@example examples/msg/trace-route-user-variables/trace-route-user-variables.c
+@example examples/deprecated/msg/trace-categories/trace-categories.c
+@example examples/deprecated/msg/trace-masterworker/trace-masterworker.c
+@example examples/deprecated/msg/trace-process-migration/trace-process-migration.c
+@example examples/deprecated/msg/trace-host-user-variables/trace-host-user-variables.c
+@example examples/deprecated/msg/trace-link-user-variables/trace-link-user-variables.c
+@example examples/deprecated/msg/trace-route-user-variables/trace-route-user-variables.c
-@example examples/msg/network-ns3/network-ns3.c
+@example examples/deprecated/msg/network-ns3/network-ns3.c
*/
#!/usr/bin/env tesh
-$ $SG_TEST_EXENV maestro-set/maestro-set$EXEEXT ${srcdir:=.}/../platforms/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
+$ $SG_TEST_EXENV maestro-set/maestro-set$EXEEXT ${srcdir:=.}/../../platforms/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
> [ 0.000000] (0:maestro@) I am not the main thread, as expected
> [ 0.000000] (2:receiver@Jupiter) I am not the main thread, as expected
> [ 0.000000] (1:sender@Tremblay) I am the main thread, as expected
${CMAKE_CURRENT_SOURCE_DIR}/scheduling/expected_output.jed PARENT_SCOPE)
foreach(x daxload fail typed_tasks properties throttling scheduling test)
- ADD_TESH(simdag-${x} --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/simdag --cd ${CMAKE_BINARY_DIR}/examples/simdag ${CMAKE_HOME_DIRECTORY}/examples/simdag/${x}/sd_${x}.tesh)
+ ADD_TESH(simdag-${x} --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/deprecated/simdag --cd ${CMAKE_BINARY_DIR}/examples/deprecated/simdag ${CMAKE_HOME_DIRECTORY}/examples/deprecated/simdag/${x}/sd_${x}.tesh)
endforeach()
if(HAVE_GRAPHVIZ)
foreach(x dag-dotload ptg-dotload schedule-dotload)
- ADD_TESH(simdag-${x} --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/simdag --cd ${CMAKE_BINARY_DIR}/examples/simdag ${CMAKE_HOME_DIRECTORY}/examples/simdag/${x}/sd_${x}.tesh)
+ ADD_TESH(simdag-${x} --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/deprecated/simdag --cd ${CMAKE_BINARY_DIR}/examples/deprecated/simdag ${CMAKE_HOME_DIRECTORY}/examples/deprecated/simdag/${x}/sd_${x}.tesh)
endforeach()
endif()
# The order differ when executed with gcc's thread sanitizer
! output sort
-$ $SG_TEST_EXENV ${bindir:=.}/dag-dotload/sd_dag-dotload --log=no_loc ${srcdir:=.}/../platforms/cluster_backbone.xml ${srcdir:=.}/dag-dotload/dag.dot
+$ $SG_TEST_EXENV ${bindir:=.}/dag-dotload/sd_dag-dotload --log=no_loc ${srcdir:=.}/../../platforms/cluster_backbone.xml ${srcdir:=.}/dag-dotload/dag.dot
> [0.000000] [xbt_cfg/INFO] Switching to the L07 model to handle parallel tasks.
> [0.000000] [test/INFO] ------------------- Display all tasks of the loaded DAG ---------------------------
> [0.000000] [sd_task/INFO] Displaying task root
$ rm -f ${srcdir:=.}/dag-dotload/dag.trace ${srcdir:=.}/dot.dot
! expect return 2
-$ $SG_TEST_EXENV ${bindir:=.}/dag-dotload/sd_dag-dotload --log=no_loc ${srcdir:=.}/../platforms/cluster_backbone.xml ${srcdir:=.}/dag-dotload/dag_with_cycle.dot
+$ $SG_TEST_EXENV ${bindir:=.}/dag-dotload/sd_dag-dotload --log=no_loc ${srcdir:=.}/../../platforms/cluster_backbone.xml ${srcdir:=.}/dag-dotload/dag_with_cycle.dot
> [0.000000] [xbt_cfg/INFO] Switching to the L07 model to handle parallel tasks.
> [0.000000] [sd_daxparse/WARNING] the task root is not marked
> [0.000000] [sd_daxparse/WARNING] the task 1 is in a cycle
p Test the DAX loader on a small DAX instance
! output sort
-$ $SG_TEST_EXENV ${bindir:=.}/daxload/sd_daxload --log=no_loc ${srcdir:=.}/../platforms/cluster_backbone.xml ${srcdir:=.}/daxload/smalldax.xml
+$ $SG_TEST_EXENV ${bindir:=.}/daxload/sd_daxload --log=no_loc ${srcdir:=.}/../../platforms/cluster_backbone.xml ${srcdir:=.}/daxload/smalldax.xml
> [0.000000] [xbt_cfg/INFO] Switching to the L07 model to handle parallel tasks.
> [0.000000] [sd_daxparse/WARNING] Ignore file o1 size redefinition from 1000000 to 304
> [0.000000] [sd_daxparse/WARNING] Ignore file o2 size redefinition from 1000000 to 304
p Test the DAX loader with a DAX comprising a cycle.
! expect return 255
-$ $SG_TEST_EXENV ${bindir:=.}/daxload/sd_daxload --log=no_loc ${srcdir:=.}/../platforms/cluster_backbone.xml ${srcdir:=.}/daxload/simple_dax_with_cycle.xml
+$ $SG_TEST_EXENV ${bindir:=.}/daxload/sd_daxload --log=no_loc ${srcdir:=.}/../../platforms/cluster_backbone.xml ${srcdir:=.}/daxload/simple_dax_with_cycle.xml
> [0.000000] [xbt_cfg/INFO] Switching to the L07 model to handle parallel tasks.
> [0.000000] [sd_daxparse/WARNING] the task root is not marked
> [0.000000] [sd_daxparse/WARNING] the task 1@task1 is in a cycle
p Test of the management of failed tasks simdag
-$ $SG_TEST_EXENV ${bindir:=.}/fail/sd_fail ${srcdir:=.}/../platforms/faulty_host.xml
+$ $SG_TEST_EXENV ${bindir:=.}/fail/sd_fail ${srcdir:=.}/../../platforms/faulty_host.xml
> [0.000000] [xbt_cfg/INFO] Switching to the L07 model to handle parallel tasks.
> [0.000000] [sd_fail/INFO] First test: COMP_SEQ task
> [0.000000] [sd_fail/INFO] Schedule task 'Poor task' on 'Faulty Host'
p Simple test of simdag with properties
-$ $SG_TEST_EXENV properties/sd_properties ${srcdir:=.}/../platforms/prop.xml
+$ $SG_TEST_EXENV properties/sd_properties ${srcdir:=.}/../../platforms/prop.xml
> [0.000000] [xbt_cfg/INFO] Switching to the L07 model to handle parallel tasks.
> [0.000000] [test/INFO] Property list for host host1
> [0.000000] [test/INFO] Property: mem has value: 4
# The order differ when executed with gcc's thread sanitizer
! output sort
-$ $SG_TEST_EXENV ${bindir:=.}/ptg-dotload/sd_ptg-dotload ${srcdir:=.}/../platforms/cluster_backbone.xml ${srcdir:=.}/ptg-dotload/ptg.dot
+$ $SG_TEST_EXENV ${bindir:=.}/ptg-dotload/sd_ptg-dotload ${srcdir:=.}/../../platforms/cluster_backbone.xml ${srcdir:=.}/ptg-dotload/ptg.dot
> [0.000000] [xbt_cfg/INFO] Switching to the L07 model to handle parallel tasks.
> [0.000000] [test/INFO] ------------------- Display all tasks of the loaded DAG ---------------------------
> [0.000000] [sd_task/INFO] Displaying task root
p Test the loader of DAG written in the DOT format
! expect return 2
-$ $SG_TEST_EXENV ${bindir:=.}/schedule-dotload/sd_schedule-dotload --log=no_loc "--log=sd_dotparse.thres:verbose" ${srcdir:=.}/../platforms/cluster_backbone.xml ${srcdir:=.}/schedule-dotload/dag_with_bad_schedule.dot
+$ $SG_TEST_EXENV ${bindir:=.}/schedule-dotload/sd_schedule-dotload --log=no_loc "--log=sd_dotparse.thres:verbose" ${srcdir:=.}/../../platforms/cluster_backbone.xml ${srcdir:=.}/schedule-dotload/dag_with_bad_schedule.dot
> [0.000000] [xbt_cfg/INFO] Switching to the L07 model to handle parallel tasks.
> [0.000000] [sd_dotparse/VERBOSE] The schedule is ignored, task 'end' can not be scheduled on -1 hosts
> [0.000000] [sd_dotparse/VERBOSE] The schedule is ignored, task '1' can not be scheduled on 0 hosts
# The order differ when executed with gcc's thread sanitizer
! output sort
-$ $SG_TEST_EXENV ${bindir:=.}/schedule-dotload/sd_schedule-dotload --log=no_loc ${srcdir:=.}/../platforms/cluster_backbone.xml ${srcdir:=.}/schedule-dotload/dag_with_good_schedule.dot
+$ $SG_TEST_EXENV ${bindir:=.}/schedule-dotload/sd_schedule-dotload --log=no_loc ${srcdir:=.}/../../platforms/cluster_backbone.xml ${srcdir:=.}/schedule-dotload/dag_with_good_schedule.dot
> [0.000000] [xbt_cfg/INFO] Switching to the L07 model to handle parallel tasks.
> [0.000000] [test/INFO] ------------------- Display all tasks of the loaded DAG ---------------------------
> [0.000000] [sd_task/INFO] Displaying task root
p Simple test of simdag
-$ $SG_TEST_EXENV ${bindir:=.}/scheduling/sd_scheduling --log=sd_daxparse.thresh:critical ${srcdir:=.}/../platforms/simulacrum_7_hosts.xml ${srcdir:=.}/scheduling/Montage_25.xml
+$ $SG_TEST_EXENV ${bindir:=.}/scheduling/sd_scheduling --log=sd_daxparse.thresh:critical ${srcdir:=.}/../../platforms/simulacrum_7_hosts.xml ${srcdir:=.}/scheduling/Montage_25.xml
> [0.000000] [xbt_cfg/INFO] Switching to the L07 model to handle parallel tasks.
> [0.000000] [test/INFO] Schedule ID00002@mProjectPP on Host 27
> [0.000105] [test/INFO] Schedule ID00000@mProjectPP on Host 26
p Simple test of simdag
! output sort
-$ $SG_TEST_EXENV ./test/sd_test ${srcdir:=.}/../platforms/small_platform.xml
+$ $SG_TEST_EXENV ./test/sd_test ${srcdir:=.}/../../platforms/small_platform.xml
> [0.000000] [xbt_cfg/INFO] Switching to the L07 model to handle parallel tasks.
> [0.000000] [sd_test/INFO] Computation time for 2000000.000000 flops on Jacquelin: 0.014563
> [0.000000] [sd_test/INFO] Computation time for 1000000.000000 flops on Fafard: 0.013107
# We need to sort this out because the order changes with the sanitizers (at least)
! output sort
-$ $SG_TEST_EXENV ./throttling/sd_throttling ${srcdir:=.}/../platforms/cluster_backbone.xml
+$ $SG_TEST_EXENV ./throttling/sd_throttling ${srcdir:=.}/../../platforms/cluster_backbone.xml
> [0.000000] [xbt_cfg/INFO] Switching to the L07 model to handle parallel tasks.
> [5.000000] [sd_comm_throttling/INFO] Simulation stopped after 5.0000 seconds
> [5.000000] [sd_comm_throttling/INFO] Task 'Task A' start time: 0.000000, finish time: 5.000000
p Usage test of simdag's typed tasks
! output sort
-$ $SG_TEST_EXENV ./typed_tasks/sd_typed_tasks ${srcdir:=.}/../platforms/cluster_backbone.xml
+$ $SG_TEST_EXENV ./typed_tasks/sd_typed_tasks ${srcdir:=.}/../../platforms/cluster_backbone.xml
> [0.000000] [xbt_cfg/INFO] Switching to the L07 model to handle parallel tasks.
> [2.080600] [sd_typed_tasks_test/INFO] Task 'Par. Comp. 3' start time: 0.000000, finish time: 0.400000
> [2.080600] [sd_typed_tasks_test/INFO] Task 'Par. Comp. 1' start time: 0.000000, finish time: 0.400000
-$ ${bindir:=.}/examples/msg/app-masterworker/app-masterworker ${srcdir:=.}/examples/platforms/small_platform.lua ${srcdir:=.}/examples/msg/app-masterworker/app-masterworker_d.xml
+$ ${bindir:=.}/examples/deprecated/msg/app-masterworker/app-masterworker ${srcdir:=.}/examples/platforms/small_platform.lua ${srcdir:=.}/examples/deprecated/msg/app-masterworker/app-masterworker_d.xml
> [Tremblay:master:(1) 0.000000] [msg_app_masterworker/INFO] Got 5 workers and 20 tasks to process
> [Tremblay:master:(1) 0.000000] [msg_app_masterworker/INFO] Sending "Task_0" (of 20) to mailbox "worker-0"
> [Tremblay:master:(1) 0.002265] [msg_app_masterworker/INFO] Sending "Task_1" (of 20) to mailbox "worker-1"
-$ ${bindir:=.}/availability ../../../examples/platforms/simulacrum_7_hosts.xml ../../../examples/simdag/scheduling/Montage_25.xml --cfg=network/TCP-gamma:4194304 --log=sd_daxparse.thresh:critical
+$ ${bindir:=.}/availability ../../../examples/platforms/simulacrum_7_hosts.xml ../../../examples/deprecated/simdag/scheduling/Montage_25.xml --cfg=network/TCP-gamma:4194304 --log=sd_daxparse.thresh:critical
> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP-gamma' to '4194304'
> [0.000000] [xbt_cfg/INFO] Switching to the L07 model to handle parallel tasks.
> [0.000000] [test/INFO] Scheduling DAX...
examples/smpi/mc/only_send_deterministic.tesh
examples/smpi/mc/non_deterministic.tesh
- examples/java/.classpath
- examples/java/.project
+ examples/deprecated/java/.classpath
+ examples/deprecated/java/.project
)
set(SMPI_SRC
# The list of cmake build directories is constructed from the following list.
# Add your CMakeLists file here to see your subdir built.
set(CMAKEFILES_TXT
- examples/java/CMakeLists.txt
- examples/msg/CMakeLists.txt
- examples/msg/mc/CMakeLists.txt
- examples/python/CMakeLists.txt
examples/s4u/CMakeLists.txt
- examples/simdag/CMakeLists.txt
examples/smpi/CMakeLists.txt
examples/smpi/NAS/CMakeLists.txt
examples/smpi/smpi_msg_masterslave/CMakeLists.txt
examples/smpi/replay_multiple_manual_deploy/CMakeLists.txt
examples/smpi/energy/f77/CMakeLists.txt
examples/smpi/energy/f90/CMakeLists.txt
+ examples/python/CMakeLists.txt
+ examples/deprecated/java/CMakeLists.txt
+ examples/deprecated/msg/CMakeLists.txt
+ examples/deprecated/msg/mc/CMakeLists.txt
+ examples/deprecated/simdag/CMakeLists.txt
teshsuite/java/CMakeLists.txt
teshsuite/mc/CMakeLists.txt
IF(enable_java)
IF(WIN32)
- SET(TESH_CLASSPATH "${CMAKE_BINARY_DIR}/examples/java/\;${CMAKE_BINARY_DIR}/teshsuite/java/\;${SIMGRID_JAR}")
+ SET(TESH_CLASSPATH "${CMAKE_BINARY_DIR}/examples/deprecated/java/\;${CMAKE_BINARY_DIR}/teshsuite/deprecated/java/\;${SIMGRID_JAR}")
STRING(REPLACE "\;" "ยง" TESH_CLASSPATH "${TESH_CLASSPATH}")
ELSE()
- SET(TESH_CLASSPATH "${CMAKE_BINARY_DIR}/examples/java/:${CMAKE_BINARY_DIR}/teshsuite/java/:${SIMGRID_JAR}")
+ SET(TESH_CLASSPATH "${CMAKE_BINARY_DIR}/examples/deprecated/java/:${CMAKE_BINARY_DIR}/teshsuite/deprecated/java/:${SIMGRID_JAR}")
ENDIF()
ENDIF()
IF(SIMGRID_HAVE_MC)
- ADD_TESH_FACTORIES(mc-bugged1 "ucontext;raw" --setenv bindir=${CMAKE_BINARY_DIR}/examples/msg/mc --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/mc bugged1.tesh)
- ADD_TESH_FACTORIES(mc-bugged2 "ucontext;raw" --setenv bindir=${CMAKE_BINARY_DIR}/examples/msg/mc --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/mc bugged2.tesh)
+ ADD_TESH_FACTORIES(mc-bugged1 "ucontext;raw" --setenv bindir=${CMAKE_BINARY_DIR}/examples/deprecated/msg/mc --cd ${CMAKE_HOME_DIRECTORY}/examples/deprecated/msg/mc bugged1.tesh)
+ ADD_TESH_FACTORIES(mc-bugged2 "ucontext;raw" --setenv bindir=${CMAKE_BINARY_DIR}/examples/deprecated/msg/mc --cd ${CMAKE_HOME_DIRECTORY}/examples/deprecated/msg/mc bugged2.tesh)
IF(HAVE_UCONTEXT_CONTEXTS AND SIMGRID_PROCESSOR_x86_64) # liveness model-checking works only on 64bits (for now ...)
- ADD_TESH(mc-bugged1-liveness-ucontext --setenv bindir=${CMAKE_BINARY_DIR}/examples/msg/mc --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/mc bugged1_liveness.tesh)
- ADD_TESH(mc-bugged1-liveness-ucontext-sparse --setenv bindir=${CMAKE_BINARY_DIR}/examples/msg/mc --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/mc bugged1_liveness_sparse.tesh)
- ADD_TESH(mc-bugged1-liveness-visited-ucontext --setenv bindir=${CMAKE_BINARY_DIR}/examples/msg/mc --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/mc bugged1_liveness_visited.tesh)
- ADD_TESH(mc-bugged1-liveness-visited-ucontext-sparse --setenv bindir=${CMAKE_BINARY_DIR}/examples/msg/mc --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/mc bugged1_liveness_visited_sparse.tesh)
+ ADD_TESH(mc-bugged1-liveness-ucontext --setenv bindir=${CMAKE_BINARY_DIR}/examples/deprecated/msg/mc --cd ${CMAKE_HOME_DIRECTORY}/examples/deprecated/msg/mc bugged1_liveness.tesh)
+ ADD_TESH(mc-bugged1-liveness-ucontext-sparse --setenv bindir=${CMAKE_BINARY_DIR}/examples/deprecated/msg/mc --cd ${CMAKE_HOME_DIRECTORY}/examples/deprecated/msg/mc bugged1_liveness_sparse.tesh)
+ ADD_TESH(mc-bugged1-liveness-visited-ucontext --setenv bindir=${CMAKE_BINARY_DIR}/examples/deprecated/msg/mc --cd ${CMAKE_HOME_DIRECTORY}/examples/deprecated/msg/mc bugged1_liveness_visited.tesh)
+ ADD_TESH(mc-bugged1-liveness-visited-ucontext-sparse --setenv bindir=${CMAKE_BINARY_DIR}/examples/deprecated/msg/mc --cd ${CMAKE_HOME_DIRECTORY}/examples/deprecated/msg/mc bugged1_liveness_visited_sparse.tesh)
IF(HAVE_C_STACK_CLEANER)
# This test checks if the stack cleaner is making a difference:
- ADD_TEST(mc-bugged1-liveness-stack-cleaner ${CMAKE_HOME_DIRECTORY}/examples/msg/mc/bugged1_liveness_stack_cleaner ${CMAKE_HOME_DIRECTORY}/examples/msg/mc/ ${CMAKE_BINARY_DIR}/examples/msg/mc/)
+ ADD_TEST(mc-bugged1-liveness-stack-cleaner ${CMAKE_HOME_DIRECTORY}/examples/deprecated/msg/mc/bugged1_liveness_stack_cleaner ${CMAKE_HOME_DIRECTORY}/examples/deprecated/msg/mc/ ${CMAKE_BINARY_DIR}/examples/deprecated/msg/mc/)
ENDIF()
ENDIF()
ENDIF()