Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
The c++ examples Tesh files.
authorcherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 11 Jul 2008 15:21:01 +0000 (15:21 +0000)
committercherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 11 Jul 2008 15:21:01 +0000 (15:21 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5870 48e7efb5-ca39-0410-a469-dd3cf9ba447f

examples/cxx/autoDestination/autoDestination.tesh [new file with mode: 0644]
examples/cxx/basic/basic.tesh [new file with mode: 0644]
examples/cxx/comm_time/comm_time.tesh [new file with mode: 0644]
examples/cxx/explicitDestination/explicitDestination.tesh [new file with mode: 0644]
examples/cxx/ping_pong/ping_pong.tesh [new file with mode: 0644]
examples/cxx/suspend/suspend.tesh [new file with mode: 0644]

diff --git a/examples/cxx/autoDestination/autoDestination.tesh b/examples/cxx/autoDestination/autoDestination.tesh
new file mode 100644 (file)
index 0000000..856cbef
--- /dev/null
@@ -0,0 +1,69 @@
+$ autoDestination autoDestination_platform.xml autoDestination_deployment.xml\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Hello\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argc=8\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:5\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:50000\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:10\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:iRMX:Slave\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:Casavant:Forwarder\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:Bousquet:Slave\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:Soucy:Slave\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:Jackson:Forwarder\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Got 5 alias(es) :\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       iRMX:Slave\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       Casavant:Forwarder\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       Bousquet:Slave\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       Soucy:Slave\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       Jackson:Forwarder\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Got 5 task to process.\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Sending "Task_0" to "iRMX:Slave"\r
+> [Jackson:Forwarder:(2) 0.000000] [cxx4msg/INFO] Hello\r
+> [Casavant:Forwarder:(3) 0.000000] [cxx4msg/INFO] Hello\r
+> [iRMX:Slave:(4) 0.000000] [cxx4msg/INFO] Hello\r
+> [Bousquet:Slave:(5) 0.000000] [cxx4msg/INFO] Hello\r
+> [Soucy:Slave:(6) 0.000000] [cxx4msg/INFO] Hello\r
+> [Kuenning:Slave:(7) 0.000000] [cxx4msg/INFO] Hello\r
+> [Browne:Slave:(8) 0.000000] [cxx4msg/INFO] Hello\r
+> [Stephen:Slave:(9) 0.000000] [cxx4msg/INFO] Hello\r
+> [Robert:Slave:(10) 0.000000] [cxx4msg/INFO] Hello\r
+> [Sirois:Slave:(11) 0.000000] [cxx4msg/INFO] Hello\r
+> [Monique:Slave:(12) 0.000000] [cxx4msg/INFO] Hello\r
+> [Jacquelin:Master:(1) 0.234181] [cxx4msg/INFO] Sending "Task_1" to "Casavant:Forwarder"\r
+> [iRMX:Slave:(4) 0.234181] [cxx4msg/INFO] Received "Task_0" \r
+> [iRMX:Slave:(4) 0.234181] [cxx4msg/INFO] Processing "Task_0" \r
+> [iRMX:Slave:(4) 0.234910] [cxx4msg/INFO] "Task_0" done \r
+> [Jacquelin:Master:(1) 0.338591] [cxx4msg/INFO] Sending "Task_2" to "Bousquet:Slave"\r
+> [Casavant:Forwarder:(3) 0.338591] [cxx4msg/INFO] Received "Task_1" \r
+> [Casavant:Forwarder:(3) 0.338591] [cxx4msg/INFO] Sending "Task_1" to "Robert:Slave\r
+> [Jacquelin:Master:(1) 0.416661] [cxx4msg/INFO] Sending "Task_3" to "Soucy:Slave"\r
+> [Bousquet:Slave:(5) 0.416661] [cxx4msg/INFO] Received "Task_2" \r
+> [Bousquet:Slave:(5) 0.416661] [cxx4msg/INFO] Processing "Task_2" \r
+> [Bousquet:Slave:(5) 0.417826] [cxx4msg/INFO] "Task_2" done \r
+> [Robert:Slave:(10) 0.454402] [cxx4msg/INFO] Received "Task_1" \r
+> [Robert:Slave:(10) 0.454402] [cxx4msg/INFO] Processing "Task_1" \r
+> [Robert:Slave:(10) 0.454766] [cxx4msg/INFO] "Task_1" done \r
+> [Jacquelin:Master:(1) 0.527739] [cxx4msg/INFO] Sending "Task_4" to "Jackson:Forwarder"\r
+> [Soucy:Slave:(6) 0.527739] [cxx4msg/INFO] Received "Task_3" \r
+> [Soucy:Slave:(6) 0.527739] [cxx4msg/INFO] Processing "Task_3" \r
+> [Soucy:Slave:(6) 0.528103] [cxx4msg/INFO] "Task_3" done \r
+> [Jacquelin:Master:(1) 0.593252] [cxx4msg/INFO] Send completed\r
+> [Jacquelin:Master:(1) 0.593252] [cxx4msg/INFO] All tasks have been dispatched. Let's tell everybody the computation is over.\r
+> [Jackson:Forwarder:(2) 0.593252] [cxx4msg/INFO] Received "Task_4" \r
+> [Jackson:Forwarder:(2) 0.593252] [cxx4msg/INFO] Sending "Task_4" to "Kuenning:Slave\r
+> [Kuenning:Slave:(7) 0.593708] [cxx4msg/INFO] Received "Task_4" \r
+> [Kuenning:Slave:(7) 0.593708] [cxx4msg/INFO] Processing "Task_4" \r
+> [Kuenning:Slave:(7) 0.594291] [cxx4msg/INFO] "Task_4" done \r
+> [iRMX:Slave:(4) 0.827199] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Casavant:Forwarder:(3) 0.931504] [cxx4msg/INFO] All tasks have been dispatched. Let's tell everybody the computation is over.\r
+> [Bousquet:Slave:(5) 1.009496] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Robert:Slave:(10) 1.047200] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Sirois:Slave:(11) 1.086548] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Soucy:Slave:(6) 1.120464] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Casavant:Forwarder:(3) 1.154764] [cxx4msg/INFO] I'm done. See you!\r
+> [Monique:Slave:(12) 1.154764] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Jacquelin:Master:(1) 1.185911] [cxx4msg/INFO] Goodbye now!\r
+> [Jackson:Forwarder:(2) 1.185911] [cxx4msg/INFO] All tasks have been dispatched. Let's tell everybody the computation is over.\r
+> [Kuenning:Slave:(7) 1.186360] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Browne:Slave:(8) 1.325058] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Jackson:Forwarder:(2) 1.532781] [cxx4msg/INFO] I'm done. See you!\r
+> [Stephen:Slave:(9) 1.532781] [cxx4msg/INFO] Received Finalize. I'm done. See you!
\ No newline at end of file
diff --git a/examples/cxx/basic/basic.tesh b/examples/cxx/basic/basic.tesh
new file mode 100644 (file)
index 0000000..ae85623
--- /dev/null
@@ -0,0 +1,69 @@
+$ basic basic_platform.xml basic_deployment.xml\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Hello\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argc=8\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:5\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:50000\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:10\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:iRMX\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:Casavant\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:Bousquet\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:Soucy\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:Jackson\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Got slave(s) :5\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       iRMX\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       Casavant\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       Bousquet\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       Soucy\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       Jackson\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Got 5 task to process.\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Sending "Task_0" to "iRMX"\r
+> [Jackson:Forwarder:(2) 0.000000] [cxx4msg/INFO] Hello\r
+> [Casavant:Forwarder:(3) 0.000000] [cxx4msg/INFO] Hello\r
+> [iRMX:Slave:(4) 0.000000] [cxx4msg/INFO] Hello\r
+> [Bousquet:Slave:(5) 0.000000] [cxx4msg/INFO] Hello\r
+> [Soucy:Slave:(6) 0.000000] [cxx4msg/INFO] Hello\r
+> [Kuenning:Slave:(7) 0.000000] [cxx4msg/INFO] Hello\r
+> [Browne:Slave:(8) 0.000000] [cxx4msg/INFO] Hello\r
+> [Stephen:Slave:(9) 0.000000] [cxx4msg/INFO] Hello\r
+> [Robert:Slave:(10) 0.000000] [cxx4msg/INFO] Hello\r
+> [Sirois:Slave:(11) 0.000000] [cxx4msg/INFO] Hello\r
+> [Monique:Slave:(12) 0.000000] [cxx4msg/INFO] Hello\r
+> [Jacquelin:Master:(1) 0.234181] [cxx4msg/INFO] Sending "Task_1" to "Casavant"\r
+> [iRMX:Slave:(4) 0.234181] [cxx4msg/INFO] Received "Task_0" \r
+> [iRMX:Slave:(4) 0.234181] [cxx4msg/INFO] Processing "Task_0\r
+> [iRMX:Slave:(4) 0.234910] [cxx4msg/INFO] "Task_0" done \r
+> [Jacquelin:Master:(1) 0.338591] [cxx4msg/INFO] Sending "Task_2" to "Bousquet"\r
+> [Casavant:Forwarder:(3) 0.338591] [cxx4msg/INFO] Received "Task_1" \r
+> [Casavant:Forwarder:(3) 0.338591] [cxx4msg/INFO] Sending "Task_1" to "Robert"\r
+> [Jacquelin:Master:(1) 0.416661] [cxx4msg/INFO] Sending "Task_3" to "Soucy"\r
+> [Bousquet:Slave:(5) 0.416661] [cxx4msg/INFO] Received "Task_2" \r
+> [Bousquet:Slave:(5) 0.416661] [cxx4msg/INFO] Processing "Task_2\r
+> [Bousquet:Slave:(5) 0.417826] [cxx4msg/INFO] "Task_2" done \r
+> [Robert:Slave:(10) 0.454402] [cxx4msg/INFO] Received "Task_1" \r
+> [Robert:Slave:(10) 0.454402] [cxx4msg/INFO] Processing "Task_1\r
+> [Robert:Slave:(10) 0.454766] [cxx4msg/INFO] "Task_1" done \r
+> [Jacquelin:Master:(1) 0.527739] [cxx4msg/INFO] Sending "Task_4" to "Jackson"\r
+> [Soucy:Slave:(6) 0.527739] [cxx4msg/INFO] Received "Task_3" \r
+> [Soucy:Slave:(6) 0.527739] [cxx4msg/INFO] Processing "Task_3\r
+> [Soucy:Slave:(6) 0.528103] [cxx4msg/INFO] "Task_3" done \r
+> [Jacquelin:Master:(1) 0.593252] [cxx4msg/INFO] Send completed\r
+> [Jacquelin:Master:(1) 0.593252] [cxx4msg/INFO] All tasks have been dispatched. Let's tell everybody the computation is over.\r
+> [Jackson:Forwarder:(2) 0.593252] [cxx4msg/INFO] Received "Task_4" \r
+> [Jackson:Forwarder:(2) 0.593252] [cxx4msg/INFO] Sending "Task_4" to "Kuenning"\r
+> [Kuenning:Slave:(7) 0.593708] [cxx4msg/INFO] Received "Task_4" \r
+> [Kuenning:Slave:(7) 0.593708] [cxx4msg/INFO] Processing "Task_4\r
+> [Kuenning:Slave:(7) 0.594291] [cxx4msg/INFO] "Task_4" done \r
+> [iRMX:Slave:(4) 0.827199] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Casavant:Forwarder:(3) 0.931504] [cxx4msg/INFO] All tasks have been dispatched. Let's tell everybody the computation is over.\r
+> [Bousquet:Slave:(5) 1.009496] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Robert:Slave:(10) 1.047200] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Sirois:Slave:(11) 1.086548] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Soucy:Slave:(6) 1.120464] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Casavant:Forwarder:(3) 1.154764] [cxx4msg/INFO] I'm done. See you!\r
+> [Monique:Slave:(12) 1.154764] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Jacquelin:Master:(1) 1.185911] [cxx4msg/INFO] Goodbye now!\r
+> [Jackson:Forwarder:(2) 1.185911] [cxx4msg/INFO] All tasks have been dispatched. Let's tell everybody the computation is over.\r
+> [Kuenning:Slave:(7) 1.186360] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Browne:Slave:(8) 1.325058] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Jackson:Forwarder:(2) 1.532781] [cxx4msg/INFO] I'm done. See you!\r
+> [Stephen:Slave:(9) 1.532781] [cxx4msg/INFO] Received Finalize. I'm done. See you!
\ No newline at end of file
diff --git a/examples/cxx/comm_time/comm_time.tesh b/examples/cxx/comm_time/comm_time.tesh
new file mode 100644 (file)
index 0000000..ca02a84
--- /dev/null
@@ -0,0 +1,86 @@
+$ comm_time comm_time_platform.xml comm_time_deployment.xml\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Hello\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Got slave(s) :20\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       iRMX\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       Bousquet\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       Soucy\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       Casavant\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       Jackson\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       Geoff\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       Disney\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       McGee\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       Gatien\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       Laroche\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       Tanguay\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       Morin\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       Ethernet\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       Bellemarre\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       Harry\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       Olivier\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       Boucherville\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       Pointe_Claire\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       Kansas\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       King\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Got 50000 task to process.\r
+> [iRMX:Slave:(2) 0.000000] [cxx4msg/INFO] Hello\r
+> [Bousquet:Slave:(3) 0.000000] [cxx4msg/INFO] Hello\r
+> [Soucy:Slave:(4) 0.000000] [cxx4msg/INFO] Hello\r
+> [Casavant:Slave:(5) 0.000000] [cxx4msg/INFO] Hello\r
+> [Jackson:Slave:(6) 0.000000] [cxx4msg/INFO] Hello\r
+> [Geoff:Slave:(7) 0.000000] [cxx4msg/INFO] Hello\r
+> [Disney:Slave:(8) 0.000000] [cxx4msg/INFO] Hello\r
+> [McGee:Slave:(9) 0.000000] [cxx4msg/INFO] Hello\r
+> [Gatien:Slave:(10) 0.000000] [cxx4msg/INFO] Hello\r
+> [Laroche:Slave:(11) 0.000000] [cxx4msg/INFO] Hello\r
+> [Tanguay:Slave:(12) 0.000000] [cxx4msg/INFO] Hello\r
+> [Morin:Slave:(13) 0.000000] [cxx4msg/INFO] Hello\r
+> [Ethernet:Slave:(14) 0.000000] [cxx4msg/INFO] Hello\r
+> [Bellemarre:Slave:(15) 0.000000] [cxx4msg/INFO] Hello\r
+> [Harry:Slave:(16) 0.000000] [cxx4msg/INFO] Hello\r
+> [Olivier:Slave:(17) 0.000000] [cxx4msg/INFO] Hello\r
+> [Boucherville:Slave:(18) 0.000000] [cxx4msg/INFO] Hello\r
+> [Pointe_Claire:Slave:(19) 0.000000] [cxx4msg/INFO] Hello\r
+> [Kansas:Slave:(20) 0.000000] [cxx4msg/INFO] Hello\r
+> [King:Slave:(21) 0.000000] [cxx4msg/INFO] Hello\r
+> [Jacquelin:Master:(1) 5385.510565] [cxx4msg/INFO] All tasks have been dispatched. Let's tell everybody the computation is over.\r
+> [Jacquelin:Master:(1) 5385.510565] [cxx4msg/INFO] Finalize host iRMX [0]\r
+> [Jacquelin:Master:(1) 5385.744512] [cxx4msg/INFO] Finalize host Bousquet [1]\r
+> [iRMX:Slave:(2) 5385.744512] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Jacquelin:Master:(1) 5385.822504] [cxx4msg/INFO] Finalize host Soucy [2]\r
+> [Bousquet:Slave:(3) 5385.822504] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Jacquelin:Master:(1) 5385.933472] [cxx4msg/INFO] Finalize host Casavant [3]\r
+> [Soucy:Slave:(4) 5385.933472] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Jacquelin:Master:(1) 5386.037777] [cxx4msg/INFO] Finalize host Jackson [4]\r
+> [Casavant:Slave:(5) 5386.037777] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Jacquelin:Master:(1) 5386.103224] [cxx4msg/INFO] Finalize host Geoff [5]\r
+> [Jackson:Slave:(6) 5386.103224] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Jacquelin:Master:(1) 5386.103634] [cxx4msg/INFO] Finalize host Disney [6]\r
+> [Geoff:Slave:(7) 5386.103634] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Jacquelin:Master:(1) 5386.243798] [cxx4msg/INFO] Finalize host McGee [7]\r
+> [Disney:Slave:(8) 5386.243798] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Jacquelin:Master:(1) 5386.312081] [cxx4msg/INFO] Finalize host Gatien [8]\r
+> [McGee:Slave:(9) 5386.312081] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Jacquelin:Master:(1) 5386.410039] [cxx4msg/INFO] Finalize host Laroche [9]\r
+> [Gatien:Slave:(10) 5386.410039] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Jacquelin:Master:(1) 5386.548443] [cxx4msg/INFO] Finalize host Tanguay [10]\r
+> [Laroche:Slave:(11) 5386.548443] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Jacquelin:Master:(1) 5386.624602] [cxx4msg/INFO] Finalize host Morin [11]\r
+> [Tanguay:Slave:(12) 5386.624602] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Jacquelin:Master:(1) 5386.767895] [cxx4msg/INFO] Finalize host Ethernet [12]\r
+> [Morin:Slave:(13) 5386.767895] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Jacquelin:Master:(1) 5386.849385] [cxx4msg/INFO] Finalize host Bellemarre [13]\r
+> [Ethernet:Slave:(14) 5386.849385] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Jacquelin:Master:(1) 5386.988558] [cxx4msg/INFO] Finalize host Harry [14]\r
+> [Bellemarre:Slave:(15) 5386.988558] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Jacquelin:Master:(1) 5387.129807] [cxx4msg/INFO] Finalize host Olivier [15]\r
+> [Harry:Slave:(16) 5387.129807] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Jacquelin:Master:(1) 5387.240138] [cxx4msg/INFO] Finalize host Boucherville [16]\r
+> [Olivier:Slave:(17) 5387.240138] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Jacquelin:Master:(1) 5387.386104] [cxx4msg/INFO] Finalize host Pointe_Claire [17]\r
+> [Boucherville:Slave:(18) 5387.386104] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Jacquelin:Master:(1) 5387.528570] [cxx4msg/INFO] Finalize host Kansas [18]\r
+> [Pointe_Claire:Slave:(19) 5387.528570] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Jacquelin:Master:(1) 5387.597140] [cxx4msg/INFO] Finalize host King [19]\r
+> [Kansas:Slave:(20) 5387.597140] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Jacquelin:Master:(1) 5387.662613] [cxx4msg/INFO] All finalize messages have been dispatched. Goodbye now!\r
+> [King:Slave:(21) 5387.662613] [cxx4msg/INFO] Received Finalize. I'm done. See you!
\ No newline at end of file
diff --git a/examples/cxx/explicitDestination/explicitDestination.tesh b/examples/cxx/explicitDestination/explicitDestination.tesh
new file mode 100644 (file)
index 0000000..b6eed28
--- /dev/null
@@ -0,0 +1,69 @@
+$ explicitDestination explicitDestination_platform.xml explicitDestination_deployment.xml\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Hello\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argc=8\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:5\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:50000\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:10\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:iRMX\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:Casavant\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:Bousquet\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:Soucy\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:Jackson\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Got 5 alias(es) :\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       iRMX\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       Casavant\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       Bousquet\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       Soucy\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO]       Jackson\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Got 5 task to process.\r
+> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Sending "Task_0" to "iRMX"\r
+> [Jackson:Forwarder:(2) 0.000000] [cxx4msg/INFO] Hello\r
+> [Casavant:Forwarder:(3) 0.000000] [cxx4msg/INFO] Hello\r
+> [iRMX:Slave:(4) 0.000000] [cxx4msg/INFO] Hello\r
+> [Bousquet:Slave:(5) 0.000000] [cxx4msg/INFO] Hello\r
+> [Soucy:Slave:(6) 0.000000] [cxx4msg/INFO] Hello\r
+> [Kuenning:Slave:(7) 0.000000] [cxx4msg/INFO] Hello\r
+> [Browne:Slave:(8) 0.000000] [cxx4msg/INFO] Hello\r
+> [Stephen:Slave:(9) 0.000000] [cxx4msg/INFO] Hello\r
+> [Robert:Slave:(10) 0.000000] [cxx4msg/INFO] Hello\r
+> [Sirois:Slave:(11) 0.000000] [cxx4msg/INFO] Hello\r
+> [Monique:Slave:(12) 0.000000] [cxx4msg/INFO] Hello\r
+> [Jacquelin:Master:(1) 0.234181] [cxx4msg/INFO] Sending "Task_1" to "Casavant"\r
+> [iRMX:Slave:(4) 0.234181] [cxx4msg/INFO] Received "Task_0" \r
+> [iRMX:Slave:(4) 0.234181] [cxx4msg/INFO] Processing "Task_0" \r
+> [iRMX:Slave:(4) 0.234910] [cxx4msg/INFO] "Task_0" done \r
+> [Jacquelin:Master:(1) 0.338591] [cxx4msg/INFO] Sending "Task_2" to "Bousquet"\r
+> [Casavant:Forwarder:(3) 0.338591] [cxx4msg/INFO] Received "Task_1" \r
+> [Casavant:Forwarder:(3) 0.338591] [cxx4msg/INFO] Sending "Task_1" to "Robert"\r
+> [Jacquelin:Master:(1) 0.416661] [cxx4msg/INFO] Sending "Task_3" to "Soucy"\r
+> [Bousquet:Slave:(5) 0.416661] [cxx4msg/INFO] Received "Task_2" \r
+> [Bousquet:Slave:(5) 0.416661] [cxx4msg/INFO] Processing "Task_2" \r
+> [Bousquet:Slave:(5) 0.417826] [cxx4msg/INFO] "Task_2" done \r
+> [Robert:Slave:(10) 0.454402] [cxx4msg/INFO] Received "Task_1" \r
+> [Robert:Slave:(10) 0.454402] [cxx4msg/INFO] Processing "Task_1" \r
+> [Robert:Slave:(10) 0.454766] [cxx4msg/INFO] "Task_1" done \r
+> [Jacquelin:Master:(1) 0.527739] [cxx4msg/INFO] Sending "Task_4" to "Jackson"\r
+> [Soucy:Slave:(6) 0.527739] [cxx4msg/INFO] Received "Task_3" \r
+> [Soucy:Slave:(6) 0.527739] [cxx4msg/INFO] Processing "Task_3" \r
+> [Soucy:Slave:(6) 0.528103] [cxx4msg/INFO] "Task_3" done \r
+> [Jacquelin:Master:(1) 0.593252] [cxx4msg/INFO] Send completed\r
+> [Jacquelin:Master:(1) 0.593252] [cxx4msg/INFO] All tasks have been dispatched. Let's tell everybody the computation is over.\r
+> [Jackson:Forwarder:(2) 0.593252] [cxx4msg/INFO] Received "Task_4" \r
+> [Jackson:Forwarder:(2) 0.593252] [cxx4msg/INFO] Sending "Task_4" to "Kuenning"\r
+> [Kuenning:Slave:(7) 0.593708] [cxx4msg/INFO] Received "Task_4" \r
+> [Kuenning:Slave:(7) 0.593708] [cxx4msg/INFO] Processing "Task_4" \r
+> [Kuenning:Slave:(7) 0.594291] [cxx4msg/INFO] "Task_4" done \r
+> [iRMX:Slave:(4) 0.827199] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Casavant:Forwarder:(3) 0.931504] [cxx4msg/INFO] All tasks have been dispatched. Let's tell everybody the computation is over.\r
+> [Bousquet:Slave:(5) 1.009496] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Robert:Slave:(10) 1.047200] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Sirois:Slave:(11) 1.086548] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Soucy:Slave:(6) 1.120464] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Casavant:Forwarder:(3) 1.154764] [cxx4msg/INFO] I'm done. See you!\r
+> [Monique:Slave:(12) 1.154764] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Jacquelin:Master:(1) 1.185911] [cxx4msg/INFO] Goodbye now!\r
+> [Jackson:Forwarder:(2) 1.185911] [cxx4msg/INFO] All tasks have been dispatched. Let's tell everybody the computation is over.\r
+> [Kuenning:Slave:(7) 1.186360] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Browne:Slave:(8) 1.325058] [cxx4msg/INFO] Received Finalize. I'm done. See you!\r
+> [Jackson:Forwarder:(2) 1.532781] [cxx4msg/INFO] I'm done. See you!\r
+> [Stephen:Slave:(9) 1.532781] [cxx4msg/INFO] Received Finalize. I'm done. See you!
\ No newline at end of file
diff --git a/examples/cxx/ping_pong/ping_pong.tesh b/examples/cxx/ping_pong/ping_pong.tesh
new file mode 100644 (file)
index 0000000..94f231b
--- /dev/null
@@ -0,0 +1,12 @@
+$ ping_pong ping_pong_platform.xml ping_pong_deployment.xml\r
+> [Inmos:Sender:(1) 0.000000] [cxx4msg/INFO] Hello\r
+> [Inmos:Sender:(1) 0.000000] [cxx4msg/INFO] Host count : 1\r
+> [Inmos:Sender:(1) 0.000000] [cxx4msg/INFO] Sender time : 0.000000\r
+> [Bellevue:Receiver:(2) 0.000000] [cxx4msg/INFO] Hello\r
+> [Bellevue:Receiver:(2) 0.000000] [cxx4msg/INFO] Try to get a task\r
+> [Inmos:Sender:(1) 0.001462] [cxx4msg/INFO] Goodbye!\r
+> [Bellevue:Receiver:(2) 0.001462] [cxx4msg/INFO] Got at time 0.001462\r
+> [Bellevue:Receiver:(2) 0.001462] [cxx4msg/INFO] Was sent at time 0.000000\r
+> [Bellevue:Receiver:(2) 0.001462] [cxx4msg/INFO] Communication time : 0.001462\r
+> [Bellevue:Receiver:(2) 0.001462] [cxx4msg/INFO]  --- BW 68415215833.890411 ----\r
+> [Bellevue:Receiver:(2) 0.001462] [cxx4msg/INFO] Goodbye!
\ No newline at end of file
diff --git a/examples/cxx/suspend/suspend.tesh b/examples/cxx/suspend/suspend.tesh
new file mode 100644 (file)
index 0000000..bd9e29d
--- /dev/null
@@ -0,0 +1,11 @@
+$ suspend suspend_platform.xml suspend_deployment.xml\r
+> [Jacquelin:DreamMaster:(1) 0.000000] [cxx4msg/INFO] Hello\r
+> [Jacquelin:DreamMaster:(1) 0.000000] [cxx4msg/INFO] Let's create a lazy guy.\r
+> [Jacquelin:DreamMaster:(1) 0.000000] [cxx4msg/INFO] Current host  name : Jacquelin\r
+> [Jacquelin:DreamMaster:(1) 0.000000] [cxx4msg/INFO] Let's wait a little bit...\r
+> [Jacquelin:LazyGuy:(2) 0.000000] [cxx4msg/INFO] Hello !\r
+> [Jacquelin:LazyGuy:(2) 0.000000] [cxx4msg/INFO] Nobody's watching me ? Let's go to sleep.\r
+> [Jacquelin:DreamMaster:(1) 10.000000] [cxx4msg/INFO] Let's wake the lazy guy up! >:) \r
+> [Jacquelin:DreamMaster:(1) 10.000000] [cxx4msg/INFO] OK, goodbye now.\r
+> [Jacquelin:LazyGuy:(2) 10.000000] [cxx4msg/INFO] Uuuh ? Did somebody call me ?\r
+> [Jacquelin:LazyGuy:(2) 10.000000] [cxx4msg/INFO] Mmmh, goodbye now.
\ No newline at end of file