amk_ccc(1)
π amk_ccc(1) from the Scotch user's manual π
β¨ NAME β¨
Okay so bestie, these five programs (amk_ccc, amk_fft2, amk_hy, amk_m2, and amk_p2) are all about creating target architectures π
πΈ SYNOPSIS πΈ
amk_ccc [options] dim [tfile]
amk_fft2 [options] dim [tfile]
amk_hy [options] dim [tfile]
amk_m2 [options] dimX [dimY] [tfile]
amk_p2 [options] [wght0] [wght1] [tfile]
π DESCRIPTION π
The amk_* programs make target architecture files for some common, regular topologies. It's giving organized π§
amk_ccc makes a decomposition-defined cube-connected-cycle topology of dimension dim. The decomposition happens first by bisection along the dimensions of the hypercube, and then along the remaining cycle graphs. Iconic π
amk_fft2 makes a decomposition-defined fast-Fourier-transform topology of dimension dim. The decomposition is done by recursive bisection of the vertices, going by descending dimension (aka the bit number in the labeling of the vertices) β¨
amk_hy makes a decomposition-defined hypercube topology of dimension dim. The decomposition is done by recursive bisection of the vertices, going by descending dimension (aka the bit number in the labeling of the vertices). Real talk though, this one is deprecated unless you're just experimenting, because the algorithmically-defined hcub target architecture is a more convenient and efficient way to represent hypercube architectures π
β οΈ Deprecated:amk_hyis only for experimentation purposes now. Use the algorithmically-definedhcubtarget architecture instead, it's way more convenient and efficient for hypercubes.
amk_m2 makes a decomposition-defined 2D regular grid topology with dimensions dimX and dimY. The decomposition is done by recursive splitting along the dimensions, either by cutting the longest one or by one-way dissection, depending on the -m option flag π¦
β οΈ Deprecated:amk_m2is also for experimentation only now. The algorithmically-definedmesh2Dandmesh3Dtarget architectures are a more convenient and efficient way to represent 2D and 3D grid architectures.
amk_p2 makes a weighted path graph topology with only two vertices, of weights wght0 and wght1. It's just a helper program, and it builds a wcmplt algorithmically-defined complete graph with two vertices. You can use it to compute weighted bisections of a graph π«Ά
When the proper libraries were included at compile time, the amk_* programs can directly handle compressed files, both as input and output. A stream counts as compressed whenever its name ends with a compressed file extension, like brol.tgt.bz2 or -.gz π The supported compression formats are:
- bzip2 format (
.bz2) - gzip format (
.gz) - lzma format (
.lzma)
π¦ OPTIONS π¦
-mmethβ Only foramk_m2, bestie! This picks between recursive dissection and one-way dissection, depending on the method flag you give it:nβ nested dissection (this is the default, so you get it if you don't pick anything) πoβ one-way dissection (cuts across Y, then X) π
-hβ Pulls up some help for you π-Vβ Shows the program version and copyright π
π§ EXAMPLE π§
Let's make a cube-connected-cycle target architecture of dimension 4 and save it to the file ccc4.tgt. Super easy, literally one line π
$ amk_ccc 4 ccc4.tgt
Next, we run gmap to compute a bisection of the graph brol.grf, splitting it into two parts with weights 3 and 5, and save the mapping to brol.map. The dash - standard file name is what makes this work, since it tells gmap to read the target architecture description from standard input through the pipe. Main character energy β¨
$ amk_p2 3 5 | gmap brol.grf - brol.map
π SEE ALSO π
acpl(1), atst(1), amk_grf(1), dgmap(1), gmap(1).
Scotch user's manual. π
π AUTHOR π
Francois Pellegrini <francois.pellegrini@labri.fr>
Okay that's the whole tea, bestie π«Ά This page was last updated on 23 November 2019 and it's amk_ccc(1) forever and ever π
β¨
π¦ 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