gbase(1)

gbase1

Sets the base value of a source graph

Usage

gbase [options] bval [igfile] [ogfile]

Overview

The gbase program allows one to set to bval the base value of a source graph, that is, the starting index used to number its vertices and edges. The base value can be set to 0 or 1, so that graphs can be easily imported from and/or exported to tools written in C or Fortran. Scotch can handle graphs irrespective of their base value.

When the proper libraries have been included at compile time, gbase 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, such as in 'brol.grf.bz2' or '-.gz'. The compression formats which can be supported are the bzip2 format ('.bz2'), the gzip format ('.gz'), and the lzma format ('.lzma').

Options

-h

Display some help.

-V

Display program version and copyright.

Examples

Set the base of graph 'brol.grf' to 1, and write the modified graph to file 'brol_b1.grf'.

    $ gbase 1 brol.grf brol_b1.grf

Releases

10 releases since Debian 3.1 (Sarge); the text changed 2 times.

  1. 3.1–5.0
  2. 6.0–11
  3. Arch

-V since Arch Linux 2026-11-01; -h since Arch Linux 2026-11-01.

--help until Debian 11 (Bullseye); --version until Debian 11 (Bullseye); -s until Debian 11 (Bullseye).

Author

Francois Pellegrini <[email protected]>

From scotch 7.0.17-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.