MPI_Initialized

Indicates whether MPI_Init has been called.

Syntax

  • r = MPI_Initialized()

Output argument

  • r - a logical.

Description

Indicates whether MPI_Init has been called.

See also

MPI_Init, MPI_Finalize.

Example

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

History

VersionDescription

1.0.0

initial version

Author

Allan CORNET

Last updated