Przeglądaj źródła

mpi/tests/mpi_redux.c: use MPI_STATUS_IGNORE instead of NULL to indicate to MPI_Wait to ignore the status

Nathalie Furmento 11 lat temu
rodzic
commit
05379546cf
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      mpi/tests/mpi_redux.c

+ 1 - 1
mpi/tests/mpi_redux.c

@@ -89,7 +89,7 @@ int main(int argc, char **argv)
 		starpu_data_unregister_submit(handles[0]);
 
 		starpu_variable_data_register(&handles[0], STARPU_MAIN_RAM, (uintptr_t)&value, sizeof(int));
-		starpu_mpi_recv(handles[0], 0, 12+rank, MPI_COMM_WORLD, NULL);
+		starpu_mpi_recv(handles[0], 0, 12+rank, MPI_COMM_WORLD, MPI_STATUS_IGNORE);
 		starpu_data_unregister(handles[0]);
 	}