dgord(1)
β¨ dgord β the girlies' guide to parallel sparse matrix ordering β¨
okay so bestie, this is dgord(1) from the PT-Scotch user's manual, and it's literally the tool that reorders your sparse matrix graphs in parallel. no cap. let's get into it π
πΈ NAME πΈ
dgord β compute sparse matrix orderings of graphs in parallel π¦
π SYNOPSIS π
dgord [options] [gfile] [ofile] [lfile]
π DESCRIPTION π
so dgord computes, in a parallel way (main character energy fr), an ordering of a Scotch source graph that represents the pattern of some symmetric sparse matrix. slay.
the source graph file, gfile, is either one centralized graph file, or a whole set of files representing fragments of a distributed graph. the resulting ordering gets stored in ofile. and any eventual logging info β like the stuff option -v produces β gets sent to lfile. iykyk. π«Ά
when you don't specify file names? data is read from standard input and written to standard output. the standard streams can also be explicitly represented by a dash '-'. iconic.
when the proper libraries have been included at compile time, dgord 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, 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')
ngl bestie,dgordbases on implementations of the MPI interface to spread work across the processing elements. so it's not likely to be run directly β instead you run it through some launcher command such asmpirun. periodt.
β¨ OPTIONS β¨
-coptβ choose the default ordering strategy according to one or several options among these cuties:bβ enforce load balance as much as possible.qβ privilege quality over speed (default).sβ privilege speed over quality.tβ enforce safety.xβ enforce scalability.
-hβ display some help π₯Ί-mmfileβ save column block mapping data to filemfile. mapping data specifies, for each vertex, the index of the column block to which this vertex belongs. so organized tbh.-ostratβ use parallel graph ordering strategystrat(peep the PT-Scotch user's manual for more info π).-rpnumβ set root process for centralized files (default is0).-ttfileβ save partitioning tree data to filetfile. partitioning tree data specifies, for each vertex, the index of the first vertex of the parent block of the block to which the vertex belongs. altogether with the mapping data provided in filemfile, it allows one to rebuild the separator tree of the nested dissection process. very giving "reconstructed the whole family tree" vibes π-Vβ display program version and copyright π-vverbβ set verbose mode toverb. it's a set of one or more characters which can be:sβ strategy information.tβ timing information.
π₯ EXAMPLES π₯
run dgord on 5 processing elements to reorder matrix graph brol.grf and save the resulting ordering to file brol.ord, using the default sequential graph ordering strategy:
$ mpirun -np 5 dgord brol.grf brol.ord
run dgord on 5 processing elements to reorder the distributed matrix stored on graph fragment files brol5-0.dgr to brol5-4.dgr, and save the resulting ordering to file brol.ord (see dgscat(1) for an explanation of the '%p' and '%r' sequences in names of distributed graph fragments):
$ mpirun -np 5 dgord brol%p-%r.dgr brol.ord
π SEE ALSO π
and alsoβ¦ the PT-Scotch user's manual π
π AUTHOR π
Francois Pellegrini <francois.pellegrini@labri.fr> π
okay that's the whole thing bestie, go forth and reorder some graphs π§β¨ this was the PT-Scotch user's manual, dated 16 June 2026 β mwah, take care of her π«Άππ
π¦ where this page comes from
- arch rolling: scotch 7.0.17-1 Β· CECILL-C
- ubuntu stonking: ptscotch 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