---
name: "PGADone"
section: "8"
platform: "linux"
package: "pgapack"
version: "1.1.1-3"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/PGADone"
---

# PGADone(8)

Returns PGA\_TRUE if the stopping conditions have been met, otherwise returns false.

## NAME

PGADone - Returns PGA\_TRUE if the stopping conditions have been met, otherwise returns false.

## DESCRIPTION

Calls exactly one of the user defined C or fortran or system (PGACheckStoppingConditions) stopping condition functions.

## INPUT PARAMETERS

- ctx

  \- context variable

- comm

  \- an MPI communicator

## OUTPUT PARAMETERS

- none

  ## SYNOPSIS

```
#include "pgapack.h"
int  PGADone(ctx, comm)
PGAContext *ctx
MPI_Comm comm
```

## LOCATION

stop.c

## EXAMPLE

```
Example:
PGAContext *ctx;
:
PGADone(ctx, comm);
```
