Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

void Impala::Core::Array::Pattern::PxInitCommunication (  )  [inline]

Definition at line 237 of file PxDistribution.h.

References INIT_TAG, PxMyDownCPU(), and PxMyUpCPU().

00238 {
00239     char        dummy;
00240     MPI_Status  stat;
00241 
00242     /*** Send up and receive down ***/
00243 
00244     if (PxMyUpCPU() != -1) {
00245         MPI_Send(&dummy, 1, MPI_BYTE,
00246                         PxMyUpCPU(), INIT_TAG, MPI_COMM_WORLD);
00247     }
00248     if (PxMyDownCPU() != -1) {
00249         MPI_Recv(&dummy, 1, MPI_BYTE,
00250                         PxMyDownCPU(), INIT_TAG, MPI_COMM_WORLD, &stat);
00251 
00252     /*** Send down and receive up ***/
00253 
00254         MPI_Send(&dummy, 1, MPI_BYTE,
00255                         PxMyDownCPU(), INIT_TAG, MPI_COMM_WORLD);
00256     }
00257     if (PxMyUpCPU() != -1) {
00258         MPI_Recv(&dummy, 1, MPI_BYTE,
00259                         PxMyUpCPU(), INIT_TAG, MPI_COMM_WORLD, &stat);
00260     }
00261 }

Here is the call graph for this function:


Generated on Fri Mar 19 11:02:35 2010 for ImpalaSrc by  doxygen 1.5.1