Biomedical Engineering Reference
In-Depth Information
Figure 13. One iteration for RED elements in the parallel RED-BLACK SORmethod. One
iteration for BLACK elements differs only in the Boolean condition of the if command,
which has the form ( i + j + k )%2 == 1 .
of course in blue we can see the running of the program in updating the values
of u [ i ][ j ][ k ], either for all RED elements or for all BLACK elements by every
process. Figure 19 gives insight into the MPI data transmission process. The time
spent in MPI Isend is shown in violet, MPI Irecv in gray, and we can see again
MPI Wait in red, which controls so that the desired data are completely transfered
from one process to another.
 
Search WWH ::




Custom Search