-/* Copyright (c) 2009-2020. 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
MPI_Comm_size(MPI_COMM_WORLD, &size);
//Let's Allocate a memory buffer
uint64_t* buf = calloc(1, sizeof(uint64_t));
+
+ MPI_Barrier(MPI_COMM_WORLD);
//one writes data in it
if(rank==0){
*buf=size;