Skip to content

Commit 8cdb8cc

Browse files
cniethammerhppritcha
authored andcommitted
Fix MPI function names in error output
Signed-off-by: Christoph Niethammer <niethammer@hlrs.de>
1 parent 2afdaca commit 8cdb8cc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ompi/communicator/comm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1618,7 +1618,7 @@ int ompi_comm_create_from_group (ompi_group_t *group, const char *tag, opal_info
16181618

16191619
/*
16201620
* setup predefined keyvals - see MPI Standard for predefined keyvals cached on
1621-
* communicators created via MPI_Comm_from_group or MPI_Intercomm_create_from_groups
1621+
* communicators created via MPI_Comm_create_from_group or MPI_Intercomm_create_from_groups
16221622
*/
16231623
ompi_attr_hash_init(&newcomp->c_keyhash);
16241624
ompi_attr_set_int(COMM_ATTR,

ompi/communicator/comm_cid.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ static int ompi_comm_ext_cid_new_block (ompi_communicator_t *newcomm, ompi_commu
367367
opal_show_help("help-comm.txt",
368368
"MPI function not supported",
369369
true,
370-
"MPI_Comm_from_group/MPI_Intercomm_from_groups",
370+
"MPI_Comm_create_from_group/MPI_Intercomm_create_from_groups",
371371
msg_string);
372372
ret = MPI_ERR_UNSUPPORTED_OPERATION;
373373
break;
@@ -490,7 +490,7 @@ int ompi_comm_nextcid_nb (ompi_communicator_t *newcomm, ompi_communicator_t *com
490490

491491
/* old CID algorighm */
492492

493-
/* if we got here and comm is NULL then that means the app is invoking MPI-4 Sessions or later
493+
/* if we got here and comm is NULL then that means the app is invoking MPI-4 Sessions or later
494494
functions but the pml does not support these functions so return not supported */
495495
if (NULL == comm) {
496496
char msg_string[1024];
@@ -499,7 +499,7 @@ int ompi_comm_nextcid_nb (ompi_communicator_t *newcomm, ompi_communicator_t *com
499499
opal_show_help("help-comm.txt",
500500
"MPI function not supported",
501501
true,
502-
"MPI_Comm_from_group/MPI_Intercomm_from_groups",
502+
"MPI_Comm_create_from_group/MPI_Intercomm_create_from_groups",
503503
msg_string);
504504

505505
return MPI_ERR_UNSUPPORTED_OPERATION;

0 commit comments

Comments
 (0)