Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of https://framagit.org/simgrid/simgrid
[simgrid.git] / teshsuite / smpi / isp / umpire / change-send-buffer.c
index 5a85ace09bf8eadc381494b3130a5b51d5fd0cb1..e3c9d3ea3f2c5e8c2ec1136f1b6e43d36f824ec9 100644 (file)
@@ -18,7 +18,7 @@ main (int argc, char **argv)
   int rank = -1;
   int tag1 = 0;
   int tag2 = 0;
-  int comm = MPI_COMM_WORLD;
+  MPI_Comm comm = MPI_COMM_WORLD;
   char processor_name[128];
   int namelen = 128;
   int buf0[128];
@@ -34,7 +34,6 @@ main (int argc, char **argv)
   MPI_Get_processor_name (processor_name, &namelen);
   printf ("(%d) is alive on %s\n", rank, processor_name);
   fflush (stdout);
-int j, k;
   for (i = 0; i < 128; i++)
     {
       buf0[i] = i;