gdump(1)
π NAME π
gdump β bestie, this one dumps the contents of a source graph as a source code. like, it literally hands you back C code. no cap.
ok so quick vibe check before we dive in: this is from the Scotch user's manual, and the page you're reading is gdump(1). manifesting that you read the whole thing π
β¨ SYNOPSIS β¨
gdump [options] [igfile] [ocfile]
π¦ DESCRIPTION π¦
okay so here's the tea β β the gdump program lets you create a source code that's equivalent to the loading of a centralized source graph. the contents of that source graph get represented as data arrays, and those arrays are assembled by calling the SCOTCH_graphBuild routine of the libScotch library.
it's giving "here's your graph, but as code you can compile." iconic behavior, honestly.
π OPTIONS π
-bbaseβ sets the base value of the graph that the source code describes. yes bestie, the base. you pick it. π-hβ displays some help. the classic "help me pls" button π«Ά-pprefixβ sets the prefix that gets added to all array names and to the graph building function name. so like, everything gets a little name tag. cute.-ssuffixβ sets the suffix that gets added to all array names and to the graph building function name. matching set with the prefix, periodt π-Vβ displays program version and copyright. the receipts, basically π§Ύ
πΈ EXAMPLE πΈ
say you wanna create a source C file brol.c that corresponds to graph brol.grf, with the identifier and creation function name suffix _brol. the way you do that:
$ gdump -s_brol brol.grf brol.c
slay. look at that suffix doing its little job. π¦
π₯ SEE ALSO π₯
gtst(1).- Scotch user's manual.
π AUTHOR π
Francois Pellegrini <francois.pellegrini@labri.fr>
and that's the whole page, bestie!! π«Ά this was the gdump(1) page from the Scotch user's manual, dated 23 November 2019 β tysm for reading, go dump some graphs, mwah πβ¨π
π¦ where this page comes from
- debian bookworm: scotch 7.0.3-2 Β· CeCILL-C
- debian trixie: scotch 7.0.7-1 Β· CeCILL-C
- ubuntu jammy: scotch 6.1.3-1 Β· CeCILL-C
- ubuntu noble: scotch 7.0.4-1ubuntu2 Β· CeCILL-C
- ubuntu questing: scotch 7.0.5-1ubuntu2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms