---
name: "cs_partition"
section: "1"
platform: "linux"
package: "ecs"
version: "2.0.0.rc1-3"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/cs_partition"
---

# cs\_partition(1)

Compute domain partition(s) of Code\_Saturne preprocessor output.

## NAME

cs\_partition - Compute domain partition(s) of Code\_Saturne preprocessor output.

## SYNOPSIS

**cs\_partition** \<n\_ranks\> \[\<n\_ranks\_2\> ... \<n\_ranks\_n\>\] \[-no-perio\] \[-no-write\]\

## DESCRIPTION

The **cs\_partition** program takes the file named **preprocessor\_output** created by the Code\_Saturne preprocessor **cs\_preprocess** and builds one or several "cells -\> domain" association files, named **domain\_number\_p** by using a graph splitting if linked with a METIS or SCOTCH library.

## OPTIONS

- \<n\_ranks\>

  **Number of ranks of destination partition (\> 1).**

- \--metis

  **Use METIS for partitioning (default if available).**

- \--scotch

  **Use SCOTCH for partitioning.**

- \--no-perio

  **Ignore periodicity information if present.**

- \--no-write

  **Do not write output.**

- \-h

  **Print a usage message and exit.**

## ENVIRONMENT

- CS\_PARTITION\_MEM\_LOG

  Name of memory operations trace file.

## EXAMPLE

cs\_partition 32 64 -no-write

## SEE ALSO

[**cs\_io\_dump**(1)](/cs_io_dump/1.md), [**cs\_preprocess**(1)](/cs_preprocess/1.md)
