MPI_Finalize

Terminate the MPI execution environment.

Syntax

  • MPI_Finalize()

  • r = MPI_Finalize()

Output argument

  • r - a logical.

Description

Terminate the MPI execution environment.

MPI process are launched in CLI mode (no gui, no plot).

See also

MPI_Initialized, MPI_Init.

Example

if ~MPI_Initialized()
  MPI_Init();
end
if MPI_Initialized()
  MPI_Finalize();
end

History

Author

Allan CORNET

Last updated