# blacs_gridexit

Frees a BLACS context.

## Syntax

call blacs_gridexit( icontxt )

## Input Parameters

icontxt | INTEGER. Integer handle that indicates the BLACS context to be freed.

## Description

This routine frees a BLACS context.

Release the resources when contexts are no longer needed. After freeing a context, the context no longer exists, and its handle may be re-used if new contexts are defined.

Parent topic: Destruction Routines