<< MPI_Get_processor_name Message Passing Interface MPI_Init >>

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


Version Description
1.0.0 initial version

Author


Allan CORNET

<< MPI_Get_processor_name Message Passing Interface MPI_Init >>