Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
enlarge my cluster
[simgrid.git] / examples / SimGrid.tesh
index c36804e..8a74f69 100644 (file)
@@ -1,24 +1,25 @@
-# Command line tesh --directory=%EXAMPLE_DIR% --include-dir=msg --file=SimGrid.tesh --log="log.thresh:info tesh.fmt:%m%n" --keep-going-unit\r
-D Examples (MSG API functionnality checking)\r
-\r
+# Command line : \r
+# Windows -> tesh --directory=%EXAMPLE_DIR% --file=SimGrid.tesh --log="log.thresh:info tesh.fmt:%m%n" --keep-going-unit\r
+# Linux   -> tesh --directory=$EXAMPLE_DIR --file=SimGrid.tesh --log="log.thresh:info tesh.fmt:%m%n" --keep-going-unit\r
+D Examples (MSG API functionnality checking (for C, C++ and Java))\r
 \r
 $ cd ${EXAMPLE_DIR:=.}\r
 \r
 $ cd msg\r
 \r
 # Masterslave OK\r
-#! include masterslave/masterslave.tesh\r
+! include masterslave/masterslave.tesh\r
 \r
 # Outputs difference : __FILE__ difference between Windows and Linux\r
-! include masterslave/masterslave_bypass.tesh\r
+#! include masterslave/masterslave_bypass.tesh\r
 \r
 # Outputs difference\r
-! include masterslave/masterslave_failure.tesh\r
+#! include masterslave/masterslave_failure.tesh\r
 \r
 ! include masterslave/masterslave_forwarder.tesh\r
 \r
-# Parllel task\r
-! include parallel_task/parallel_task.tesh\r
+# Parllel task (not work)\r
+#! include parallel_task/parallel_task.tesh\r
 \r
 # Priority\r
 ! include priority/priority.tesh\r
@@ -36,13 +37,100 @@ $ cd msg
 \r
 ! include sendrecv/sendrecv_Reno.tesh\r
 \r
-# Modele non valid\r
-#! include sendrecv/sendrecv_SDP.tesh\r
-\r
-\r
 ! include sendrecv/sendrecv_Vegas.tesh\r
 \r
 # Suspend\r
 ! include suspend/suspend.tesh\r
 \r
 \r
+##############################################################################################\r
+# java examples\r
+\r
+$ cd ${MSG4JAVA_CLASSPATH}\simgrid\msg\r
+\r
+$ javac *.java\r
+> Note: Some input files use unchecked or unsafe operations.\r
+> Note: Recompile with -Xlint:unchecked for details.\r
+\r
+$ cd ${EXAMPLE_DIR:=.}\r
+\r
+$ cd java/basic\r
+\r
+! include basic.tesh\r
+\r
+$ cd ..\r
+\r
+$ cd comm_time\r
+\r
+! include comm_time.tesh\r
+\r
+$ cd ..\r
+\r
+$ cd ping_pong\r
+\r
+! include ping_pong.tesh\r
+\r
+$ cd ..\r
+\r
+$ cd suspend\r
+\r
+! include suspend.tesh\r
+\r
+$ cd ..\r
+\r
+$ cd autoDestination\r
+\r
+! include autoDestination.tesh\r
+\r
+$ cd ..\r
+\r
+$ cd explicitDestination\r
+\r
+! include explicitDestination.tesh\r
+\r
+##########################################################################################\r
+# cxx examples \r
+\r
+$ cd ..\r
+\r
+$ cd ..\r
+\r
+$ cd cxx/basic\r
+\r
+! include basic.tesh\r
+\r
+$ cd ..\r
+\r
+$ cd comm_time\r
+\r
+! include comm_time.tesh\r
+\r
+$ cd ..\r
+\r
+$ cd ping_pong\r
+\r
+! include ping_pong.tesh\r
+\r
+$ cd ..\r
+\r
+$ cd suspend\r
+\r
+! include suspend.tesh\r
+\r
+$ cd ..\r
+\r
+$ cd autoDestination\r
+\r
+! include autoDestination.tesh\r
+\r
+$ cd ..\r
+\r
+$ cd explicitDestination\r
+\r
+! include explicitDestination.tesh\r
+\r
+\r
+\r
+\r
+\r
+\r