Skip to content

Commit

Permalink
fix status array for partitioned test cases
Browse files Browse the repository at this point in the history
Signed-off-by: Axel Schneewind <[email protected]>
  • Loading branch information
AxelSchneewind committed Sep 13, 2023
1 parent 2e27ed5 commit 6130a2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions threaded/tst_threaded_ring_partitioned.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ int tst_threaded_ring_partitioned_init(struct tst_env *env)
env->recv_buffer = (char *)tst_thread_get_global_buffer() + buffer_size;

env->req_buffer = tst_thread_get_global_request(0);
env->status_buffer = MPI_STATUSES_IGNORE;

// master thread of master rank initializes array values
if (comm_rank == TST_RANK_MASTER && thread_num == TST_THREAD_MASTER)
Expand Down
1 change: 1 addition & 0 deletions threaded/tst_threaded_ring_partitioned_many_to_one.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ int tst_threaded_ring_partitioned_many_to_one_init(struct tst_env *env)
env->recv_buffer = (char *)tst_thread_get_global_buffer() + buffer_size;

env->req_buffer = tst_thread_get_global_request(0);
env->status_buffer = MPI_STATUSES_IGNORE;

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

0 comments on commit 6130a2b

Please sign in to comment.