Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix a typo in a warning message #1116

Merged
merged 1 commit into from
Jul 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/t8_data/t8_shmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ t8_shmem_set_type (sc_MPI_Comm comm, sc_shmem_type_t type)
sc_mpi_comm_get_node_comms (comm, &intranode, &internode);
#if T8_ENABLE_MPI
if (intranode == sc_MPI_COMM_NULL || internode == sc_MPI_COMM_NULL) {
t8_global_errorf ("WARNING: Trying to used shared memory but intranode and internode communicators are not set. "
t8_global_errorf ("WARNING: Trying to use shared memory but intranode and internode communicators are not set. "
"You should call t8_shmem_init before setting the shmem type.\n");
}
#endif
Expand All @@ -123,7 +123,7 @@ t8_shmem_array_init (t8_shmem_array_t *parray, size_t elem_size, size_t elem_cou
sc_mpi_comm_get_node_comms (comm, &intranode, &internode);
#if T8_ENABLE_MPI
if (intranode == sc_MPI_COMM_NULL || internode == sc_MPI_COMM_NULL) {
t8_global_errorf ("WARNING: Trying to used shared memory but intranode and internode communicators are not set."
t8_global_errorf ("WARNING: Trying to use shared memory but intranode and internode communicators are not set."
" You should call t8_shmem_init before initializing a shared memory array.\n");
}
#endif
Expand Down