MPI_Get_version

Return the version number of MPI.

Syntax

  • [major, minor] = MPI_Get_version()

Output argument

  • major - an integer value.

  • minor - an integer value.

Description

Return the version number of MPI.

See also

MPI_Init, MPI_Finalize.

Example

if ~MPI_Initialized()
  MPI_Init();
end
[major, minor] = MPI_Get_version()
if MPI_Initialized()
  MPI_Finalize();
end

History

VersionDescription

1.0.0

initial version

Author

Allan CORNET

Last updated