7.4. MPI Version

To print the MPI_VERSION and MPI_SUBVERSION you can do the following:

print "%s%1.1d%s%1.1d" % ("mpi version ",mpi.MPI_VERSION,".",mpi.MPI_SUBVERSION)