Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
reduce amount of output, and update the tesh files
[simgrid.git] / examples / gras / pmm / test_rl
index c1ccf29..1bdd34e 100755 (executable)
 ! 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