Skip to content

Commit 64805e5

Browse files
[test_parrived1.c] Initialized request variable
Signed-off-by: Brelle Emmanuel <[email protected]>
1 parent 52d503c commit 64805e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

partitioned-communication/test_parrived1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ int main(int argc, char *argv[]) {
2828

2929
for (i = 0; i < PARTITIONS * COUNT; ++i) message[i] = 0;
3030

31-
MPI_Request request;
31+
MPI_Request request = MPI_REQUEST_NULL;
3232
MPI_Init_thread(&argc, &argv, MPI_THREAD_SERIALIZED, &provided);
3333
if (provided < MPI_THREAD_SERIALIZED) MPI_Abort(MPI_COMM_WORLD , EXIT_FAILURE); MPI_Comm_rank(MPI_COMM_WORLD , &myrank);
3434

0 commit comments

Comments
 (0)