8{
12
13
14 if (!Wait)
15 {
17 if (!i)
18 {
19
20
21
22#ifndef MpiBuffGood
23
24
25
26
28 {
29 if (bp->
Aops[-bp->
N-1] == MPI_REQUEST_NULL)
30 {
31 info=MPI_Get_count(&
BI_Stats[(-bp->
N-1)*
sizeof(MPI_Status)],MPI_PACKED, &i);
32 if (i != MPI_UNDEFINED) bp->
N = i;
34 "MPI_Get_count returned MPI_UNDEFINED.\n");
35 }
36 }
37#endif
38 return(0);
39 }
40 }
41 else
42 {
44 }
45
47
48
49
50#ifndef MpiBuffGood
51
52
53
54
56 {
57 info=MPI_Get_count(&
BI_Stats[(-bp->
N-1)*
sizeof(MPI_Status)],MPI_PACKED, &i);
58 if (i != MPI_UNDEFINED) bp->
N = i;
60 "MPI_Get_count returned MPI_UNDEFINED.\n");
61 }
62#endif
63 return(1);
64}
void BI_BlacsWarn(Int ConTxt, Int line, char *file, char *form,...)