gcv(1)

πŸ’– gcv β€” graph file converter πŸ’–

okay so you found gcv(1), from the Scotch user's manual, and honestly? she's the glow-up queen of graph files. bestie, let's get into it. ✨


🌸 NAME 🌸

gcv β€” graph file converter. that's it, that's the girl. she takes graph files and flips them into other formats. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

gcv [options] [igfile] [ogfile] [oxfile]

πŸ¦‹ DESCRIPTION πŸ¦‹

so the gcv program converts Scotch graph files from and to other external file formats. it's giving translator, it's giving bilingual icon. 🌈

file igfile gets converted into graph file ogfile, and if there's optional geometry data hanging around, it goes into geometry file oxfile β€” but only if it's available, no pressure. ✨

when you don't specify file names, data is read from standard input and written to standard output. classic. and standard streams can also be explicitly represented by a dash '-'. yes, a single lonely dash. she contains multitudes. 😌

when the proper libraries have been included at compile time, gcv can directly handle compressed graphs, both as input and output. a stream is treated as compressed whenever its name is postfixed with a compressed file extension, such as in 'brol.grf.bz2' or '-.gz'. the compression formats which can be supported are the bzip2 format ('.bz2'), the gzip format ('.gz'), and the lzma format ('.lzma'). three formats, three icons, no notes. πŸ”₯


✨ OPTIONS ✨

  • -h β€” display some help. she's helpful like that. 🫢
  • -iifmt β€” set format of input graph file, which can be:
    • bnum β€” Boeing-Harwell format. this is a matrix format. only square matrices are supported, no cap. square matrices with unsymmetric pattern are symmetrized. in case the file contains several matrices, the num parameter lets you provide the index of the matrix to convert, starting from 0. when the num parameter is not set, it is assumed to be 0. defaults, we love her. πŸ’…
    • c β€” Chaco format. this is an adjacency graph format, also used by MeTiS. shared format, shared slay. πŸ‘‘
    • m β€” Matrix Market format. this is a matrix format describing individual edges. Matrix pattern is symmetrized, such that rectangular matrices are eventually squared. glow-up math, literally. ✨
    • s β€” Scotch graph format. this is an adjacency graph format. the home team. 🏠
  • -oofmt β€” set format of output graph file, which can be:
    • c β€” Chaco format.
    • m β€” Matrix Market symmetric pattern format.
    • s β€” Scotch format. this is the default. ⭐
  • -V β€” display program version and copyright. receipts, bestie. 🧾

πŸ’œ EXAMPLE πŸ’œ

convert a Matrix Market graph into a Scotch graph. Matrix Market files do not comprise geometry data, so no geometry file is needed on output:

$ gcv -im brol.mm brol.grf

not me writing a one-liner that just works. 😭 she ate.


🌈 SEE ALSO 🌈

gbase(1), gtst(1), gmap(1), gord(1), gout(1).

Scotch user's manual.


πŸ‘‘ AUTHOR πŸ‘‘

Francois Pellegrini <francois.pellegrini@labri.fr>


okay that's the whole page, you're officially a gcv girlie now πŸ’– this was the Scotch user's manual edition, dated 23 November 2019, and yeah β€” that's the vibe check, passed with flying colors. mwah. πŸŽ€πŸ’…βœ¨

πŸ“¦ where this page comes from