---
name: "gdump"
section: "1"
platform: "linux"
package: "scotch"
version: "7.0.17-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/gdump"
---

# gdump(1)

dumps the contents of a source graph as a source code

## NAME

**gdump** - dumps the contents of a source graph as a source code

## SYNOPSIS

```
gdump [options] [igfile] [ocfile]
```

## DESCRIPTION

**The gdump program allows one to create a source code equivalent to** **the loading of a centralized source graph. The contents of the** **source graph are represented as data arrays which are assembled by** **calling the SCOTCH\_graphBuild routine of the libScotch library.**

## OPTIONS

- **-b*base***

  **Set the** *base* **value of the graph described by the source** **code.**

- **-h**

  **Display some help.**

- **-p*prefix***

  **Set the** *prefix* **to add to to all array names and to the** **graph buiding function name.**

- **-s*suffix***

  **Set the** *suffix* **to add to to all array names and to the** **graph buiding function name.**

- **-V**

  **Display program version and copyright.**

## EXAMPLE

**Create a soure C file 'brol.c' that corresponds to graph 'brol.grf',** **with identifier and creation function name** *suffix* **'\_brol'.**

```
    $ gdump -s_brol brol.grf brol.c
```

## SEE ALSO

**[gtst(1)](/gtst/1.md).**

**Scotch user's manual.**

## AUTHOR

**Francois Pellegrini \<francois.pellegrini@labri.fr\>**
