gtst(1)
π gtst(1) β the consistency-check bestie π
okay so bestie, welcome to gtst, straight out of the Scotch user's manual. it's a lil program living in section 1 of the manual (that's your classic user commands zone π«Ά) and it's here to vibe-check your graphs. no cap.
β¨ NAME β¨
gtst β test the consistency of source graphs π
πΈ SYNOPSIS πΈ
gtst [options] [gfile] [lfile]
π¦ DESCRIPTION π¦
so gtst literally goes through a Scotch source graph sequentially (one lil step at a time, no multitasking) and checks that it's consistent. and when it passes?? it gives you the goods: statistics about edge weights, vertex weights, and vertex degrees. slay.
it produces the very same results as the dgtst(1) program from the PT-Scotch parallel distribution β but unlike that one, it cannot handle distributed graphs. so if ur graph is spread out across a whole parallel setup, this is not the one, sorry bestie π.
the source graph file gfile can only be a centralized graph file. the stats it spits out go into lfile.
and when you don't name files at all? it's giving chill: data is read from standard input and written to standard output. you can also write a standard stream out explicitly with a dash '-' and it works exactly the same. iconic.
now here's the tea β β when the proper libraries were included at compile time, gtst can handle compressed graphs directly, both as input and output. a stream counts as compressed whenever its name is postfixed with a compressed file extension, like in 'brol.grf.bz2' or '-.gz'. the compression formats that can be supported are:
- the bzip2 format (
'.bz2') π - the gzip format (
'.gz') π - the lzma format (
'.lzma') β
π OPTIONS π
okay the options menu is short and sweet, we love efficiency:
-hβ displays some help. ur little rescue text π«Ά-Vβ displays the program version and copyright. for when u need the receipts π§Ύ
π EXAMPLE π
say you wanna test the consistency of the graph brol.grf. boom:
$ gtst brol.grf
that's it. that's the whole move β¨
π₯ SEE ALSO π₯
go bother these ones next, they're all in the family:
also: the Scotch user's manual. the og source of truth π
π AUTHOR π
Francois Pellegrini <francois.pellegrini@labri.fr> β the legend behind all this fr fr π
16 June 2026 β’ gtst(1) β’ Scotch user's manual β that's the version and date bestie, sources and dates are eternal β¨π run gtst on ur graphs, stay consistent, and drink water π«ΆπΈ
π¦ 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