Skip to content

Commit 6130a2b

Browse files
fix status array for partitioned test cases
Signed-off-by: Axel Schneewind <[email protected]>
1 parent 2e27ed5 commit 6130a2b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

threaded/tst_threaded_ring_partitioned.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ int tst_threaded_ring_partitioned_init(struct tst_env *env)
6060
env->recv_buffer = (char *)tst_thread_get_global_buffer() + buffer_size;
6161

6262
env->req_buffer = tst_thread_get_global_request(0);
63+
env->status_buffer = MPI_STATUSES_IGNORE;
6364

6465
// master thread of master rank initializes array values
6566
if (comm_rank == TST_RANK_MASTER && thread_num == TST_THREAD_MASTER)

threaded/tst_threaded_ring_partitioned_many_to_one.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ int tst_threaded_ring_partitioned_many_to_one_init(struct tst_env *env)
6464
env->recv_buffer = (char *)tst_thread_get_global_buffer() + buffer_size;
6565

6666
env->req_buffer = tst_thread_get_global_request(0);
67+
env->status_buffer = MPI_STATUSES_IGNORE;
6768

6869
// master thread of master rank initializes array values
6970
if (comm_rank == TST_RANK_MASTER && thread_num == TST_THREAD_MASTER)

0 commit comments

Comments
 (0)