Skip to content

Commit

Permalink
rephrase for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Apr 5, 2019
1 parent fe72532 commit db941b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/clib/pio_msg.c
Original file line number Diff line number Diff line change
Expand Up @@ -2521,7 +2521,7 @@ int pio_msg_handler2(int io_rank, int component_count, iosystem_desc_t **iosys,
{
my_iosys = iosys[cmp];
LOG((1, "about to call MPI_Irecv union_comm = %d", my_iosys->union_comm));
if ((mpierr = MPI_Irecv(messages+cmp, 1, MPI_INT, my_iosys->comproot, MPI_ANY_TAG,
if ((mpierr = MPI_Irecv(&(messages[cmp]), 1, MPI_INT, my_iosys->comproot, MPI_ANY_TAG,
my_iosys->union_comm, &req[cmp])))
return check_mpi(NULL, mpierr, __FILE__, __LINE__);
LOG((1, "MPI_Irecv req[%d] = %d", cmp, req[cmp]));
Expand Down Expand Up @@ -2732,7 +2732,7 @@ int pio_msg_handler2(int io_rank, int component_count, iosystem_desc_t **iosys,
my_iosys = iosys[index];
LOG((3, "pio_msg_handler2 about to Irecv index = %d comproot = %d union_comm = %d",
index, my_iosys->comproot, my_iosys->union_comm));
if ((mpierr = MPI_Irecv(messages+index, 1, MPI_INT, my_iosys->comproot, MPI_ANY_TAG, my_iosys->union_comm,
if ((mpierr = MPI_Irecv(&(messages[index]), 1, MPI_INT, my_iosys->comproot, MPI_ANY_TAG, my_iosys->union_comm,
&req[index])))
return check_mpi(NULL, mpierr, __FILE__, __LINE__);
LOG((3, "pio_msg_handler2 called MPI_Irecv req[%d] = %d", index, req[index]));
Expand Down

0 comments on commit db941b1

Please sign in to comment.