Skip to content

Commit bafc77f

Browse files
committed
logging: fix typos
Signed-off-by: Torbjörn Klatt <[email protected]>
1 parent e204da5 commit bafc77f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/pfasst/encap/vector_impl.hpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -189,15 +189,15 @@ namespace pfasst
189189
if (mpi.rank() == 0) { return; }
190190

191191
if (this->recv_request != MPI_REQUEST_NULL) {
192-
throw MPIError("a previous recieve request is still open");
192+
throw MPIError("a previous receive request is still open");
193193
}
194194

195195
int src = (mpi.rank() - 1) % mpi.size();
196-
CLOG(DEBUG, "Encap") << "non-blocking recieving from rank " << src << " with tag=" << tag;
196+
CLOG(DEBUG, "Encap") << "non-blocking receiving from rank " << src << " with tag=" << tag;
197197
int err = MPI_Irecv(this->data(), sizeof(scalar) * this->size(), MPI_CHAR,
198198
src, tag, mpi.comm, &this->recv_request);
199199
check_mpi_error(err);
200-
CLOG(DEBUG, "Encap") << "non-blocking recieved from rank " << src << " with tag=" << tag;
200+
CLOG(DEBUG, "Encap") << "non-blocking received from rank " << src << " with tag=" << tag;
201201
}
202202

203203
template<typename scalar, typename time>
@@ -212,17 +212,17 @@ namespace pfasst
212212

213213
if (blocking) {
214214
int src = (mpi.rank() - 1) % mpi.size();
215-
CLOG(DEBUG, "Encap") << "blocking recieve from rank " << src << " with tag=" << tag;
215+
CLOG(DEBUG, "Encap") << "blocking receive from rank " << src << " with tag=" << tag;
216216
err = MPI_Recv(this->data(), sizeof(scalar) * this->size(), MPI_CHAR,
217217
src, tag, mpi.comm, &stat);
218218
check_mpi_error(err);
219-
CLOG(DEBUG, "Encap") << "recieved blocking from rank " << src << " with tag=" << tag << ": " << stat;
219+
CLOG(DEBUG, "Encap") << "received blocking from rank " << src << " with tag=" << tag << ": " << stat;
220220
} else {
221221
if (this->recv_request != MPI_REQUEST_NULL) {
222-
CLOG(DEBUG, "Encap") << "waiting on last recieve request";
222+
CLOG(DEBUG, "Encap") << "waiting on last receive request";
223223
err = MPI_Wait(&(this->recv_request), &stat);
224224
check_mpi_error(err);
225-
CLOG(DEBUG, "Encap") << "waited on last recieve request: " << stat;
225+
CLOG(DEBUG, "Encap") << "waited on last receive request: " << stat;
226226
}
227227
}
228228
}

0 commit comments

Comments
 (0)