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