1gbase(1) Scotch user's manual gbase(1)
2
3
4
6 gbase - sets the base value of a source graph
7
9 gbase [options] bval [igfile] [ogfile]
10
11
13 The gbase program allows one to set to bval the base value of a source
14 graph, that is, the starting index used to number its vertices and
15 edges. The base value can be set to 0 or 1, so that graphs can be eas‐
16 ily imported from and/or exported to tools written in C or Fortran.
17 Scotch can handle graphs irrespective of their base value.
18
19 When the proper libraries have been included at compile time, gbase can
20 directly handle compressed graphs, both as input and output. A stream
21 is treated as compressed whenever its name is postfixed with a com‐
22 pressed file extension, such as in 'brol.grf.bz2' or '-.gz'. The com‐
23 pression formats which can be supported are the bzip2 format ('.bz2'),
24 the gzip format ('.gz'), and the lzma format ('.lzma').
25
27 -h Display some help.
28
29 -V Display program version and copyright.
30
32 Set the base of graph 'brol.grf' to 1, and write the modified graph to
33 file 'brol_b1.grf'.
34
35 $ gbase 1 brol.grf brol_b1.grf
36
37
39 gcv(1), gmk_hy(1), gmk_msh(1), gtst(1), gmap(1), gord(1).
40
41 Scotch user's manual.
42
44 Francois Pellegrini <francois.pellegrini@labri.fr>
45
46
47
48 23 November 2019 gbase(1)