Skip to content

Commit

Permalink
Merge pull request #11505 from cniethammer/fix-mpi-functionnames-in-e…
Browse files Browse the repository at this point in the history
…rror-output

Fix MPI function names in error output
  • Loading branch information
hppritcha committed Jan 31, 2024
2 parents 3c10787 + 8cdb8cc commit e53e700
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ompi/communicator/comm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1618,7 +1618,7 @@ int ompi_comm_create_from_group (ompi_group_t *group, const char *tag, opal_info

/*
* setup predefined keyvals - see MPI Standard for predefined keyvals cached on
* communicators created via MPI_Comm_from_group or MPI_Intercomm_create_from_groups
* communicators created via MPI_Comm_create_from_group or MPI_Intercomm_create_from_groups
*/
ompi_attr_hash_init(&newcomp->c_keyhash);
ompi_attr_set_int(COMM_ATTR,
Expand Down
6 changes: 3 additions & 3 deletions ompi/communicator/comm_cid.c
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ static int ompi_comm_ext_cid_new_block (ompi_communicator_t *newcomm, ompi_commu
opal_show_help("help-comm.txt",
"MPI function not supported",
true,
"MPI_Comm_from_group/MPI_Intercomm_from_groups",
"MPI_Comm_create_from_group/MPI_Intercomm_create_from_groups",
msg_string);
ret = MPI_ERR_UNSUPPORTED_OPERATION;
break;
Expand Down Expand Up @@ -490,7 +490,7 @@ int ompi_comm_nextcid_nb (ompi_communicator_t *newcomm, ompi_communicator_t *com

/* old CID algorighm */

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

return MPI_ERR_UNSUPPORTED_OPERATION;
Expand Down

0 comments on commit e53e700

Please sign in to comment.