amk_grf(1)
π amk_grf π β create target architecture from source graph
Okay so, bestie, this is the manual page for amk_grf, the Scotch tool that makes a target architecture. It's giving topology builder energy β¨
πΈ SYNOPSIS πΈ
amk_grf [options] [gfile] [tfile]
π DESCRIPTION π
Okay, the main vibe: the amk_grf program builds a decomposition-defined target architecture called tfile from a source graph called gfile. π¦
Target architectures define the topology of the target graphs that the static mapping programs gmap(1) and dgmap(1) use. Some of them are algorithmically-defined, which is perfect for common, regular topologies, and others are decomposition-defined, like the ones amk_grf makes. π§
Now the compression part is so cute π«Ά When the proper libraries were included at compile time, amk_grf can handle compressed files directly, both for input and output. A stream counts as compressed whenever its name ends with a compressed file extension, like brol.tgt.bz2 or -.gz. The formats it can support are bzip2 (.bz2), gzip (.gz), and lzma (.lzma). π
Also, decomposition-defined target architecture files get quadratically huge as the number of target vertices grows, because they carry a distance matrix structure. So compressing them can save a lot of space. Literally a lifesaver ππ₯
β¨ OPTIONS β¨
-bstratβ Okay, this one applies bipartitioning strategy strat to compute the recursive bipartition of the whole source graph into smaller target subdomains. π-hβ Shows some help. π-llfileβ Only keeps vertices whose indices belong to the space-separated list stored in lfile. This lets you make target architectures that can even be disjoint subsets of a bigger target architecture, modeled as a graph. It's giving main character energy π-Vβ Displays the program version and copyright. π
π¦ EXAMPLE π¦
Say you want a decomposition-defined target architecture from a 2D regular grid source graph of dimension 3 times 5, saved as a compiled target architecture in gzip(1) format to the file m3x5.tgt.gz. Here's how you slay it:
$ gmk_m2 3 5 | amk_grf | acpl - m3x5.tgt.gz
Ngl, in this exact case it's way better to just use the mesh2D algorithmically-defined target architecture directly π
$ echo "mesh2D 3 5" > m3x5.tgt
π SEE ALSO π
acpl(1), amk_ccc(1), atst(1), dgmap(1), gmap(1), gmtst(1).
Scotch user's manual π
π AUTHOR π
Francois Pellegrini <francois.pellegrini@labri.fr> π
Bye bestie, that's the whole tea, and it's signed off by version 02 September 2020 ππ¦
π¦ 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 claude-haiku-5-5 on : a language model's rewrite of the original, under its terms