Skip to content

Commit

Permalink
Merge pull request #1686 from DARMA-tasking/1533-typo
Browse files Browse the repository at this point in the history
1533: Fix typo in MPI access guard error message
  • Loading branch information
PhilMiller authored Mar 15, 2022
2 parents e1873b4 + cd8863f commit 6316827
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/vt/pmpi/generate_mpi_wrappers.pl
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ sub emit_guard {
vtAbortIf (
not vt::runtime::ScopedMPIAccess::mpiCallsAllowed(),
"The MPI function '$name' was called from a VT handler."
" MPI functions should not used inside user code invoked from VT handlers."
" MPI functions should not be used inside user code invoked from VT handlers."
);
MPI_GUARD
}
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/runtime/test_mpi_access_guards.cc
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ static void attempt_mpi_access() {
static void message_handler(DummyMsg* msg) {
if (expected_to_fail_on_mpi_access) {
ASSERT_THROW(attempt_mpi_access(), std::runtime_error) <<
"MPI functions should not used inside user code invoked from VT handlers";
"MPI functions should not be used inside user code invoked from VT handlers";
} else {
attempt_mpi_access();
SUCCEED();
Expand Down

0 comments on commit 6316827

Please sign in to comment.