Personal tools

Difference between revisions of "Consolidate Domain Decomposition"

From MohidWiki

Jump to: navigation, search
(Topology)
Line 7: Line 7:
  
 
== Topology ==
 
== Topology ==
There are 2 kinds of MPI processes running:
+
[[File:Ddc.rcm.png|thumb|left|alt=Domain in decomposed in 3 subdomains creates 3 instances of MohidWater (MW1, MW2 and MW3).|Domain in decomposed in 3 subdomains.]] There are 2 kinds of MPI processes running:
 
*a parser; and
 
*a parser; and
 
*2 workers.
 
*2 workers.

Revision as of 20:20, 30 November 2014

The program Consolidate Domain Decomposition uses the actor model to parallelize file processing tasks. For instance, suppose there are hydrodynamic and water quality files from 2 sub-domains:

  • hyd_submod_1.hdf and wq_submod_1.hdf; and
  • hyd_submod_2.hdf and wq_submod_2.hdf.

The desired consolidated files are hyd.hdf and wq.hdf, resulting form the concatenation of:

  • hyd_submod_1.hdf and hyd_submod_2.hdf to produce hyd.hdf; and
  • wq_submod_1.hdf and wq_submod_2.hdf for the wq.hdf

Topology

Domain in decomposed in 3 subdomains creates 3 instances of MohidWater (MW1, MW2 and MW3).
Domain in decomposed in 3 subdomains.
There are 2 kinds of MPI processes running:
  • a parser; and
  • 2 workers.