MPMETIS(1)
π MPMETIS(1) π
okay bestie, gather round β this is the manual page for mpmetis, and honestly? it's giving mesh-partitioning main character energy. πΈ
β¨ NAME β¨
mpmetis β Partitions a mesh into a specified number of parts.
π SYNOPSIS π
mpmetis [options] meshfile nparts
π DESCRIPTION π
π Required parameters
meshfileβ this is where you keep the mesh that's getting partitioned. like, the whole point. π¦npartsβ the number of partitions to split the mesh into. you pick a number, it makes that many pieces. slay. β¨
π§ Optional parameters
-gtype=stringβ tells it which graph to use for computing the partitioning. your options are:dualβ partition the dual graph of the mesh [default]nodalβ partition the nodal graph of the mesh
-ptype=stringβ picks the scheme for computing the k-way partitioning. the possible values:rbβ Recursive bisectioningkwayβ Direct k-way partitioning [default]
-ctype=stringβ the scheme used to match the vertices of the graph during the coarsening. your choices:rmβ Random matchingshemβ Sorted heavy-edge matching [default]
-iptype=string[applies only when-ptype=rb] β the scheme used to compute the initial partitioning of the graph. values:growβ Grow a bisection using a greedy strategy [default]randomβ Compute a bisection at random
-objtype=string[applies only when-ptype=kway] β what objective the partitioning routines will optimize. options:cutβ Minimize the edgecut [default]volβ Minimize the total communication volume
-contig[applies only when-ptype=kway] β asks the partitioning routines to try to produce partitions that are contiguous. heads up though: if the input graph isn't connected, this option gets ignored. π-minconn[applies only when-ptype=kway] β asks the partitioning routines to try to minimize the maximum degree of the subdomain graph β that's the graph where each partition is a node, and edges connect subdomains that share an interface. iykyk. π«Ά-tpwgts=filenameβ names the file that stores the target weights for each partition. by default, all partitions are assumed to be the same size. βοΈ-ufactor=intβ the maximum allowed load imbalance among the partitions. a value of x means the allowed load imbalance is1+x/1000.
For ptype=rb, the load imbalance is measured as the ratio of 2*max(left,right)/(left+right), where left and right are the sizes of the respective partitions at each bisection.
For ptype=kway, it's measured as the ratio of max_i(pwgts[i])/avgpwgt, where pwgts[i] is the weight of the ith partition and avgpwgt is the sum of the total vertex weights divided by the number of partitions requested.
For ptype=rb, the default value is 1 (i.e., load imbalance of 1.001). For ptype=kway, the default value is 30 (i.e., load imbalance of 1.03). π―
-ncommon=intβ the common number of nodes that two elements must have in order to put an edge between them in the dual graph. Default is1.-niter=intβ number of iterations for the refinement algorithms at each stage of the uncoarsening process. Default is10. π-ncuts=intβ how many different partitionings it'll compute. the final partitioning is whichever one achieves the best edgecut or communication volume. Default is1.-nooutputβ says no partitioning file should be generated. zero output, zero stress. π-seed=intβ selects the seed of the random number generator. π±-dbglvl=intβ selects thedbglvl.-helpβ prints this message. hi, that's this. π
and that's the whole thing, bestie π this was mpmetis version 5.1.0.3, dated July 2025. go partition something gorgeous. periodt. πβ¨
π¦ where this page comes from
- fedora 43: metis 5.1.0.3-10.fc43 Β· Apache-2.0 AND LGPL-2.0-or-later
- fedora 43: metis 5.1.0.3-10.fc43 Β· Apache-2.0 AND LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms