[Dune] Parallel grid partitioning
Eike Mueller
E.Mueller at bath.ac.uk
Wed Nov 16 15:15:48 CET 2011
Dear dune-list,
I finally got back to looking at this again. I now built dune-grid from
the trunk, which contains the gmsh-to-alu utility you mention, when I
configure with the --enable-extra-utils option it creates an executable
called dune-gmsh-to-alusimplex-3d, am I right in assuming that this will
only work for 3d tetrahedral grids (mine is a 3d hexahedral grid)? Or
can I configure it to create a corresponding executable for other grids?
Also, is the alu grid format documented anywhere and how difficult would
it be to generate the partitioned grid by hand and write it to the
corresponding .alu grid files for each node? As eventually we will need
to work with really big grid (10^10 vertices), creating the entire grid
on a shared memory machine might not be an option.
Thank you very much,
Eike
Jö Fahlke wrote:
> Am Thu, 13. Oct 2011, 11:17:01 +0200 schrieb Markus Blatt:
>> That is an interesting feature. Does anyone know how the prepartioned
>> grid is read in?
>
> Each rank has it's own file. Just give the file name as a constructor
> argument when creating the grid.
>
>> Does every process read its own partition or does a
>> master process read the whole grid and distributes it according to the
>> partitioning?
>
> Each process reads it's own, no redistribution has to be done.
>
>> How much memory is needed per process? Just enough for its partition
>> or more?
>
> Just enough for it's partition.
>
> For me, this provided the only way to go onto the cluster: The cluster nodes
> didn't have enough memory to read in and partition the full grid -- so I did
> the partitioning on a shared-memory system lots of RAM and copied the
> resulting .alu files to the cluster.
>
> There are some utility programs in dune-grid/src:
>
> - gmsh-to-alu, which reads in a gmsh file, lets ALUGrid distribute it, and
> writes out the resulting ALUGrid files (optionally with physical entity
> information attached to the codim=0 entities).
>
> - alu-to-vtk, which reads in a set of native ALUGrid files and produces a set
> of VTK files from it, so you can have a look at the partitioning.
>
> You need to configure dune-grid with --enable-extra-utils, otherwise these
> utilities are not compiled.
>
> Bye,
> Jö.
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
More information about the Dune
mailing list