MatPartitioningSetFromOptions#

Sets various partitioning options from the options database for the partitioning object

Synopsis#

Collective

Input Parameter#

  • part - the partitioning context.

Options Database Keys#

  • -mat_partitioning_type - (for instance, parmetis), use -help for a list of available methods

  • -mat_partitioning_nparts - number of subgraphs

Note#

If the partitioner has not been set by the user it uses one of the installed partitioner such as ParMetis. If there are no installed partitioners it uses current which means no repartioning.

See Also#

MatPartitioning

Level#

beginner

Location#

src/mat/partition/partition.c

Examples#

src/mat/tutorials/ex11.c.html
src/mat/tutorials/ex15.c.html
src/mat/tutorials/ex15f.F90.html
src/mat/tutorials/ex17.c.html
src/mat/tutorials/ex17f.F90.html
src/ksp/ksp/tutorials/ex64.c.html

Implementations#

MatPartitioningSetFromOptions_Chaco in src/mat/partition/impls/chaco/chaco.c
MatPartitioningSetFromOptions_Hierarchical in src/mat/partition/impls/hierarchical/hierarchical.c
MatPartitioningSetFromOptions_Party in src/mat/partition/impls/party/party.c
MatPartitioningSetFromOptions_Parmetis in src/mat/partition/impls/pmetis/pmetis.c
MatPartitioningSetFromOptions_PTScotch in src/mat/partition/impls/scotch/scotch.c


Edit on GitLab

Index of all MatOrderings routines
Table of Contents for all manual pages
Index of all manual pages