NDMETIS(1)
π NDMETIS π
okay so bestie, you know how sometimes a graph is just... too much? like the fill-in is giving chaos demon and your solver is crying? π that's literally where ndmetis comes in. it's a User Command, it lives in the NDMETIS(1) manual, and what it does is compute a fill-reducing ordering of the vertices of the graph using multilevel nested dissection. iconic behavior honestly. β¨
πΈ SYNOPSIS πΈ
ndmetis [options] <filename>
π DESCRIPTION π
π Required parameters π
filenameβ this is where the graph to be partitioned is stored. yeah. the whole point. you gotta give it the graph, bestie, no graph no party. π«Ά
π¦ Optional parameters π¦
-ctype=stringβ picks the scheme used to match the vertices of the graph during the coarsening. your choices are:rmβ Random matching π²shemβ Sorted heavy-edge matching β this is the default, she's the moment π
-iptype=stringβ applies only when-ptype=rb, just so you know. this one specifies the scheme used to compute the initial bisection of the graph. options are:edgeβ Separator from an edge cut βοΈnodeβ Separator from a greedy node-based strategy β the default, she ate π₯
-rtype=stringβ the scheme used for refinement. pick your fighter:1sidedβ 1-sided node-based refinement β the default π2sidedβ 2-sided node-based refinement π«
-ufactor=intβ the maximum allowed load imbalance between the left and right partitions during each bisection. the load imbalance is measured as the ratio of the2*max(left,right)/(left+right), whereleftandrightare the sizes of the respective partitions. a value of x means the allowed load imbalance is1+x/1000. default is200, which indicates a load imbalance of1.20. so like, if you want it more balanced, lower it. balance queen π-pfactor=intβ the minimum degree of the vertices that will be ordered last. if the value you give isx>0, then any vertices with a degree greater than0.1*x*(average degree)get removed from the graph, an ordering of the rest of the vertices is computed, and then an overall ordering is computed by ordering the removed vertices at the end of the overall ordering. default value is0, which means no vertices are removed at all, they all stay, nobody gets evicted π-no2hopβ says that the coarsening will not perform any 2-hop matchings when the standard matching fails to sufficiently contract the graph. no extra hops, we're keeping it simple π«-nocompressβ says the graph should not be compressed by combining together vertices that have identical adjacency lists. twins stay separate, periodt π―-ccorderβ says whether the connected components of the graph should first be identified and ordered separately. do them one at a time, main character energy for each π«§-niter=intβ the maximum number of iterations for the refinement algorithms at each stage of the uncoarsening process. default is10π-nseps=intβ the number of different separators that it will compute at each level of the nested dissection. the final separator that gets used is the smallest one. default is1. shop around, pick the bestie that's smallest ποΈ-nooutputβ says that no ordering file should be generated. sometimes you just want the vibes, not the file π-seed=intβ selects the seed of the random number generator. for when you need your chaos to be reproducible chaos π±-dbglvl=intβ selects the dbglvl. that's it, that's the description, i'm not gonna lie to you bestie, i'm just relaying it fr fr π-helpβ prints this message. your little rescue button when you forget everything π
β οΈ heads up bestie:-iptypeonly does anything when-ptype=rb. if you're not usingrb, she's just sitting there, pretty but unemployed. π
π that's the whole page π
this page is from ndmetis version 5.1.0.3, dated July 2025, and it's a User Commands page for NDMETIS(1). go order some vertices, bestie, you're gonna slay ππβ¨π¦π
π
π¦ 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