amk_grf [options] [gfile] [tfile]
Target architectures define the topology of the target graphs used by static mapping programs gmap(1) and dgmap(1). Target architectures can be either algorithmically-defined, for common, regular topologies, or decomposition-defined, such as the ones produced by amk_grf.
When the proper libraries have been included at compile time, amk_grf can directly handle compressed files, 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.tgt.bz2' or '-.gz'. The compression formats which can be supported are the bzip2 format ('.bz2'), the gzip format ('.gz'), and the lzma format ('.lzma').
Since decomposition-defined target architecture files have a size which is quadratic in the number of target vertices, because of the presence of a distance matrix structure, using compressed files to store them may save a lot of space.
$ gmk_m2 3 5 | amk_grf | acpl - m3x5.tgt.gzNote that, in this precise case, it would be much preferable to use directly the 'mesh2D' algorithmically-defined target architecture.
$ echo "mesh2D 3 5" > m3x5.tgt