MPI_Request Req = MPI_REQUEST_NULL;
double a;
MPI_Isend
(
&a,
1,
MPI_DOUBLE,
MPI_PROC_NULL,
1,
MPI_COMM_WORLD,
&Req
);
MPI_Status StatusSend;
MPI_Wait( &Req, &StatusSend );
This code sets StatusSend.MPI_ERROR to -858993460 and MPI_Error_string
(called with this error code) returns "m * nprocs is < array_size and is not
valid for a block(m) distribution".
What's wrong?
|