Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add an example for Comm::test_any (mimic that from umpire
[simgrid.git] / examples / cpp / comm-testany / s4u-comm-testany.tesh
1 #!/usr/bin/env tesh
2
3 $ ${bindir:=.}/s4u-comm-testany ${platfdir}/small_platform.xml "--log=root.fmt:[%10.6r]%e[%8h]%e[%a]%e%m%n"
4 > [  0.000000] [Tremblay] [rank-0] Post my asynchronous receives
5 > [  0.000000] [Tremblay] [rank-0] Send some data to rank-1
6 > [  0.025708] [  Fafard] [rank-1] Received 0
7 > [  0.025708] [  Fafard] [rank-1] Send 'Message 0'
8 > [  0.209813] [  Fafard] [rank-1] Received 1
9 > [  0.209813] [  Fafard] [rank-1] Send 'Message 1'
10 > [  0.393918] [Tremblay] [rank-0] Test for completed comms
11 > [  0.393918] [  Fafard] [rank-1] Received 2
12 > [  0.393918] [  Fafard] [rank-1] Send 'Message 2'
13 > [  0.393918] [Tremblay] [rank-0] Remove a pending comm.
14 > [  0.393918] [Tremblay] [rank-0] Remove a pending comm.
15 > [  0.593918] [Tremblay] [rank-0] Remove a pending comm.
16 > [  0.593918] [Tremblay] [rank-0] Last comm is complete