getting out of the insurance business :-)
This commit is contained in:
@ -119,7 +119,7 @@ void Irregular::pattern(int n, int *proclist)
|
||||
for (int i = 0; i < nrecv; i++)
|
||||
MPI_Irecv(&recvcount[i],1,MPI_INT,MPI_ANY_SOURCE,0,comm,&request[i]);
|
||||
|
||||
// barrier to insure receives are posted
|
||||
// barrier to ensure receives are posted
|
||||
|
||||
MPI_Barrier(comm);
|
||||
|
||||
@ -128,7 +128,7 @@ void Irregular::pattern(int n, int *proclist)
|
||||
for (int i = 0; i < nsend; i++)
|
||||
MPI_Send(&sendcount[i],1,MPI_INT,sendproc[i],0,comm);
|
||||
|
||||
// insure all MPI_ANY_SOURCE messages are received
|
||||
// ensure all MPI_ANY_SOURCE messages are received
|
||||
// set recvproc
|
||||
|
||||
if (nrecv) MPI_Waitall(nrecv,request,status);
|
||||
@ -270,7 +270,7 @@ void Irregular::exchange_same(char *sendbuf, char *recvbuf)
|
||||
|
||||
char *buf = (char *) memory->smalloc(nsendmax,"buf");
|
||||
|
||||
// barrier to insure receives are posted
|
||||
// barrier to ensure receives are posted
|
||||
|
||||
MPI_Barrier(comm);
|
||||
|
||||
@ -325,7 +325,7 @@ void Irregular::exchange_varying(char *sendbuf, char *recvbuf)
|
||||
|
||||
char *buf = (char *) memory->smalloc(nsendmax,"buf");
|
||||
|
||||
// barrier to insure receives are posted
|
||||
// barrier to ensure receives are posted
|
||||
|
||||
MPI_Barrier(comm);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user