MATLAB PARALLEL COMPUTING TOOLBOX - S User's Guide Page 131

  • Download
  • Add to my manuals
  • Print
  • Page
    / 656
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 130
Working with Codistributed Arrays
5-17
Now you can use this codistributor object to distribute the original matrix:
P>> AA = codistributed(A, DIST)
This distributes the array among the workers according to this scheme:
1 9 17 25 33 41 49 57
2 10 18 26 34 42 50 58
3 11 19 27 35 43 51 59
4 12 20 28 36 44 52 60
5 13 21 29 37 45 53 61
6 14 22 30 38 46 54 62
7 15 23 31 39 47 55 63
8 16 24 32 40 48 56 64
LAB 1
LAB 3
LAB 2
LAB 4
If the lab grid does not perfectly overlay the dimensions of the codistributed array, you
can still use '2dbc' distribution, which is block cyclic. In this case, you can imagine
the lab grid being repeatedly overlaid in both dimensions until all the original matrix
elements are included.
Using the same original 8-by-8 matrix and 2-by-2 lab grid, consider a block size of 3
instead of 4, so that 3-by-3 square blocks are distributed among the workers. The code
looks like this:
P>> DIST = codistributor2dbc([2 2], 3)
P>> AA = codistributed(A, DIST)
The first “row” of the lab grid is distributed to worker 1 and worker 2, but that contains
only six of the eight columns of the original matrix. Therefore, the next two columns are
distributed to worker 1. This process continues until all columns in the first rows are
distributed. Then a similar process applies to the rows as you proceed down the matrix,
as shown in the following distribution scheme:
Page view 130
1 2 ... 126 127 128 129 130 131 132 133 134 135 136 ... 655 656

Comments to this Manuals

No comments

Tycon-power TPW-400DT 12/24V 400W Turbine Handbücher

Bedienungsanleitungen und Benutzerhandbücher für Stromversorger Tycon-power TPW-400DT 12/24V 400W Turbine.
Wir stellen 1 PDF-Handbücher Tycon-power TPW-400DT 12/24V 400W Turbine zum kostenlosen herunterladen nach Dokumenttypen zur Verfügung Bedienungsanleitung






Weitere Produkte und Handbücher für Stromversorger Tycon-power

Modelle Dokumententyp
TP-SWxxNC-OUT Bedienungsanleitung   Tycon Power TP-SWxxNC-OUT User Manual, 4 Seiten
TP-SW5G(-NC) Bedienungsanleitung   Tycon Power TP-SW5G(-NC) User Manual, 15 Seiten
TP-SSW5(-NC) Bedienungsanleitung   Tycon Power TP-SSW5(-NC) User Manual, 10 Seiten
TP-SW8(-NC) Bedienungsanleitung   Tycon Power TP-SW8(-NC) User Manual, 11 Seiten
TP-MS4x4 Bedienungsanleitung   Tycon Power TP-MS4x4 User Manual, 6 Seiten
TP-MS608/616 Bedienungsanleitung   Tycon Power TP-MS608/616 User Manual, 31 Seiten
TP-MS324 Bedienungsanleitung   Tycon Power TP-MS324 User Manual, 31 Seiten
TP-PP120-INV Bedienungsanleitung   Tycon Power TP-PP120-INV User Manual, 2 Seiten
TPDIN-Monitor-WEB Bedienungsanleitung   Tycon Power TPDIN-Monitor-WEB User Manual, 8 Seiten
BATTMETER Bedienungsanleitung   Tycon Power BATTMETER User Manual, 4 Seiten
TP2700WC Bedienungsanleitung   Tycon Power TP2700WC User Manual, 31 Seiten
TP-BC12-300 Bedienungsanleitung   Tycon Power TP-BC12-300 User Manual, 6 Seiten
TP-BC24-300 Bedienungsanleitung   Tycon Power TP-BC24-300 User Manual, 6 Seiten
TP-BC48-300 Bedienungsanleitung   Tycon Power TP-BC48-300 User Manual, 6 Seiten
ENC-ST-23X14X12 Bedienungsanleitung   Tycon Power ENC-ST-23X14X12 User Manual, 1 Seiten
RPST-PowerVent Bedienungsanleitung   Tycon Power RPST-PowerVent User Manual, 4 Seiten
RPDC12-9-10 Bedienungsanleitung   Tycon Power RPDC12-9-10 User Manual, 4 Seiten
RPST2424-100-280 Bedienungsanleitung   Tycon Power RPST2424-100-280 User Manual, 12 Seiten
RPPL2424-18-30 Bedienungsanleitung   Tycon Power RPPL2424-18-30 User Manual, 8 Seiten