From: mquinson Date: Wed, 23 Dec 2009 15:18:28 +0000 (+0000) Subject: reduce amount of output, and update the tesh files X-Git-Tag: SVN~763 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/3a98702c23773c7bab873823a8d556d9f340db2f reduce amount of output, and update the tesh files git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6963 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/examples/gras/pmm/pmm.c b/examples/gras/pmm/pmm.c index 54fcae4475..28671fe054 100755 --- a/examples/gras/pmm/pmm.c +++ b/examples/gras/pmm/pmm.c @@ -108,11 +108,11 @@ int master(int argc, char *argv[]) peers = amok_pm_group_new("pmm"); /* friends, we're ready. Come and play */ - INFO0("Wait for peers for 5 sec"); - gras_msg_handleall(5); + INFO0("Wait for peers for 2 sec"); + gras_msg_handleall(2); while (xbt_dynar_length(peers)<9) { - INFO1("Got only %ld pals. Wait 5 more seconds", xbt_dynar_length(peers)); - gras_msg_handleall(5); + INFO1("Got only %ld pals. Wait 2 more seconds", xbt_dynar_length(peers)); + gras_msg_handleall(2); } INFO1("Good. Got %ld pals", xbt_dynar_length(peers)); @@ -190,6 +190,10 @@ int master(int argc, char *argv[]) } /* end of gather */ + if (xbt_matrix_double_is_seq(C)) + INFO0("XXXXXXXXXXXXXXXXXXXXXX Ok, the result matches expectations"); + else { + WARN0("the result seems wrong"); if (DATA_MATRIX_SIZE < 30) { INFO0("The Result of Multiplication is :"); xbt_matrix_dump(C, "C:res", 0, xbt_matrix_dump_display_double); @@ -197,12 +201,12 @@ int master(int argc, char *argv[]) INFO1("Matrix size too big (%d>30) to be displayed here", DATA_MATRIX_SIZE); } + } amok_pm_group_shutdown("pmm"); /* Ok, we're out of here */ - for (i = 0; i < SLAVE_COUNT; i++) { + for (i = 0; i < SLAVE_COUNT; i++) gras_socket_close(socket[i]); - } xbt_matrix_free(A); xbt_matrix_free(B); @@ -253,7 +257,10 @@ static int pmm_worker_cb(gras_msg_cb_ctx_t ctx, void *payload) mydataA = assignment.A; mydataB = assignment.B; - INFO2("Receive my pos (%d,%d) and assignment", myline, myrow); + if (gras_if_RL()) + INFO0("Receive my pos and assignment"); + else + INFO2("Receive my pos (%d,%d) and assignment", myline, myrow); /* Get my neighborhood from the assignment message (skipping myself) */ for (i = 0; i < PROC_MATRIX_SIZE - 1; i++) { @@ -271,9 +278,9 @@ static int pmm_worker_cb(gras_msg_cb_ctx_t ctx, void *payload) /* a line brodcast */ if (myline == step) { - INFO2("LINE: step(%d) = Myline(%d). Broadcast my data.", step, myline); + VERB2("LINE: step(%d) = Myline(%d). Broadcast my data.", step, myline); for (l = 0; l < PROC_MATRIX_SIZE - 1; l++) { - INFO1("LINE: Send to %s", gras_socket_peer_name(socket_row[l])); + VERB1("LINE: Send to %s", gras_socket_peer_name(socket_row[l])); gras_msg_send(socket_row[l], "dataB", &mydataB); } @@ -289,15 +296,15 @@ static int pmm_worker_cb(gras_msg_cb_ctx_t ctx, void *payload) CATCH(e) { RETHROW0("Can't get a data message from line : %s"); } - INFO3("LINE: step(%d) <> Myline(%d). Receive data from %s", step, + VERB3("LINE: step(%d) <> Myline(%d). Receive data from %s", step, myline, gras_socket_peer_name(from)); } /* a row brodcast */ if (myrow == step) { - INFO2("ROW: step(%d)=myrow(%d). Broadcast my data.", step, myrow); + VERB2("ROW: step(%d)=myrow(%d). Broadcast my data.", step, myrow); for (l = 1; l < PROC_MATRIX_SIZE; l++) { - INFO1("ROW: Send to %s", gras_socket_peer_name(socket_line[l - 1])); + VERB1("ROW: Send to %s", gras_socket_peer_name(socket_line[l - 1])); gras_msg_send(socket_line[l - 1], "dataA", &mydataA); } xbt_matrix_free(bA); @@ -311,7 +318,7 @@ static int pmm_worker_cb(gras_msg_cb_ctx_t ctx, void *payload) CATCH(e) { RETHROW0("Can't get a data message from row : %s"); } - INFO3("ROW: step(%d)<>myrow(%d). Receive data from %s", step, myrow, + VERB3("ROW: step(%d)<>myrow(%d). Receive data from %s", step, myrow, gras_socket_peer_name(from)); } xbt_matrix_double_addmult(bA, bB, bC); @@ -329,7 +336,7 @@ static int pmm_worker_cb(gras_msg_cb_ctx_t ctx, void *payload) CATCH(e) { RETHROW0("Failed to send answer to server: %s"); } - INFO2(">>>>>>>> Result sent to %s:%d <<<<<<<<", + VERB2(">>>>>>>> Result sent to %s:%d <<<<<<<<", gras_socket_peer_name(master), gras_socket_peer_port(master)); /* Free the allocated resources, and shut GRAS down */ diff --git a/examples/gras/pmm/test_rl b/examples/gras/pmm/test_rl index c1ccf29c40..1bdd34e784 100755 --- a/examples/gras/pmm/test_rl +++ b/examples/gras/pmm/test_rl @@ -3,180 +3,61 @@ ! timeout no & $SG_TEST_EXENV ./pmm_slave$EXEEXT 127.0.0.1:4242 0 --log=root.fmt:%m%n > Sensor 0 starting -> Receive my pos (0,0) and assignment -> LINE: step(0) = Myline(0). Broadcast my data. -> LINE: Send to 127.0.0.1 -> LINE: Send to 127.0.0.1 -> ROW: step(0)=myrow(0). Broadcast my data. -> ROW: Send to 127.0.0.1 -> ROW: Send to 127.0.0.1 -> LINE: step(1) <> Myline(0). Receive data from 127.0.0.1 -> ROW: step(1)<>myrow(0). Receive data from 127.0.0.1 -> LINE: step(2) <> Myline(0). Receive data from 127.0.0.1 -> ROW: step(2)<>myrow(0). Receive data from 127.0.0.1 -> >>>>>>>> Result sent to 127.0.0.1:4242 <<<<<<<< +> Receive my pos and assignment > Exiting GRAS ! timeout no & $SG_TEST_EXENV ./pmm_slave$EXEEXT 127.0.0.1:4242 1 --log=root.fmt:%m%n > Sensor 1 starting -> Receive my pos (0,1) and assignment -> LINE: step(0) = Myline(0). Broadcast my data. -> LINE: Send to 127.0.0.1 -> LINE: Send to 127.0.0.1 -> ROW: step(0)<>myrow(1). Receive data from 127.0.0.1 -> LINE: step(1) <> Myline(0). Receive data from 127.0.0.1 -> ROW: step(1)=myrow(1). Broadcast my data. -> ROW: Send to 127.0.0.1 -> ROW: Send to 127.0.0.1 -> LINE: step(2) <> Myline(0). Receive data from 127.0.0.1 -> ROW: step(2)<>myrow(1). Receive data from 127.0.0.1 -> >>>>>>>> Result sent to 127.0.0.1:4242 <<<<<<<< +> Receive my pos and assignment > Exiting GRAS ! timeout no & $SG_TEST_EXENV ./pmm_slave$EXEEXT 127.0.0.1:4242 2 --log=root.fmt:%m%n > Sensor 2 starting -> Receive my pos (0,2) and assignment -> LINE: step(0) = Myline(0). Broadcast my data. -> LINE: Send to 127.0.0.1 -> LINE: Send to 127.0.0.1 -> ROW: step(0)<>myrow(2). Receive data from 127.0.0.1 -> LINE: step(1) <> Myline(0). Receive data from 127.0.0.1 -> ROW: step(1)<>myrow(2). Receive data from 127.0.0.1 -> LINE: step(2) <> Myline(0). Receive data from 127.0.0.1 -> ROW: step(2)=myrow(2). Broadcast my data. -> ROW: Send to 127.0.0.1 -> ROW: Send to 127.0.0.1 -> >>>>>>>> Result sent to 127.0.0.1:4242 <<<<<<<< +> Receive my pos and assignment > Exiting GRAS ! timeout no & $SG_TEST_EXENV ./pmm_slave$EXEEXT 127.0.0.1:4242 3 --log=root.fmt:%m%n > Sensor 3 starting -> Receive my pos (1,0) and assignment -> LINE: step(0) <> Myline(1). Receive data from 127.0.0.1 -> ROW: step(0)=myrow(0). Broadcast my data. -> ROW: Send to 127.0.0.1 -> ROW: Send to 127.0.0.1 -> LINE: step(1) = Myline(1). Broadcast my data. -> LINE: Send to 127.0.0.1 -> LINE: Send to 127.0.0.1 -> ROW: step(1)<>myrow(0). Receive data from 127.0.0.1 -> LINE: step(2) <> Myline(1). Receive data from 127.0.0.1 -> ROW: step(2)<>myrow(0). Receive data from 127.0.0.1 -> >>>>>>>> Result sent to 127.0.0.1:4242 <<<<<<<< +> Receive my pos and assignment > Exiting GRAS ! timeout no & $SG_TEST_EXENV ./pmm_slave$EXEEXT 127.0.0.1:4242 4 --log=root.fmt:%m%n > Sensor 4 starting -> Receive my pos (1,1) and assignment -> LINE: step(0) <> Myline(1). Receive data from 127.0.0.1 -> ROW: step(0)<>myrow(1). Receive data from 127.0.0.1 -> LINE: step(1) = Myline(1). Broadcast my data. -> LINE: Send to 127.0.0.1 -> LINE: Send to 127.0.0.1 -> ROW: step(1)=myrow(1). Broadcast my data. -> ROW: Send to 127.0.0.1 -> ROW: Send to 127.0.0.1 -> LINE: step(2) <> Myline(1). Receive data from 127.0.0.1 -> ROW: step(2)<>myrow(1). Receive data from 127.0.0.1 -> >>>>>>>> Result sent to 127.0.0.1:4242 <<<<<<<< +> Receive my pos and assignment > Exiting GRAS ! timeout no & $SG_TEST_EXENV ./pmm_slave$EXEEXT 127.0.0.1:4242 5 --log=root.fmt:%m%n > Sensor 5 starting -> Receive my pos (1,2) and assignment -> LINE: step(0) <> Myline(1). Receive data from 127.0.0.1 -> ROW: step(0)<>myrow(2). Receive data from 127.0.0.1 -> LINE: step(1) = Myline(1). Broadcast my data. -> LINE: Send to 127.0.0.1 -> LINE: Send to 127.0.0.1 -> ROW: step(1)<>myrow(2). Receive data from 127.0.0.1 -> LINE: step(2) <> Myline(1). Receive data from 127.0.0.1 -> ROW: step(2)=myrow(2). Broadcast my data. -> ROW: Send to 127.0.0.1 -> ROW: Send to 127.0.0.1 -> >>>>>>>> Result sent to 127.0.0.1:4242 <<<<<<<< +> Receive my pos and assignment > Exiting GRAS ! timeout no & $SG_TEST_EXENV ./pmm_slave$EXEEXT 127.0.0.1:4242 6 --log=root.fmt:%m%n > Sensor 6 starting -> Receive my pos (2,0) and assignment -> LINE: step(0) <> Myline(2). Receive data from 127.0.0.1 -> ROW: step(0)=myrow(0). Broadcast my data. -> ROW: Send to 127.0.0.1 -> ROW: Send to 127.0.0.1 -> LINE: step(1) <> Myline(2). Receive data from 127.0.0.1 -> ROW: step(1)<>myrow(0). Receive data from 127.0.0.1 -> LINE: step(2) = Myline(2). Broadcast my data. -> LINE: Send to 127.0.0.1 -> LINE: Send to 127.0.0.1 -> ROW: step(2)<>myrow(0). Receive data from 127.0.0.1 -> >>>>>>>> Result sent to 127.0.0.1:4242 <<<<<<<< +> Receive my pos and assignment > Exiting GRAS ! timeout no & $SG_TEST_EXENV ./pmm_slave$EXEEXT 127.0.0.1:4242 7 --log=root.fmt:%m%n > Sensor 7 starting -> Receive my pos (2,1) and assignment -> LINE: step(0) <> Myline(2). Receive data from 127.0.0.1 -> ROW: step(0)<>myrow(1). Receive data from 127.0.0.1 -> LINE: step(1) <> Myline(2). Receive data from 127.0.0.1 -> ROW: step(1)=myrow(1). Broadcast my data. -> ROW: Send to 127.0.0.1 -> ROW: Send to 127.0.0.1 -> LINE: step(2) = Myline(2). Broadcast my data. -> LINE: Send to 127.0.0.1 -> LINE: Send to 127.0.0.1 -> ROW: step(2)<>myrow(1). Receive data from 127.0.0.1 -> >>>>>>>> Result sent to 127.0.0.1:4242 <<<<<<<< +> Receive my pos and assignment > Exiting GRAS ! timeout no & $SG_TEST_EXENV ./pmm_slave$EXEEXT 127.0.0.1:4242 8 --log=root.fmt:%m%n > Sensor 8 starting -> Receive my pos (2,2) and assignment -> LINE: step(0) <> Myline(2). Receive data from 127.0.0.1 -> ROW: step(0)<>myrow(2). Receive data from 127.0.0.1 -> LINE: step(1) <> Myline(2). Receive data from 127.0.0.1 -> ROW: step(1)<>myrow(2). Receive data from 127.0.0.1 -> LINE: step(2) = Myline(2). Broadcast my data. -> LINE: Send to 127.0.0.1 -> LINE: Send to 127.0.0.1 -> ROW: step(2)=myrow(2). Broadcast my data. -> ROW: Send to 127.0.0.1 -> ROW: Send to 127.0.0.1 -> >>>>>>>> Result sent to 127.0.0.1:4242 <<<<<<<< +> Receive my pos and assignment > Exiting GRAS ! timeout no & $SG_TEST_EXENV ./pmm_master$EXEEXT 4242 --log=root.fmt:%m%n -> Wait for peers for 5 sec -> Got 9 pals +> Wait for peers for 2 sec +> Good. Got 9 pals > XXXXXXXXXXXXXXXXXXXXXX begin Multiplication -> The Result of Multiplication is : -> >>> Matrix C:res dump (18 x 18) -> 0.00 18.00 36.00 54.00 72.00 90.00 108.00 126.00 144.00 162.00 180.00 198.00 216.00 234.00 252.00 270.00 288.00 306.00 -> 1.00 19.00 37.00 55.00 73.00 91.00 109.00 127.00 145.00 163.00 181.00 199.00 217.00 235.00 253.00 271.00 289.00 307.00 -> 2.00 20.00 38.00 56.00 74.00 92.00 110.00 128.00 146.00 164.00 182.00 200.00 218.00 236.00 254.00 272.00 290.00 308.00 -> 3.00 21.00 39.00 57.00 75.00 93.00 111.00 129.00 147.00 165.00 183.00 201.00 219.00 237.00 255.00 273.00 291.00 309.00 -> 4.00 22.00 40.00 58.00 76.00 94.00 112.00 130.00 148.00 166.00 184.00 202.00 220.00 238.00 256.00 274.00 292.00 310.00 -> 5.00 23.00 41.00 59.00 77.00 95.00 113.00 131.00 149.00 167.00 185.00 203.00 221.00 239.00 257.00 275.00 293.00 311.00 -> 6.00 24.00 42.00 60.00 78.00 96.00 114.00 132.00 150.00 168.00 186.00 204.00 222.00 240.00 258.00 276.00 294.00 312.00 -> 7.00 25.00 43.00 61.00 79.00 97.00 115.00 133.00 151.00 169.00 187.00 205.00 223.00 241.00 259.00 277.00 295.00 313.00 -> 8.00 26.00 44.00 62.00 80.00 98.00 116.00 134.00 152.00 170.00 188.00 206.00 224.00 242.00 260.00 278.00 296.00 314.00 -> 9.00 27.00 45.00 63.00 81.00 99.00 117.00 135.00 153.00 171.00 189.00 207.00 225.00 243.00 261.00 279.00 297.00 315.00 -> 10.00 28.00 46.00 64.00 82.00 100.00 118.00 136.00 154.00 172.00 190.00 208.00 226.00 244.00 262.00 280.00 298.00 316.00 -> 11.00 29.00 47.00 65.00 83.00 101.00 119.00 137.00 155.00 173.00 191.00 209.00 227.00 245.00 263.00 281.00 299.00 317.00 -> 12.00 30.00 48.00 66.00 84.00 102.00 120.00 138.00 156.00 174.00 192.00 210.00 228.00 246.00 264.00 282.00 300.00 318.00 -> 13.00 31.00 49.00 67.00 85.00 103.00 121.00 139.00 157.00 175.00 193.00 211.00 229.00 247.00 265.00 283.00 301.00 319.00 -> 14.00 32.00 50.00 68.00 86.00 104.00 122.00 140.00 158.00 176.00 194.00 212.00 230.00 248.00 266.00 284.00 302.00 320.00 -> 15.00 33.00 51.00 69.00 87.00 105.00 123.00 141.00 159.00 177.00 195.00 213.00 231.00 249.00 267.00 285.00 303.00 321.00 -> 16.00 34.00 52.00 70.00 88.00 106.00 124.00 142.00 160.00 178.00 196.00 214.00 232.00 250.00 268.00 286.00 304.00 322.00 -> 17.00 35.00 53.00 71.00 89.00 107.00 125.00 143.00 161.00 179.00 197.00 215.00 233.00 251.00 269.00 287.00 305.00 323.00 -> <<< end_of_matrix C:res dump +> XXXXXXXXXXXXXXXXXXXXXX Ok, the result matches expectations > Exiting GRAS diff --git a/examples/gras/pmm/test_sg_32 b/examples/gras/pmm/test_sg_32 index 14cbbe69e5..e4a207466f 100755 --- a/examples/gras/pmm/test_sg_32 +++ b/examples/gras/pmm/test_sg_32 @@ -1,152 +1,43 @@ $ $SG_TEST_EXENV ./pmm_simulator$EXEEXT ${srcdir:=.}/../../msg/msg_platform.xml ${srcdir:=.}/pmm.xml -> [Jacquelin:master:(1) 0.000000] [pmm/INFO] Wait for peers for 5 sec -> [Boivin:slave:(2) 0.000000] [pmm/INFO] Sensor 0 starting -> [Jean_Yves:slave:(3) 0.000000] [pmm/INFO] Sensor 1 starting -> [TeX:slave:(4) 0.000000] [pmm/INFO] Sensor 2 starting -> [Geoff:slave:(5) 0.000000] [pmm/INFO] Sensor 3 starting -> [Disney:slave:(6) 0.000000] [pmm/INFO] Sensor 4 starting -> [iRMX:slave:(7) 0.000000] [pmm/INFO] Sensor 5 starting -> [McGee:slave:(8) 0.000000] [pmm/INFO] Sensor 6 starting -> [Gatien:slave:(9) 0.000000] [pmm/INFO] Sensor 7 starting +> [Jacquelin:master:(1) 0.000000] [pmm/INFO] Wait for peers for 2 sec > [Laroche:slave:(10) 0.000000] [pmm/INFO] Sensor 8 starting -> [Jacquelin:master:(1) 5.000000] [pmm/INFO] Got 9 pals -> [Jacquelin:master:(1) 5.000135] [pmm/INFO] XXXXXXXXXXXXXXXXXXXXXX begin Multiplication -> [Boivin:slave:(2) 6.086061] [pmm/INFO] Receive my pos (0,0) and assignment -> [Boivin:slave:(2) 6.086121] [pmm/INFO] LINE: step(0) = Myline(0). Broadcast my data. -> [Boivin:slave:(2) 6.086121] [pmm/INFO] LINE: Send to Geoff -> [Jean_Yves:slave:(3) 6.161839] [pmm/INFO] Receive my pos (0,1) and assignment -> [Jean_Yves:slave:(3) 6.161899] [pmm/INFO] LINE: step(0) = Myline(0). Broadcast my data. -> [Jean_Yves:slave:(3) 6.161899] [pmm/INFO] LINE: Send to Disney -> [Boivin:slave:(2) 6.168770] [pmm/INFO] LINE: Send to McGee -> [Boivin:slave:(2) 6.177071] [pmm/INFO] ROW: step(0)=myrow(0). Broadcast my data. -> [Boivin:slave:(2) 6.177071] [pmm/INFO] ROW: Send to Jean_Yves -> [TeX:slave:(4) 6.310384] [pmm/INFO] Receive my pos (0,2) and assignment -> [TeX:slave:(4) 6.310444] [pmm/INFO] LINE: step(0) = Myline(0). Broadcast my data. -> [TeX:slave:(4) 6.310444] [pmm/INFO] LINE: Send to iRMX -> [Geoff:slave:(5) 6.311049] [pmm/INFO] Receive my pos (1,0) and assignment -> [Geoff:slave:(5) 6.311109] [pmm/INFO] LINE: step(0) <> Myline(1). Receive data from Boivin -> [Geoff:slave:(5) 6.311109] [pmm/INFO] ROW: step(0)=myrow(0). Broadcast my data. -> [Geoff:slave:(5) 6.311109] [pmm/INFO] ROW: Send to Disney -> [Boivin:slave:(2) 6.331800] [pmm/INFO] ROW: Send to TeX -> [Jean_Yves:slave:(3) 6.377981] [pmm/INFO] LINE: Send to Gatien -> [Disney:slave:(6) 6.460464] [pmm/INFO] Receive my pos (1,1) and assignment -> [Geoff:slave:(5) 6.521984] [pmm/INFO] ROW: Send to iRMX -> [Disney:slave:(6) 6.522044] [pmm/INFO] LINE: step(0) <> Myline(1). Receive data from Jean_Yves -> [Disney:slave:(6) 6.522044] [pmm/INFO] ROW: step(0)<>myrow(1). Receive data from Geoff -> [Disney:slave:(6) 6.522044] [pmm/INFO] LINE: step(1) = Myline(1). Broadcast my data. -> [Disney:slave:(6) 6.522044] [pmm/INFO] LINE: Send to Jean_Yves -> [Jean_Yves:slave:(3) 6.550575] [pmm/INFO] ROW: step(0)<>myrow(1). Receive data from Boivin -> [TeX:slave:(4) 6.563291] [pmm/INFO] LINE: Send to Laroche -> [iRMX:slave:(7) 6.709782] [pmm/INFO] Receive my pos (1,2) and assignment -> [TeX:slave:(4) 6.717690] [pmm/INFO] ROW: step(0)<>myrow(2). Receive data from Boivin -> [Disney:slave:(6) 6.738127] [pmm/INFO] LINE: Send to Gatien -> [Jean_Yves:slave:(3) 6.738127] [pmm/INFO] LINE: step(1) <> Myline(0). Receive data from Disney -> [Jean_Yves:slave:(3) 6.738127] [pmm/INFO] ROW: step(1)=myrow(1). Broadcast my data. -> [Jean_Yves:slave:(3) 6.738127] [pmm/INFO] ROW: Send to Boivin -> [McGee:slave:(8) 6.782571] [pmm/INFO] Receive my pos (2,0) and assignment -> [McGee:slave:(8) 6.782631] [pmm/INFO] LINE: step(0) <> Myline(2). Receive data from Boivin -> [McGee:slave:(8) 6.782631] [pmm/INFO] ROW: step(0)=myrow(0). Broadcast my data. -> [McGee:slave:(8) 6.782631] [pmm/INFO] ROW: Send to Gatien -> [Geoff:slave:(5) 6.803928] [pmm/INFO] LINE: step(1) = Myline(1). Broadcast my data. -> [Geoff:slave:(5) 6.803928] [pmm/INFO] LINE: Send to Boivin -> [iRMX:slave:(7) 6.803988] [pmm/INFO] LINE: step(0) <> Myline(1). Receive data from TeX -> [iRMX:slave:(7) 6.803988] [pmm/INFO] ROW: step(0)<>myrow(2). Receive data from Geoff -> [iRMX:slave:(7) 6.803988] [pmm/INFO] LINE: step(1) = Myline(1). Broadcast my data. -> [iRMX:slave:(7) 6.803988] [pmm/INFO] LINE: Send to TeX -> [Disney:slave:(6) 6.845139] [pmm/INFO] ROW: step(1)=myrow(1). Broadcast my data. -> [Disney:slave:(6) 6.845139] [pmm/INFO] ROW: Send to Geoff -> [McGee:slave:(8) 6.876778] [pmm/INFO] ROW: Send to Laroche -> [Gatien:slave:(9) 6.887024] [pmm/INFO] Receive my pos (2,1) and assignment -> [Gatien:slave:(9) 6.887084] [pmm/INFO] LINE: step(0) <> Myline(2). Receive data from Jean_Yves -> [Gatien:slave:(9) 6.887084] [pmm/INFO] ROW: step(0)<>myrow(1). Receive data from McGee -> [Gatien:slave:(9) 6.887084] [pmm/INFO] LINE: step(1) <> Myline(2). Receive data from Disney -> [Gatien:slave:(9) 6.887084] [pmm/INFO] ROW: step(1)=myrow(1). Broadcast my data. -> [Gatien:slave:(9) 6.887084] [pmm/INFO] ROW: Send to McGee -> [Jean_Yves:slave:(3) 6.892856] [pmm/INFO] ROW: Send to TeX -> [Gatien:slave:(9) 6.918722] [pmm/INFO] ROW: Send to Laroche -> [Geoff:slave:(5) 6.975505] [pmm/INFO] LINE: Send to McGee -> [Boivin:slave:(2) 6.975505] [pmm/INFO] LINE: step(1) <> Myline(0). Receive data from Geoff -> [Boivin:slave:(2) 6.975505] [pmm/INFO] ROW: step(1)<>myrow(0). Receive data from Jean_Yves -> [Disney:slave:(6) 6.989142] [pmm/INFO] ROW: Send to iRMX -> [Laroche:slave:(10) 7.034480] [pmm/INFO] Receive my pos (2,2) and assignment -> [Geoff:slave:(5) 7.045440] [pmm/INFO] ROW: step(1)<>myrow(0). Receive data from Disney -> [McGee:slave:(8) 7.045440] [pmm/INFO] LINE: step(1) <> Myline(2). Receive data from Geoff -> [McGee:slave:(8) 7.045440] [pmm/INFO] ROW: step(1)<>myrow(0). Receive data from Gatien -> [McGee:slave:(8) 7.045440] [pmm/INFO] LINE: step(2) = Myline(2). Broadcast my data. -> [McGee:slave:(8) 7.045440] [pmm/INFO] LINE: Send to Boivin -> [McGee:slave:(8) 7.053739] [pmm/INFO] LINE: Send to Geoff -> [Boivin:slave:(2) 7.053739] [pmm/INFO] LINE: step(2) <> Myline(0). Receive data from McGee -> [Gatien:slave:(9) 7.056597] [pmm/INFO] LINE: step(2) = Myline(2). Broadcast my data. -> [Gatien:slave:(9) 7.056597] [pmm/INFO] LINE: Send to Jean_Yves -> [Laroche:slave:(10) 7.056657] [pmm/INFO] LINE: step(0) <> Myline(2). Receive data from TeX -> [Laroche:slave:(10) 7.056657] [pmm/INFO] ROW: step(0)<>myrow(2). Receive data from McGee -> [iRMX:slave:(7) 7.056835] [pmm/INFO] LINE: Send to Laroche -> [TeX:slave:(4) 7.056835] [pmm/INFO] LINE: step(1) <> Myline(0). Receive data from iRMX -> [Geoff:slave:(5) 7.123674] [pmm/INFO] LINE: step(2) <> Myline(1). Receive data from McGee -> [Laroche:slave:(10) 7.155604] [pmm/INFO] LINE: step(1) <> Myline(2). Receive data from iRMX -> [Laroche:slave:(10) 7.155604] [pmm/INFO] ROW: step(1)<>myrow(2). Receive data from Gatien -> [Laroche:slave:(10) 7.155604] [pmm/INFO] LINE: step(2) = Myline(2). Broadcast my data. -> [Laroche:slave:(10) 7.155604] [pmm/INFO] LINE: Send to TeX -> [Gatien:slave:(9) 7.229191] [pmm/INFO] LINE: Send to Disney -> [iRMX:slave:(7) 7.242856] [pmm/INFO] ROW: step(1)<>myrow(2). Receive data from Disney -> [Jean_Yves:slave:(3) 7.272050] [pmm/INFO] LINE: step(2) <> Myline(0). Receive data from Gatien -> [TeX:slave:(4) 7.272050] [pmm/INFO] ROW: step(1)<>myrow(2). Receive data from Jean_Yves -> [Disney:slave:(6) 7.336204] [pmm/INFO] LINE: step(2) <> Myline(1). Receive data from Gatien -> [Laroche:slave:(10) 7.426450] [pmm/INFO] LINE: Send to iRMX -> [TeX:slave:(4) 7.426450] [pmm/INFO] LINE: step(2) <> Myline(0). Receive data from Laroche -> [TeX:slave:(4) 7.426450] [pmm/INFO] ROW: step(2)=myrow(2). Broadcast my data. -> [TeX:slave:(4) 7.426450] [pmm/INFO] ROW: Send to Boivin -> [TeX:slave:(4) 7.515791] [pmm/INFO] ROW: Send to Jean_Yves -> [Boivin:slave:(2) 7.515791] [pmm/INFO] ROW: step(2)<>myrow(0). Receive data from TeX -> [Laroche:slave:(10) 7.525219] [pmm/INFO] ROW: step(2)=myrow(2). Broadcast my data. -> [Laroche:slave:(10) 7.525219] [pmm/INFO] ROW: Send to McGee -> [iRMX:slave:(7) 7.525219] [pmm/INFO] LINE: step(2) <> Myline(1). Receive data from Laroche -> [iRMX:slave:(7) 7.525219] [pmm/INFO] ROW: step(2)=myrow(2). Broadcast my data. -> [iRMX:slave:(7) 7.525219] [pmm/INFO] ROW: Send to Geoff -> [Boivin:slave:(2) 7.598928] [pmm/INFO] >>>>>>>> Result sent to Jacquelin:4242 <<<<<<<< -> [Laroche:slave:(10) 7.599840] [pmm/INFO] ROW: Send to Gatien -> [McGee:slave:(8) 7.599840] [pmm/INFO] ROW: step(2)<>myrow(0). Receive data from Laroche -> [McGee:slave:(8) 7.670253] [pmm/INFO] >>>>>>>> Result sent to Jacquelin:4242 <<<<<<<< -> [Gatien:slave:(9) 7.705039] [pmm/INFO] ROW: step(2)<>myrow(1). Receive data from Laroche -> [Jean_Yves:slave:(3) 7.731006] [pmm/INFO] ROW: step(2)<>myrow(1). Receive data from TeX -> [iRMX:slave:(7) 7.765856] [pmm/INFO] ROW: Send to Disney -> [Geoff:slave:(5) 7.765856] [pmm/INFO] ROW: step(2)<>myrow(0). Receive data from iRMX -> [Laroche:slave:(10) 7.847761] [pmm/INFO] >>>>>>>> Result sent to Jacquelin:4242 <<<<<<<< -> [Gatien:slave:(9) 7.948776] [pmm/INFO] >>>>>>>> Result sent to Jacquelin:4242 <<<<<<<< -> [Disney:slave:(6) 8.019570] [pmm/INFO] ROW: step(2)<>myrow(1). Receive data from iRMX -> [TeX:slave:(4) 8.092445] [pmm/INFO] >>>>>>>> Result sent to Jacquelin:4242 <<<<<<<< -> [Jean_Yves:slave:(3) 8.165770] [pmm/INFO] >>>>>>>> Result sent to Jacquelin:4242 <<<<<<<< -> [Geoff:slave:(5) 8.166301] [pmm/INFO] >>>>>>>> Result sent to Jacquelin:4242 <<<<<<<< -> [iRMX:slave:(7) 8.407548] [pmm/INFO] >>>>>>>> Result sent to Jacquelin:4242 <<<<<<<< -> [Disney:slave:(6) 8.552085] [pmm/INFO] >>>>>>>> Result sent to Jacquelin:4242 <<<<<<<< -> [Jacquelin:master:(1) 8.552085] [pmm/INFO] The Result of Multiplication is : -> >>> Matrix C:res dump (18 x 18) -> 0.00 18.00 36.00 54.00 72.00 90.00 108.00 126.00 144.00 162.00 180.00 198.00 216.00 234.00 252.00 270.00 288.00 306.00 -> 1.00 19.00 37.00 55.00 73.00 91.00 109.00 127.00 145.00 163.00 181.00 199.00 217.00 235.00 253.00 271.00 289.00 307.00 -> 2.00 20.00 38.00 56.00 74.00 92.00 110.00 128.00 146.00 164.00 182.00 200.00 218.00 236.00 254.00 272.00 290.00 308.00 -> 3.00 21.00 39.00 57.00 75.00 93.00 111.00 129.00 147.00 165.00 183.00 201.00 219.00 237.00 255.00 273.00 291.00 309.00 -> 4.00 22.00 40.00 58.00 76.00 94.00 112.00 130.00 148.00 166.00 184.00 202.00 220.00 238.00 256.00 274.00 292.00 310.00 -> 5.00 23.00 41.00 59.00 77.00 95.00 113.00 131.00 149.00 167.00 185.00 203.00 221.00 239.00 257.00 275.00 293.00 311.00 -> 6.00 24.00 42.00 60.00 78.00 96.00 114.00 132.00 150.00 168.00 186.00 204.00 222.00 240.00 258.00 276.00 294.00 312.00 -> 7.00 25.00 43.00 61.00 79.00 97.00 115.00 133.00 151.00 169.00 187.00 205.00 223.00 241.00 259.00 277.00 295.00 313.00 -> 8.00 26.00 44.00 62.00 80.00 98.00 116.00 134.00 152.00 170.00 188.00 206.00 224.00 242.00 260.00 278.00 296.00 314.00 -> 9.00 27.00 45.00 63.00 81.00 99.00 117.00 135.00 153.00 171.00 189.00 207.00 225.00 243.00 261.00 279.00 297.00 315.00 -> 10.00 28.00 46.00 64.00 82.00 100.00 118.00 136.00 154.00 172.00 190.00 208.00 226.00 244.00 262.00 280.00 298.00 316.00 -> 11.00 29.00 47.00 65.00 83.00 101.00 119.00 137.00 155.00 173.00 191.00 209.00 227.00 245.00 263.00 281.00 299.00 317.00 -> 12.00 30.00 48.00 66.00 84.00 102.00 120.00 138.00 156.00 174.00 192.00 210.00 228.00 246.00 264.00 282.00 300.00 318.00 -> 13.00 31.00 49.00 67.00 85.00 103.00 121.00 139.00 157.00 175.00 193.00 211.00 229.00 247.00 265.00 283.00 301.00 319.00 -> 14.00 32.00 50.00 68.00 86.00 104.00 122.00 140.00 158.00 176.00 194.00 212.00 230.00 248.00 266.00 284.00 302.00 320.00 -> 15.00 33.00 51.00 69.00 87.00 105.00 123.00 141.00 159.00 177.00 195.00 213.00 231.00 249.00 267.00 285.00 303.00 321.00 -> 16.00 34.00 52.00 70.00 88.00 106.00 124.00 142.00 160.00 178.00 196.00 214.00 232.00 250.00 268.00 286.00 304.00 322.00 -> 17.00 35.00 53.00 71.00 89.00 107.00 125.00 143.00 161.00 179.00 197.00 215.00 233.00 251.00 269.00 287.00 305.00 323.00 -> <<< end_of_matrix C:res dump -> [Boivin:slave:(2) 8.632721] [gras/INFO] Exiting GRAS -> [Jean_Yves:slave:(3) 8.703842] [gras/INFO] Exiting GRAS -> [TeX:slave:(4) 8.843180] [gras/INFO] Exiting GRAS -> [Geoff:slave:(5) 8.843605] [gras/INFO] Exiting GRAS -> [Disney:slave:(6) 8.983785] [gras/INFO] Exiting GRAS -> [iRMX:slave:(7) 9.217747] [gras/INFO] Exiting GRAS -> [McGee:slave:(8) 9.286044] [gras/INFO] Exiting GRAS -> [Gatien:slave:(9) 9.384018] [gras/INFO] Exiting GRAS -> [Jacquelin:master:(1) 9.522437] [gras/INFO] Exiting GRAS -> [Laroche:slave:(10) 9.522437] [gras/INFO] Exiting GRAS +> [Gatien:slave:(9) 0.000000] [pmm/INFO] Sensor 7 starting +> [McGee:slave:(8) 0.000000] [pmm/INFO] Sensor 6 starting +> [iRMX:slave:(7) 0.000000] [pmm/INFO] Sensor 5 starting +> [Disney:slave:(6) 0.000000] [pmm/INFO] Sensor 4 starting +> [Geoff:slave:(5) 0.000000] [pmm/INFO] Sensor 3 starting +> [TeX:slave:(4) 0.000000] [pmm/INFO] Sensor 2 starting +> [Jean_Yves:slave:(3) 0.000000] [pmm/INFO] Sensor 1 starting +> [Boivin:slave:(2) 0.000000] [pmm/INFO] Sensor 0 starting +> [Jacquelin:master:(1) 2.879074] [pmm/INFO] Got only 1 pals. Wait 2 more seconds +> [Jacquelin:master:(1) 4.879074] [pmm/INFO] Got only 3 pals. Wait 2 more seconds +> [Jacquelin:master:(1) 8.034879] [pmm/INFO] Got only 4 pals. Wait 2 more seconds +> [Jacquelin:master:(1) 10.945925] [pmm/INFO] Got only 7 pals. Wait 2 more seconds +> [Jacquelin:master:(1) 12.945925] [pmm/INFO] Good. Got 9 pals +> [Jacquelin:master:(1) 12.947329] [pmm/INFO] XXXXXXXXXXXXXXXXXXXXXX begin Multiplication +> [Laroche:slave:(10) 15.395784] [pmm/INFO] Receive my pos (0,0) and assignment +> [iRMX:slave:(7) 16.396219] [gras_msg/INFO] No callback for message 'dataB' (type:ONEWAY) from Laroche:3000. Queue it for later gras_msg_wait() use. +> [Gatien:slave:(9) 16.421044] [pmm/INFO] Receive my pos (0,1) and assignment +> [McGee:slave:(8) 17.135686] [pmm/INFO] Receive my pos (0,2) and assignment +> [Disney:slave:(6) 17.504922] [gras_msg/INFO] No callback for message 'dataB' (type:ONEWAY) from Gatien:3000. Queue it for later gras_msg_wait() use. +> [Geoff:slave:(5) 17.844240] [gras_msg/INFO] No callback for message 'dataB' (type:ONEWAY) from McGee:3000. Queue it for later gras_msg_wait() use. +> [Boivin:slave:(2) 17.928262] [gras_msg/INFO] No callback for message 'dataB' (type:ONEWAY) from McGee:3000. Queue it for later gras_msg_wait() use. +> [TeX:slave:(4) 17.959150] [gras_msg/INFO] No callback for message 'dataB' (type:ONEWAY) from Laroche:3000. Queue it for later gras_msg_wait() use. +> [Jean_Yves:slave:(3) 19.252031] [gras_msg/INFO] No callback for message 'dataB' (type:ONEWAY) from Gatien:3000. Queue it for later gras_msg_wait() use. +> [iRMX:slave:(7) 19.844644] [pmm/INFO] Receive my pos (1,0) and assignment +> [Disney:slave:(6) 21.311603] [pmm/INFO] Receive my pos (1,1) and assignment +> [Geoff:slave:(5) 21.316148] [pmm/INFO] Receive my pos (1,2) and assignment +> [TeX:slave:(4) 22.774326] [pmm/INFO] Receive my pos (2,0) and assignment +> [Jean_Yves:slave:(3) 23.518499] [pmm/INFO] Receive my pos (2,1) and assignment +> [Boivin:slave:(2) 24.362265] [pmm/INFO] Receive my pos (2,2) and assignment +> [Jacquelin:master:(1) 43.579911] [pmm/INFO] XXXXXXXXXXXXXXXXXXXXXX Ok, the result matches expectations +> [Laroche:slave:(10) 45.019471] [gras/INFO] Exiting GRAS +> [Gatien:slave:(9) 46.038393] [gras/INFO] Exiting GRAS +> [McGee:slave:(8) 46.748684] [gras/INFO] Exiting GRAS +> [iRMX:slave:(7) 49.181895] [gras/INFO] Exiting GRAS +> [Disney:slave:(6) 50.639759] [gras/INFO] Exiting GRAS +> [Geoff:slave:(5) 50.644184] [gras/INFO] Exiting GRAS +> [TeX:slave:(4) 52.093295] [gras/INFO] Exiting GRAS +> [Jean_Yves:slave:(3) 52.832953] [gras/INFO] Exiting GRAS +> [Jacquelin:master:(1) 53.671569] [gras/INFO] Exiting GRAS +> [Boivin:slave:(2) 53.671569] [gras/INFO] Exiting GRAS