-/* Copyright (c) 2009-2010, 2012-2015. The SimGrid Team.
+/* Copyright (c) 2009-2023. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
#include <stdio.h>
#include "mpi.h"
#include "simgrid/instr.h"
+#include <unistd.h>
#define DATATOSENT 100000
MPI_Init(&argc, &argv);
MPI_Comm_size(MPI_COMM_WORLD, &numprocs);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
-
+ sleep(rank);
/** Tests:
* A: 0(isend -> wait) with 1(recv)
* B: 0(send) with 1(irecv -> wait)