Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rename directory.
[simgrid.git] / examples / msg / icomms / peer.tesh
1 #! ./tesh
2
3 p Testing an ireceive and isend application
4
5 $ ./peer small_platform.xml deployment_peer01.xml 
6 > [Tremblay:sender:(1) 0.000000] [msg_test/INFO] sleep_start_time : 5.000000 , sleep_test_time : 0.100000
7 > [Ruby:receiver:(2) 0.000000] [msg_test/INFO] sleep_start_time : 1.000000 
8 > [Ruby:receiver:(2) 1.000000] [msg_test/INFO] Wait to receive a task
9 > [Tremblay:sender:(1) 5.000000] [msg_test/INFO] Send to receiver-0 Task_0
10 > [Ruby:receiver:(2) 5.016560] [msg_test/INFO] Received "Task_0"
11 > [Ruby:receiver:(2) 5.016560] [msg_test/INFO] Processing "Task_0"
12 > [Tremblay:sender:(1) 5.100000] [msg_test/INFO] Send to receiver-0 Task_1
13 > [Ruby:receiver:(2) 5.526270] [msg_test/INFO] "Task_0" done
14 > [Ruby:receiver:(2) 5.526270] [msg_test/INFO] Wait to receive a task
15 > [Ruby:receiver:(2) 5.542830] [msg_test/INFO] Received "Task_1"
16 > [Ruby:receiver:(2) 5.542830] [msg_test/INFO] Processing "Task_1"
17 > [Tremblay:sender:(1) 5.600000] [msg_test/INFO] Send to receiver-0 Task_2
18 > [Ruby:receiver:(2) 6.052540] [msg_test/INFO] "Task_1" done
19 > [Ruby:receiver:(2) 6.052540] [msg_test/INFO] Wait to receive a task
20 > [Ruby:receiver:(2) 6.069100] [msg_test/INFO] Received "Task_2"
21 > [Ruby:receiver:(2) 6.069100] [msg_test/INFO] Processing "Task_2"
22 > [Tremblay:sender:(1) 6.100000] [msg_test/INFO] Send to receiver-0 finalize
23 > [Ruby:receiver:(2) 6.578810] [msg_test/INFO] "Task_2" done
24 > [Ruby:receiver:(2) 6.578810] [msg_test/INFO] Wait to receive a task
25 > [Ruby:receiver:(2) 6.580370] [msg_test/INFO] Received "finalize"
26 > [Ruby:receiver:(2) 6.580370] [msg_test/INFO] I'm done. See you!
27 > [Tremblay:sender:(1) 6.600000] [msg_test/INFO] Goodbye now!
28 > [6.600000] [msg_test/INFO] Simulation time 6.6
29
30 $ ./peer small_platform.xml deployment_peer02.xml 
31 > [Tremblay:sender:(1) 0.000000] [msg_test/INFO] sleep_start_time : 1.000000 , sleep_test_time : 0.100000
32 > [Ruby:receiver:(2) 0.000000] [msg_test/INFO] sleep_start_time : 5.000000 
33 > [Tremblay:sender:(1) 1.000000] [msg_test/INFO] Send to receiver-0 Task_0
34 > [Ruby:receiver:(2) 5.000000] [msg_test/INFO] Wait to receive a task
35 > [Ruby:receiver:(2) 5.016560] [msg_test/INFO] Received "Task_0"
36 > [Ruby:receiver:(2) 5.016560] [msg_test/INFO] Processing "Task_0"
37 > [Tremblay:sender:(1) 5.100000] [msg_test/INFO] Send to receiver-0 Task_1
38 > [Ruby:receiver:(2) 5.526270] [msg_test/INFO] "Task_0" done
39 > [Ruby:receiver:(2) 5.526270] [msg_test/INFO] Wait to receive a task
40 > [Ruby:receiver:(2) 5.542830] [msg_test/INFO] Received "Task_1"
41 > [Ruby:receiver:(2) 5.542830] [msg_test/INFO] Processing "Task_1"
42 > [Tremblay:sender:(1) 5.600000] [msg_test/INFO] Send to receiver-0 Task_2
43 > [Ruby:receiver:(2) 6.052540] [msg_test/INFO] "Task_1" done
44 > [Ruby:receiver:(2) 6.052540] [msg_test/INFO] Wait to receive a task
45 > [Ruby:receiver:(2) 6.069100] [msg_test/INFO] Received "Task_2"
46 > [Ruby:receiver:(2) 6.069100] [msg_test/INFO] Processing "Task_2"
47 > [Tremblay:sender:(1) 6.100000] [msg_test/INFO] Send to receiver-0 finalize
48 > [Ruby:receiver:(2) 6.578810] [msg_test/INFO] "Task_2" done
49 > [Ruby:receiver:(2) 6.578810] [msg_test/INFO] Wait to receive a task
50 > [Ruby:receiver:(2) 6.580370] [msg_test/INFO] Received "finalize"
51 > [Ruby:receiver:(2) 6.580370] [msg_test/INFO] I'm done. See you!
52 > [Tremblay:sender:(1) 6.600000] [msg_test/INFO] Goodbye now!
53 > [6.600000] [msg_test/INFO] Simulation time 6.6
54
55 $ ./peer small_platform.xml deployment_peer03.xml 
56 > [Tremblay:sender:(1) 0.000000] [msg_test/INFO] sleep_start_time : 5.000000 , sleep_test_time : 0.000000
57 > [Ruby:receiver:(2) 0.000000] [msg_test/INFO] sleep_start_time : 1.000000 
58 > [Ruby:receiver:(2) 1.000000] [msg_test/INFO] Wait to receive a task
59 > [Tremblay:sender:(1) 5.000000] [msg_test/INFO] Send to receiver-0 Task_0
60 > [Ruby:receiver:(2) 5.016560] [msg_test/INFO] Received "Task_0"
61 > [Ruby:receiver:(2) 5.016560] [msg_test/INFO] Processing "Task_0"
62 > [Tremblay:sender:(1) 5.016560] [msg_test/INFO] Send to receiver-0 Task_1
63 > [Ruby:receiver:(2) 5.526270] [msg_test/INFO] "Task_0" done
64 > [Ruby:receiver:(2) 5.526270] [msg_test/INFO] Wait to receive a task
65 > [Tremblay:sender:(1) 5.542830] [msg_test/INFO] Send to receiver-0 Task_2
66 > [Ruby:receiver:(2) 5.542830] [msg_test/INFO] Received "Task_1"
67 > [Ruby:receiver:(2) 5.542830] [msg_test/INFO] Processing "Task_1"
68 > [Ruby:receiver:(2) 6.052540] [msg_test/INFO] "Task_1" done
69 > [Ruby:receiver:(2) 6.052540] [msg_test/INFO] Wait to receive a task
70 > [Tremblay:sender:(1) 6.069100] [msg_test/INFO] Send to receiver-0 finalize
71 > [Ruby:receiver:(2) 6.069100] [msg_test/INFO] Received "Task_2"
72 > [Ruby:receiver:(2) 6.069100] [msg_test/INFO] Processing "Task_2"
73 > [Ruby:receiver:(2) 6.578810] [msg_test/INFO] "Task_2" done
74 > [Ruby:receiver:(2) 6.578810] [msg_test/INFO] Wait to receive a task
75 > [Tremblay:sender:(1) 6.580370] [msg_test/INFO] Goodbye now!
76 > [Ruby:receiver:(2) 6.580370] [msg_test/INFO] Received "finalize"
77 > [Ruby:receiver:(2) 6.580370] [msg_test/INFO] I'm done. See you!
78 > [6.580370] [msg_test/INFO] Simulation time 6.58037
79
80 $ ./peer small_platform.xml deployment_peer04.xml 
81 > [Tremblay:sender:(1) 0.000000] [msg_test/INFO] sleep_start_time : 1.000000 , sleep_test_time : 0.000000
82 > [Ruby:receiver:(2) 0.000000] [msg_test/INFO] sleep_start_time : 5.000000 
83 > [Tremblay:sender:(1) 1.000000] [msg_test/INFO] Send to receiver-0 Task_0
84 > [Ruby:receiver:(2) 5.000000] [msg_test/INFO] Wait to receive a task
85 > [Tremblay:sender:(1) 5.016560] [msg_test/INFO] Send to receiver-0 Task_1
86 > [Ruby:receiver:(2) 5.016560] [msg_test/INFO] Received "Task_0"
87 > [Ruby:receiver:(2) 5.016560] [msg_test/INFO] Processing "Task_0"
88 > [Ruby:receiver:(2) 5.526270] [msg_test/INFO] "Task_0" done
89 > [Ruby:receiver:(2) 5.526270] [msg_test/INFO] Wait to receive a task
90 > [Tremblay:sender:(1) 5.542830] [msg_test/INFO] Send to receiver-0 Task_2
91 > [Ruby:receiver:(2) 5.542830] [msg_test/INFO] Received "Task_1"
92 > [Ruby:receiver:(2) 5.542830] [msg_test/INFO] Processing "Task_1"
93 > [Ruby:receiver:(2) 6.052540] [msg_test/INFO] "Task_1" done
94 > [Ruby:receiver:(2) 6.052540] [msg_test/INFO] Wait to receive a task
95 > [Tremblay:sender:(1) 6.069100] [msg_test/INFO] Send to receiver-0 finalize
96 > [Ruby:receiver:(2) 6.069100] [msg_test/INFO] Received "Task_2"
97 > [Ruby:receiver:(2) 6.069100] [msg_test/INFO] Processing "Task_2"
98 > [Ruby:receiver:(2) 6.578810] [msg_test/INFO] "Task_2" done
99 > [Ruby:receiver:(2) 6.578810] [msg_test/INFO] Wait to receive a task
100 > [Tremblay:sender:(1) 6.580370] [msg_test/INFO] Goodbye now!
101 > [Ruby:receiver:(2) 6.580370] [msg_test/INFO] Received "finalize"
102 > [Ruby:receiver:(2) 6.580370] [msg_test/INFO] I'm done. See you!
103 > [6.580370] [msg_test/INFO] Simulation time 6.58037