1 /* Copyright (c) 2009-2010, 2012-2014. The SimGrid Team.
2 * All rights reserved. */
4 /* This program is free software; you can redistribute it and/or modify it
5 * under the terms of the license (GNU LGPL) which comes with this package. */
10 int main(int argc, char *argv[])
14 MPI_Init(&argc, &argv);
15 n = argc > 1 ? atoi(argv[1]) : 0;
17 for (i = 0; i < n; i++) {
24 printf("%d %f\n", i, d);
25 MPI_Comm_rank(MPI_COMM_WORLD, &i);