<< MPI examples Message Passing Interface MPI_Get_library_version >>

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


Version Description
1.0.0 initial version

Author


Allan CORNET

<< MPI examples Message Passing Interface MPI_Get_library_version >>