---
name: "MPE_Counter_create"
section: "4"
platform: "linux"
package: "mpi-doc"
version: "1.2.7-9.1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/MPE_Counter_create"
---

# MPE\_Counter\_create(4)

create and initialize shared counter (process)

## NAME

MPE\_Counter\_create -  create and initialize shared counter (process)

## SYNOPSIS

```
int MPE_Counter_create( oldcomm, smaller_comm, counter_comm )
MPI_Comm  oldcomm,  *smaller_comm,  *counter_comm;
```

## INPUT PARAMETER

- **oldcomm**

  \- Communicator to

## OUTPUT PARAMETERS

- **smaller\_comm**

  \-

- **counter\_comm**

  \- Duplicate of  *oldcomm*

## LOCATION

mpe\_counter.c
