From: cherierm Date: Fri, 11 Jul 2008 15:21:01 +0000 (+0000) Subject: The c++ examples Tesh files. X-Git-Tag: v3.3~237 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/45f85d7a3396f79742a972fb76647631a998818f?ds=sidebyside The c++ examples Tesh files. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5870 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/examples/cxx/autoDestination/autoDestination.tesh b/examples/cxx/autoDestination/autoDestination.tesh new file mode 100644 index 0000000000..856cbef940 --- /dev/null +++ b/examples/cxx/autoDestination/autoDestination.tesh @@ -0,0 +1,69 @@ +$ autoDestination autoDestination_platform.xml autoDestination_deployment.xml +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Hello +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argc=8 +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:5 +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:50000 +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:10 +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:iRMX:Slave +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:Casavant:Forwarder +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:Bousquet:Slave +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:Soucy:Slave +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:Jackson:Forwarder +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Got 5 alias(es) : +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] iRMX:Slave +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Casavant:Forwarder +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Bousquet:Slave +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Soucy:Slave +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Jackson:Forwarder +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Got 5 task to process. +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Sending "Task_0" to "iRMX:Slave" +> [Jackson:Forwarder:(2) 0.000000] [cxx4msg/INFO] Hello +> [Casavant:Forwarder:(3) 0.000000] [cxx4msg/INFO] Hello +> [iRMX:Slave:(4) 0.000000] [cxx4msg/INFO] Hello +> [Bousquet:Slave:(5) 0.000000] [cxx4msg/INFO] Hello +> [Soucy:Slave:(6) 0.000000] [cxx4msg/INFO] Hello +> [Kuenning:Slave:(7) 0.000000] [cxx4msg/INFO] Hello +> [Browne:Slave:(8) 0.000000] [cxx4msg/INFO] Hello +> [Stephen:Slave:(9) 0.000000] [cxx4msg/INFO] Hello +> [Robert:Slave:(10) 0.000000] [cxx4msg/INFO] Hello +> [Sirois:Slave:(11) 0.000000] [cxx4msg/INFO] Hello +> [Monique:Slave:(12) 0.000000] [cxx4msg/INFO] Hello +> [Jacquelin:Master:(1) 0.234181] [cxx4msg/INFO] Sending "Task_1" to "Casavant:Forwarder" +> [iRMX:Slave:(4) 0.234181] [cxx4msg/INFO] Received "Task_0" +> [iRMX:Slave:(4) 0.234181] [cxx4msg/INFO] Processing "Task_0" +> [iRMX:Slave:(4) 0.234910] [cxx4msg/INFO] "Task_0" done +> [Jacquelin:Master:(1) 0.338591] [cxx4msg/INFO] Sending "Task_2" to "Bousquet:Slave" +> [Casavant:Forwarder:(3) 0.338591] [cxx4msg/INFO] Received "Task_1" +> [Casavant:Forwarder:(3) 0.338591] [cxx4msg/INFO] Sending "Task_1" to "Robert:Slave +> [Jacquelin:Master:(1) 0.416661] [cxx4msg/INFO] Sending "Task_3" to "Soucy:Slave" +> [Bousquet:Slave:(5) 0.416661] [cxx4msg/INFO] Received "Task_2" +> [Bousquet:Slave:(5) 0.416661] [cxx4msg/INFO] Processing "Task_2" +> [Bousquet:Slave:(5) 0.417826] [cxx4msg/INFO] "Task_2" done +> [Robert:Slave:(10) 0.454402] [cxx4msg/INFO] Received "Task_1" +> [Robert:Slave:(10) 0.454402] [cxx4msg/INFO] Processing "Task_1" +> [Robert:Slave:(10) 0.454766] [cxx4msg/INFO] "Task_1" done +> [Jacquelin:Master:(1) 0.527739] [cxx4msg/INFO] Sending "Task_4" to "Jackson:Forwarder" +> [Soucy:Slave:(6) 0.527739] [cxx4msg/INFO] Received "Task_3" +> [Soucy:Slave:(6) 0.527739] [cxx4msg/INFO] Processing "Task_3" +> [Soucy:Slave:(6) 0.528103] [cxx4msg/INFO] "Task_3" done +> [Jacquelin:Master:(1) 0.593252] [cxx4msg/INFO] Send completed +> [Jacquelin:Master:(1) 0.593252] [cxx4msg/INFO] All tasks have been dispatched. Let's tell everybody the computation is over. +> [Jackson:Forwarder:(2) 0.593252] [cxx4msg/INFO] Received "Task_4" +> [Jackson:Forwarder:(2) 0.593252] [cxx4msg/INFO] Sending "Task_4" to "Kuenning:Slave +> [Kuenning:Slave:(7) 0.593708] [cxx4msg/INFO] Received "Task_4" +> [Kuenning:Slave:(7) 0.593708] [cxx4msg/INFO] Processing "Task_4" +> [Kuenning:Slave:(7) 0.594291] [cxx4msg/INFO] "Task_4" done +> [iRMX:Slave:(4) 0.827199] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Casavant:Forwarder:(3) 0.931504] [cxx4msg/INFO] All tasks have been dispatched. Let's tell everybody the computation is over. +> [Bousquet:Slave:(5) 1.009496] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Robert:Slave:(10) 1.047200] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Sirois:Slave:(11) 1.086548] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Soucy:Slave:(6) 1.120464] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Casavant:Forwarder:(3) 1.154764] [cxx4msg/INFO] I'm done. See you! +> [Monique:Slave:(12) 1.154764] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Jacquelin:Master:(1) 1.185911] [cxx4msg/INFO] Goodbye now! +> [Jackson:Forwarder:(2) 1.185911] [cxx4msg/INFO] All tasks have been dispatched. Let's tell everybody the computation is over. +> [Kuenning:Slave:(7) 1.186360] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Browne:Slave:(8) 1.325058] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Jackson:Forwarder:(2) 1.532781] [cxx4msg/INFO] I'm done. See you! +> [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 index 0000000000..ae85623cbe --- /dev/null +++ b/examples/cxx/basic/basic.tesh @@ -0,0 +1,69 @@ +$ basic basic_platform.xml basic_deployment.xml +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Hello +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argc=8 +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:5 +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:50000 +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:10 +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:iRMX +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:Casavant +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:Bousquet +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:Soucy +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:Jackson +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Got slave(s) :5 +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] iRMX +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Casavant +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Bousquet +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Soucy +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Jackson +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Got 5 task to process. +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Sending "Task_0" to "iRMX" +> [Jackson:Forwarder:(2) 0.000000] [cxx4msg/INFO] Hello +> [Casavant:Forwarder:(3) 0.000000] [cxx4msg/INFO] Hello +> [iRMX:Slave:(4) 0.000000] [cxx4msg/INFO] Hello +> [Bousquet:Slave:(5) 0.000000] [cxx4msg/INFO] Hello +> [Soucy:Slave:(6) 0.000000] [cxx4msg/INFO] Hello +> [Kuenning:Slave:(7) 0.000000] [cxx4msg/INFO] Hello +> [Browne:Slave:(8) 0.000000] [cxx4msg/INFO] Hello +> [Stephen:Slave:(9) 0.000000] [cxx4msg/INFO] Hello +> [Robert:Slave:(10) 0.000000] [cxx4msg/INFO] Hello +> [Sirois:Slave:(11) 0.000000] [cxx4msg/INFO] Hello +> [Monique:Slave:(12) 0.000000] [cxx4msg/INFO] Hello +> [Jacquelin:Master:(1) 0.234181] [cxx4msg/INFO] Sending "Task_1" to "Casavant" +> [iRMX:Slave:(4) 0.234181] [cxx4msg/INFO] Received "Task_0" +> [iRMX:Slave:(4) 0.234181] [cxx4msg/INFO] Processing "Task_0 +> [iRMX:Slave:(4) 0.234910] [cxx4msg/INFO] "Task_0" done +> [Jacquelin:Master:(1) 0.338591] [cxx4msg/INFO] Sending "Task_2" to "Bousquet" +> [Casavant:Forwarder:(3) 0.338591] [cxx4msg/INFO] Received "Task_1" +> [Casavant:Forwarder:(3) 0.338591] [cxx4msg/INFO] Sending "Task_1" to "Robert" +> [Jacquelin:Master:(1) 0.416661] [cxx4msg/INFO] Sending "Task_3" to "Soucy" +> [Bousquet:Slave:(5) 0.416661] [cxx4msg/INFO] Received "Task_2" +> [Bousquet:Slave:(5) 0.416661] [cxx4msg/INFO] Processing "Task_2 +> [Bousquet:Slave:(5) 0.417826] [cxx4msg/INFO] "Task_2" done +> [Robert:Slave:(10) 0.454402] [cxx4msg/INFO] Received "Task_1" +> [Robert:Slave:(10) 0.454402] [cxx4msg/INFO] Processing "Task_1 +> [Robert:Slave:(10) 0.454766] [cxx4msg/INFO] "Task_1" done +> [Jacquelin:Master:(1) 0.527739] [cxx4msg/INFO] Sending "Task_4" to "Jackson" +> [Soucy:Slave:(6) 0.527739] [cxx4msg/INFO] Received "Task_3" +> [Soucy:Slave:(6) 0.527739] [cxx4msg/INFO] Processing "Task_3 +> [Soucy:Slave:(6) 0.528103] [cxx4msg/INFO] "Task_3" done +> [Jacquelin:Master:(1) 0.593252] [cxx4msg/INFO] Send completed +> [Jacquelin:Master:(1) 0.593252] [cxx4msg/INFO] All tasks have been dispatched. Let's tell everybody the computation is over. +> [Jackson:Forwarder:(2) 0.593252] [cxx4msg/INFO] Received "Task_4" +> [Jackson:Forwarder:(2) 0.593252] [cxx4msg/INFO] Sending "Task_4" to "Kuenning" +> [Kuenning:Slave:(7) 0.593708] [cxx4msg/INFO] Received "Task_4" +> [Kuenning:Slave:(7) 0.593708] [cxx4msg/INFO] Processing "Task_4 +> [Kuenning:Slave:(7) 0.594291] [cxx4msg/INFO] "Task_4" done +> [iRMX:Slave:(4) 0.827199] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Casavant:Forwarder:(3) 0.931504] [cxx4msg/INFO] All tasks have been dispatched. Let's tell everybody the computation is over. +> [Bousquet:Slave:(5) 1.009496] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Robert:Slave:(10) 1.047200] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Sirois:Slave:(11) 1.086548] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Soucy:Slave:(6) 1.120464] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Casavant:Forwarder:(3) 1.154764] [cxx4msg/INFO] I'm done. See you! +> [Monique:Slave:(12) 1.154764] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Jacquelin:Master:(1) 1.185911] [cxx4msg/INFO] Goodbye now! +> [Jackson:Forwarder:(2) 1.185911] [cxx4msg/INFO] All tasks have been dispatched. Let's tell everybody the computation is over. +> [Kuenning:Slave:(7) 1.186360] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Browne:Slave:(8) 1.325058] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Jackson:Forwarder:(2) 1.532781] [cxx4msg/INFO] I'm done. See you! +> [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 index 0000000000..ca02a8409c --- /dev/null +++ b/examples/cxx/comm_time/comm_time.tesh @@ -0,0 +1,86 @@ +$ comm_time comm_time_platform.xml comm_time_deployment.xml +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Hello +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Got slave(s) :20 +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] iRMX +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Bousquet +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Soucy +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Casavant +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Jackson +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Geoff +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Disney +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] McGee +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Gatien +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Laroche +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Tanguay +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Morin +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Ethernet +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Bellemarre +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Harry +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Olivier +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Boucherville +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Pointe_Claire +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Kansas +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] King +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Got 50000 task to process. +> [iRMX:Slave:(2) 0.000000] [cxx4msg/INFO] Hello +> [Bousquet:Slave:(3) 0.000000] [cxx4msg/INFO] Hello +> [Soucy:Slave:(4) 0.000000] [cxx4msg/INFO] Hello +> [Casavant:Slave:(5) 0.000000] [cxx4msg/INFO] Hello +> [Jackson:Slave:(6) 0.000000] [cxx4msg/INFO] Hello +> [Geoff:Slave:(7) 0.000000] [cxx4msg/INFO] Hello +> [Disney:Slave:(8) 0.000000] [cxx4msg/INFO] Hello +> [McGee:Slave:(9) 0.000000] [cxx4msg/INFO] Hello +> [Gatien:Slave:(10) 0.000000] [cxx4msg/INFO] Hello +> [Laroche:Slave:(11) 0.000000] [cxx4msg/INFO] Hello +> [Tanguay:Slave:(12) 0.000000] [cxx4msg/INFO] Hello +> [Morin:Slave:(13) 0.000000] [cxx4msg/INFO] Hello +> [Ethernet:Slave:(14) 0.000000] [cxx4msg/INFO] Hello +> [Bellemarre:Slave:(15) 0.000000] [cxx4msg/INFO] Hello +> [Harry:Slave:(16) 0.000000] [cxx4msg/INFO] Hello +> [Olivier:Slave:(17) 0.000000] [cxx4msg/INFO] Hello +> [Boucherville:Slave:(18) 0.000000] [cxx4msg/INFO] Hello +> [Pointe_Claire:Slave:(19) 0.000000] [cxx4msg/INFO] Hello +> [Kansas:Slave:(20) 0.000000] [cxx4msg/INFO] Hello +> [King:Slave:(21) 0.000000] [cxx4msg/INFO] Hello +> [Jacquelin:Master:(1) 5385.510565] [cxx4msg/INFO] All tasks have been dispatched. Let's tell everybody the computation is over. +> [Jacquelin:Master:(1) 5385.510565] [cxx4msg/INFO] Finalize host iRMX [0] +> [Jacquelin:Master:(1) 5385.744512] [cxx4msg/INFO] Finalize host Bousquet [1] +> [iRMX:Slave:(2) 5385.744512] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Jacquelin:Master:(1) 5385.822504] [cxx4msg/INFO] Finalize host Soucy [2] +> [Bousquet:Slave:(3) 5385.822504] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Jacquelin:Master:(1) 5385.933472] [cxx4msg/INFO] Finalize host Casavant [3] +> [Soucy:Slave:(4) 5385.933472] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Jacquelin:Master:(1) 5386.037777] [cxx4msg/INFO] Finalize host Jackson [4] +> [Casavant:Slave:(5) 5386.037777] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Jacquelin:Master:(1) 5386.103224] [cxx4msg/INFO] Finalize host Geoff [5] +> [Jackson:Slave:(6) 5386.103224] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Jacquelin:Master:(1) 5386.103634] [cxx4msg/INFO] Finalize host Disney [6] +> [Geoff:Slave:(7) 5386.103634] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Jacquelin:Master:(1) 5386.243798] [cxx4msg/INFO] Finalize host McGee [7] +> [Disney:Slave:(8) 5386.243798] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Jacquelin:Master:(1) 5386.312081] [cxx4msg/INFO] Finalize host Gatien [8] +> [McGee:Slave:(9) 5386.312081] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Jacquelin:Master:(1) 5386.410039] [cxx4msg/INFO] Finalize host Laroche [9] +> [Gatien:Slave:(10) 5386.410039] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Jacquelin:Master:(1) 5386.548443] [cxx4msg/INFO] Finalize host Tanguay [10] +> [Laroche:Slave:(11) 5386.548443] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Jacquelin:Master:(1) 5386.624602] [cxx4msg/INFO] Finalize host Morin [11] +> [Tanguay:Slave:(12) 5386.624602] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Jacquelin:Master:(1) 5386.767895] [cxx4msg/INFO] Finalize host Ethernet [12] +> [Morin:Slave:(13) 5386.767895] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Jacquelin:Master:(1) 5386.849385] [cxx4msg/INFO] Finalize host Bellemarre [13] +> [Ethernet:Slave:(14) 5386.849385] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Jacquelin:Master:(1) 5386.988558] [cxx4msg/INFO] Finalize host Harry [14] +> [Bellemarre:Slave:(15) 5386.988558] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Jacquelin:Master:(1) 5387.129807] [cxx4msg/INFO] Finalize host Olivier [15] +> [Harry:Slave:(16) 5387.129807] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Jacquelin:Master:(1) 5387.240138] [cxx4msg/INFO] Finalize host Boucherville [16] +> [Olivier:Slave:(17) 5387.240138] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Jacquelin:Master:(1) 5387.386104] [cxx4msg/INFO] Finalize host Pointe_Claire [17] +> [Boucherville:Slave:(18) 5387.386104] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Jacquelin:Master:(1) 5387.528570] [cxx4msg/INFO] Finalize host Kansas [18] +> [Pointe_Claire:Slave:(19) 5387.528570] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Jacquelin:Master:(1) 5387.597140] [cxx4msg/INFO] Finalize host King [19] +> [Kansas:Slave:(20) 5387.597140] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Jacquelin:Master:(1) 5387.662613] [cxx4msg/INFO] All finalize messages have been dispatched. Goodbye now! +> [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 index 0000000000..b6eed28c97 --- /dev/null +++ b/examples/cxx/explicitDestination/explicitDestination.tesh @@ -0,0 +1,69 @@ +$ explicitDestination explicitDestination_platform.xml explicitDestination_deployment.xml +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Hello +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argc=8 +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:5 +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:50000 +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:10 +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:iRMX +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:Casavant +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:Bousquet +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:Soucy +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] argv:Jackson +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Got 5 alias(es) : +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] iRMX +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Casavant +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Bousquet +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Soucy +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Jackson +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Got 5 task to process. +> [Jacquelin:Master:(1) 0.000000] [cxx4msg/INFO] Sending "Task_0" to "iRMX" +> [Jackson:Forwarder:(2) 0.000000] [cxx4msg/INFO] Hello +> [Casavant:Forwarder:(3) 0.000000] [cxx4msg/INFO] Hello +> [iRMX:Slave:(4) 0.000000] [cxx4msg/INFO] Hello +> [Bousquet:Slave:(5) 0.000000] [cxx4msg/INFO] Hello +> [Soucy:Slave:(6) 0.000000] [cxx4msg/INFO] Hello +> [Kuenning:Slave:(7) 0.000000] [cxx4msg/INFO] Hello +> [Browne:Slave:(8) 0.000000] [cxx4msg/INFO] Hello +> [Stephen:Slave:(9) 0.000000] [cxx4msg/INFO] Hello +> [Robert:Slave:(10) 0.000000] [cxx4msg/INFO] Hello +> [Sirois:Slave:(11) 0.000000] [cxx4msg/INFO] Hello +> [Monique:Slave:(12) 0.000000] [cxx4msg/INFO] Hello +> [Jacquelin:Master:(1) 0.234181] [cxx4msg/INFO] Sending "Task_1" to "Casavant" +> [iRMX:Slave:(4) 0.234181] [cxx4msg/INFO] Received "Task_0" +> [iRMX:Slave:(4) 0.234181] [cxx4msg/INFO] Processing "Task_0" +> [iRMX:Slave:(4) 0.234910] [cxx4msg/INFO] "Task_0" done +> [Jacquelin:Master:(1) 0.338591] [cxx4msg/INFO] Sending "Task_2" to "Bousquet" +> [Casavant:Forwarder:(3) 0.338591] [cxx4msg/INFO] Received "Task_1" +> [Casavant:Forwarder:(3) 0.338591] [cxx4msg/INFO] Sending "Task_1" to "Robert" +> [Jacquelin:Master:(1) 0.416661] [cxx4msg/INFO] Sending "Task_3" to "Soucy" +> [Bousquet:Slave:(5) 0.416661] [cxx4msg/INFO] Received "Task_2" +> [Bousquet:Slave:(5) 0.416661] [cxx4msg/INFO] Processing "Task_2" +> [Bousquet:Slave:(5) 0.417826] [cxx4msg/INFO] "Task_2" done +> [Robert:Slave:(10) 0.454402] [cxx4msg/INFO] Received "Task_1" +> [Robert:Slave:(10) 0.454402] [cxx4msg/INFO] Processing "Task_1" +> [Robert:Slave:(10) 0.454766] [cxx4msg/INFO] "Task_1" done +> [Jacquelin:Master:(1) 0.527739] [cxx4msg/INFO] Sending "Task_4" to "Jackson" +> [Soucy:Slave:(6) 0.527739] [cxx4msg/INFO] Received "Task_3" +> [Soucy:Slave:(6) 0.527739] [cxx4msg/INFO] Processing "Task_3" +> [Soucy:Slave:(6) 0.528103] [cxx4msg/INFO] "Task_3" done +> [Jacquelin:Master:(1) 0.593252] [cxx4msg/INFO] Send completed +> [Jacquelin:Master:(1) 0.593252] [cxx4msg/INFO] All tasks have been dispatched. Let's tell everybody the computation is over. +> [Jackson:Forwarder:(2) 0.593252] [cxx4msg/INFO] Received "Task_4" +> [Jackson:Forwarder:(2) 0.593252] [cxx4msg/INFO] Sending "Task_4" to "Kuenning" +> [Kuenning:Slave:(7) 0.593708] [cxx4msg/INFO] Received "Task_4" +> [Kuenning:Slave:(7) 0.593708] [cxx4msg/INFO] Processing "Task_4" +> [Kuenning:Slave:(7) 0.594291] [cxx4msg/INFO] "Task_4" done +> [iRMX:Slave:(4) 0.827199] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Casavant:Forwarder:(3) 0.931504] [cxx4msg/INFO] All tasks have been dispatched. Let's tell everybody the computation is over. +> [Bousquet:Slave:(5) 1.009496] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Robert:Slave:(10) 1.047200] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Sirois:Slave:(11) 1.086548] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Soucy:Slave:(6) 1.120464] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Casavant:Forwarder:(3) 1.154764] [cxx4msg/INFO] I'm done. See you! +> [Monique:Slave:(12) 1.154764] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Jacquelin:Master:(1) 1.185911] [cxx4msg/INFO] Goodbye now! +> [Jackson:Forwarder:(2) 1.185911] [cxx4msg/INFO] All tasks have been dispatched. Let's tell everybody the computation is over. +> [Kuenning:Slave:(7) 1.186360] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Browne:Slave:(8) 1.325058] [cxx4msg/INFO] Received Finalize. I'm done. See you! +> [Jackson:Forwarder:(2) 1.532781] [cxx4msg/INFO] I'm done. See you! +> [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 index 0000000000..94f231b9a8 --- /dev/null +++ b/examples/cxx/ping_pong/ping_pong.tesh @@ -0,0 +1,12 @@ +$ ping_pong ping_pong_platform.xml ping_pong_deployment.xml +> [Inmos:Sender:(1) 0.000000] [cxx4msg/INFO] Hello +> [Inmos:Sender:(1) 0.000000] [cxx4msg/INFO] Host count : 1 +> [Inmos:Sender:(1) 0.000000] [cxx4msg/INFO] Sender time : 0.000000 +> [Bellevue:Receiver:(2) 0.000000] [cxx4msg/INFO] Hello +> [Bellevue:Receiver:(2) 0.000000] [cxx4msg/INFO] Try to get a task +> [Inmos:Sender:(1) 0.001462] [cxx4msg/INFO] Goodbye! +> [Bellevue:Receiver:(2) 0.001462] [cxx4msg/INFO] Got at time 0.001462 +> [Bellevue:Receiver:(2) 0.001462] [cxx4msg/INFO] Was sent at time 0.000000 +> [Bellevue:Receiver:(2) 0.001462] [cxx4msg/INFO] Communication time : 0.001462 +> [Bellevue:Receiver:(2) 0.001462] [cxx4msg/INFO] --- BW 68415215833.890411 ---- +> [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 index 0000000000..bd9e29d10a --- /dev/null +++ b/examples/cxx/suspend/suspend.tesh @@ -0,0 +1,11 @@ +$ suspend suspend_platform.xml suspend_deployment.xml +> [Jacquelin:DreamMaster:(1) 0.000000] [cxx4msg/INFO] Hello +> [Jacquelin:DreamMaster:(1) 0.000000] [cxx4msg/INFO] Let's create a lazy guy. +> [Jacquelin:DreamMaster:(1) 0.000000] [cxx4msg/INFO] Current host name : Jacquelin +> [Jacquelin:DreamMaster:(1) 0.000000] [cxx4msg/INFO] Let's wait a little bit... +> [Jacquelin:LazyGuy:(2) 0.000000] [cxx4msg/INFO] Hello ! +> [Jacquelin:LazyGuy:(2) 0.000000] [cxx4msg/INFO] Nobody's watching me ? Let's go to sleep. +> [Jacquelin:DreamMaster:(1) 10.000000] [cxx4msg/INFO] Let's wake the lazy guy up! >:) +> [Jacquelin:DreamMaster:(1) 10.000000] [cxx4msg/INFO] OK, goodbye now. +> [Jacquelin:LazyGuy:(2) 10.000000] [cxx4msg/INFO] Uuuh ? Did somebody call me ? +> [Jacquelin:LazyGuy:(2) 10.000000] [cxx4msg/INFO] Mmmh, goodbye now. \ No newline at end of file