diff --git a/notebooks/matrix_matrix.ipynb b/notebooks/matrix_matrix.ipynb index 1cc299c..1685c7d 100644 --- a/notebooks/matrix_matrix.ipynb +++ b/notebooks/matrix_matrix.ipynb @@ -712,7 +712,7 @@ " iw += 1\n", " w = workers()[iw]\n", " ftr = @spawnat w begin\n", - " Ci = fill(z,l)\n", + " Ci = fill(z,n)\n", " for j in 1:n\n", " for k in 1:l\n", " @inbounds Ci[j] += Ai[k]*B[k,j]\n", diff --git a/notebooks/mpi_tutorial.ipynb b/notebooks/mpi_tutorial.ipynb index 3ad3811..30fdc73 100644 --- a/notebooks/mpi_tutorial.ipynb +++ b/notebooks/mpi_tutorial.ipynb @@ -629,7 +629,7 @@ "MPI also provides point-to-point communication directives for arbitrary communication between processes. Point-to-point communications are two-sided: there is a sender and a receiver. Here, we will discuss these basic directives:\n", "\n", "- `MPI.Isend`, and `MPI.Irecv!` (*non-blocking directives*)\n", - "- `MPI.Send`, and `MPI.Recv` (*blocking directives*)\n", + "- `MPI.Send`, and `MPI.Recv!` (*blocking directives*)\n", "\n", "\n", "Non-blocking directives return immediately and return an `MPI.Request` object. This request object can be queried with functions like `MPI.Wait`. It is mandatory to wait on the request object before reading the receive buffer, or before writing again on the send buffer.\n",