Skip to content

Commit

Permalink
fixed warning
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Mar 10, 2019
1 parent 0802b58 commit fcc89c4
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/cunit/test_async_mpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,18 +159,17 @@ int msg_handler(int verbose, int my_rank, int io_rank, int component_count,
{
if (verbose)
{
printf("my_rank %d about to call MPI_Waitany req[0] = %lld "
"MPI_REQUEST_NULL = %d\n", my_rank, (long long int)(req[0]),
MPI_REQUEST_NULL);
printf("my_rank %d about to call MPI_Waitany req[0] = %lld\n"
my_rank, (long long int)(req[0]));
for (int c = 0; c < component_count; c++)
printf("my_rank %d req[%d] = %lld\n", my_rank, c,
(long long int)(req[c]));
}
if ((mpierr = MPI_Waitany(component_count, req, &index, &status)))
MPIERR(mpierr);
if (verbose)
printf("my_rank %d Waitany returned index = %d req[%d] = %d\n",
my_rank, index, index, (int)req[index]);
printf("my_rank %d Waitany returned index = %d req[%d] = %lld\n",
my_rank, index, index, (long long int)req[index]);
}

/* Broadcast the index and msg value to the rest of the IO tasks. */
Expand Down

0 comments on commit fcc89c4

Please sign in to comment.