Changes between Version 12 and Version 13 of AlternateDistributionAlgorithms
- Timestamp:
- 07/10/13 10:54:44 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AlternateDistributionAlgorithms
v12 v13 3 3 This page is summarizes the communication and distribution methods used by other codes. 4 4 5 * [[latex( \(l\))]] is a specific level.6 * [[latex( \(g(l)\))]] is the number of grids on level [[latex(\(l\))]].7 * [[latex( \(p\))]] is the number of processors.5 * [[latex($\(l\)$)]] is a specific level. 6 * [[latex($\(g(l)\)$)]] is the number of grids on level [[latex($\(l\)$)]]. 7 * [[latex($\(p\)$)]] is the number of processors. 8 8 9 9 === CASTRO === … … 11 11 Although CASTRO can run both on pure MPI and an OpenMP-MPI hybrid, this discussion will concern itself with pure MPI. 12 12 13 * At least one grid on each level is distributed to each core, meaning that [[latex( \(\frac{g(l)}{l} >= 1\))]].13 * At least one grid on each level is distributed to each core, meaning that [[latex($\(\frac{g(l)}{l} >= 1\)$)]]. 14 14 15 15 * Each level has an associated !MultiFab object, holding the data from all the grids on that level. … … 20 20 * Crutchfield's Knapsack algorithm, (see Crutchfield '91, Rendleman '00). 21 21 * Morton-ordering space-filling curve. 22 * Dynamic switching between methods, based on [[latex( \(g\))]] and [[latex(\(p\))]].22 * Dynamic switching between methods, based on [[latex($\(g\)$)]] and [[latex($\(p\)$)]]. 23 23 24 24 [[BR]] … … 27 27 * Grid hierarchies are replicated on each processor. 28 28 29 * Root grid is split into [[latex( \(N_{patches} >= p\))]] and refined grids remain on their processors until the structure of the level is complete.29 * Root grid is split into [[latex($\(N_{patches} >= p\)$)]] and refined grids remain on their processors until the structure of the level is complete. 30 30 31 31 * Acknowledges that their distribution algorithm is less than optimal (references to a grid-splitting technique by Lan, Taylor & Bryan, '01. 32 32 33 * Sibling search is sped up by using a coarse "chaining" mesh to map grids to neighbor lists. Reduces the number of neighbor comparisons from [[latex( \(O(g^{2})\))]] to [[latex(\(O(g)\))]].33 * Sibling search is sped up by using a coarse "chaining" mesh to map grids to neighbor lists. Reduces the number of neighbor comparisons from [[latex($\(O(g^{2})\)$)]] to [[latex($\(O(g)\)$)]]. 34 34 35 35 [[BR]]