UCVMC La Habra mesh generation: Difference between revisions

From SCECpedia
Jump to navigationJump to search
Mei (talk | contribs)
Mei (talk | contribs)
Line 1: Line 1:
== Problem ==
== Problem ==
A general solution for creating a large mesh is to partition a
target 3D mesh into a regular grid with smaller segments. The
segments are then processed in a divide-and-conquer manner and the
results are gathered into a single file.
UCVMC17.1's ucvm2mesh-mpi maps the target 3D mesh into a regular
grid based on the parameters supplied in the mesh configuration
file. The parameters: px, py and pz are the number of partitions
in x,y,z orientation. A unit of process or rank is defined as an
unit within the grid. Therefore, there are exactly  px * py * pz ranks within the 3D mesh.
ucvm2mesh-mpi starts up multiple mpi processes equal in number to ranks required for the target mesh. All processes are ran concurrently and write their results
to the same output file based on their 'ranking' position.
This solution is simple but does not scale well when the target mesh is extremely large.


== Related Entries ==
== Related Entries ==
*[[Ucvm2mesh-mpi]]
*[[Ucvm2mesh-mpi]]

Revision as of 20:47, 4 June 2018

Problem

A general solution for creating a large mesh is to partition a target 3D mesh into a regular grid with smaller segments. The segments are then processed in a divide-and-conquer manner and the results are gathered into a single file.

UCVMC17.1's ucvm2mesh-mpi maps the target 3D mesh into a regular grid based on the parameters supplied in the mesh configuration file. The parameters: px, py and pz are the number of partitions in x,y,z orientation. A unit of process or rank is defined as an unit within the grid. Therefore, there are exactly px * py * pz ranks within the 3D mesh.

ucvm2mesh-mpi starts up multiple mpi processes equal in number to ranks required for the target mesh. All processes are ran concurrently and write their results to the same output file based on their 'ranking' position.

This solution is simple but does not scale well when the target mesh is extremely large.

Related Entries