Nathalie Furmento лет назад: 14
Родитель
Сommit
104d425ea2

+ 1 - 1
mpi/tests/insert_task.c

@@ -43,7 +43,7 @@ int my_distrib(int x, int y, int nb_nodes) {
 
 int main(int argc, char **argv)
 {
-        int rank, size, x, y, loop;
+        int rank, size, x, y;
         int value=0;
         unsigned matrix[X][Y];
         starpu_data_handle data_handles[X][Y];

+ 1 - 1
mpi/tests/insert_task_block.c

@@ -56,7 +56,7 @@ int my_distrib(int x, int y, int nb_nodes) {
 
 int main(int argc, char **argv)
 {
-        int rank, size, x, y, loop;
+        int rank, size, x, y;
         int value=0;
         unsigned matrix[SIZE*SIZE];
         starpu_data_handle data_handles[SIZE][SIZE];

+ 1 - 1
mpi/tests/insert_task_cache.c

@@ -43,7 +43,7 @@ int my_distrib(int x, int y, int nb_nodes) {
 
 int main(int argc, char **argv)
 {
-        int rank, size, x, y, loop;
+        int rank, size, x, y;
         int value=0;
         unsigned matrix[X][Y];
         starpu_data_handle data_handles[X][Y];

+ 1 - 2
mpi/tests/mpi_irecv_detached.c

@@ -1,7 +1,7 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
  * Copyright (C) 2010  Université de Bordeaux 1
- * Copyright (C) 2010  Centre National de la Recherche Scientifique
+ * Copyright (C) 2010, 2011  Centre National de la Recherche Scientifique
  *
  * StarPU is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as published by
@@ -75,7 +75,6 @@ int main(int argc, char **argv)
 			starpu_mpi_send(tab_handle, other_rank, loop, MPI_COMM_WORLD);
 		}
 		else {
-			MPI_Status status;
 			int received = 0;
 			starpu_mpi_irecv_detached(tab_handle, other_rank, loop, MPI_COMM_WORLD, callback, &received);
 

+ 1 - 3
mpi/tests/mpi_isend_detached.c

@@ -1,7 +1,7 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
  * Copyright (C) 2010  Université de Bordeaux 1
- * Copyright (C) 2010  Centre National de la Recherche Scientifique
+ * Copyright (C) 2010, 2011  Centre National de la Recherche Scientifique
  *
  * StarPU is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as published by
@@ -72,8 +72,6 @@ int main(int argc, char **argv)
 	{
 		if (rank == 0)
 		{
-			MPI_Status status;
-
 			int sent = 0;
 			starpu_mpi_isend_detached(tab_handle, other_rank, loop, MPI_COMM_WORLD, callback, &sent);