Skip to content

Commit ab36714

Browse files
committed
Implemented per thread MPI communicators.
New communicators are now registered in tst_comm.c via tst_comm_register().
1 parent 001fa72 commit ab36714

File tree

3 files changed

+414
-399
lines changed

3 files changed

+414
-399
lines changed

mpi_test_suite.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ int main (int argc, char * argv[])
261261
tst_global_rank, tst_tag_ub);
262262

263263
/* XXX CN Maybe rename these functions to tst_get_num_comms/types/tests ? */
264-
tst_comm_init(&num_comms);
264+
tst_comms_init(&num_comms);
265265
tst_type_init(&num_types);
266266
tst_test_init(&num_tests);
267267

mpi_test_suite.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ struct tst_thread_env_t; /* Just a forward declaration */
393393
/** EXPORTED FUNCTIONS **/
394394
/** **/
395395
/****************************************************************************/
396-
extern int tst_comm_init (int * num_comms);
396+
extern int tst_comms_init (int * num_comms);
397397
extern int tst_comm_cleanup (void);
398398
extern MPI_Comm tst_comm_getcomm (int comm);
399399
extern int tst_comm_getcommclass (int comm);

0 commit comments

Comments
 (0)