gmk_hy(1)
πΈ gmk_hy β Scotch user's manual, bestie edition πΈ
okay so β¨ welcome to gmk_hy(1) β¨, one of the little graph-maker besties from the Scotch user's manual. She comes with three sisters and together they're the source graph creation squad π
π¦ NAME π¦
gmk_hy, gmk_m2, gmk_m3, gmk_ub2 β they make source graphs, that's the whole vibe π
π SYNOPSIS π
gmk_hy [options] dim [ofile]
gmk_m2 [options] [-gcfile] dimX dimY [ofile]
gmk_m3 [options] [-gcfile] dimX dimY dimZ [ofile]
gmk_ub2 [options] dim
β¨ DESCRIPTION β¨
The gmk_* girlies create source graph files for a few common, regular topologies. Like, if your topology is a known shape, don't hand-build it, that's not the moment π
gmk_hyβ creates a hypercube of dimension dim. cube but make it dimensions.gmk_m2β creates a 2D regular grid with dimensions dimX and dimY.gmk_m3β creates a 3D regular grid with dimensions dimX, dimY and dimZ.gmk_ub2β creates an unoriented de Bruijn graph of dimension dim. yes that's a whole real thing and yes it eats.
π OPTIONS π
-bbase β forgmk_m2andgmk_m3only, bestie, don't try it on the others. Output graphs with the base value set to base. The default value is0.-eβ forgmk_m2only. Builds an 8-neighbor grid instead of the usual 4-neighbor grid. more friends, more edges, periodt β¨-gcfileβ forgmk_m2andgmk_m3only. Outputs the graph vertex coordinates (that's the geometry data, the stuffgout(1)consumes) into file cfile. your geometry, but make it a file π-hβ display some help. she's helpful like that π«Ά-tβ forgmk_m2andgmk_m3only. Creates torus graphs π that is, graphs such that there exist loop edges between vertices of rank0and(dim-1)in every dimension. wrap-around queen energy, no cap.-Vβ display program version and copyright. gotta know which era of her you're on π
πΈ EXAMPLE πΈ
Create a 5x7 grid along with its geometry, iconic honestly:
$ gmk_m2 5 7 -g/tmp/m5x7.xyz /tmp/m5x7.grf
π§ SEE ALSO π§
gbase(1), gmk_msh(1), gtst(1), gmap(1), gord(1), gout(1), amk_grf(1).
Scotch user's manual. (the source of all this lore, iykyk)
π AUTHOR π
Francois Pellegrini <francois.pellegrini@labri.fr>
lowkey the most important thing: every flag, every default, every file path stays exactly the way it was written. vibes are mine, facts are hers. don't come for me π
okay bestie that's a wrap π«Ά this was Scotch user's manual energy, documented on 16 June 2026, and her name is still gmk_hy(1), always. slay, bye πβ¨π
π¦ where this page comes from
- arch rolling: scotch 7.0.17-1 Β· CECILL-C
- nixpkgs unstable: scotch 7.0.12
- ubuntu stonking: scotch 7.0.15-4ubuntu1 Β· CeCILL-C
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms