1
1

Add the MPI API version to the ompi_info output. How did we never

have this in there before?

This commit was SVN r25437.
Этот коммит содержится в:
Jeff Squyres 2011-11-04 23:30:59 +00:00
родитель b43deb7091
Коммит 38451d4972

Просмотреть файл

@ -23,6 +23,8 @@
#include <stdio.h>
#include <string.h>
#include "mpi.h"
#include "opal/version.h"
#include "orte/version.h"
#include "ompi/version.h"
@ -180,6 +182,12 @@ void ompi_info_show_ompi_version(const char *scope)
ompi_info_out("OPAL release date", tmp, OPAL_RELEASE_DATE);
free(tmp);
tmp2 = make_version_str(scope,
MPI_VERSION, MPI_SUBVERSION,
0, "", 0, "");
ompi_info_out("MPI API", "mpi-api:version:full", tmp2);
free(tmp2);
ompi_info_out("Ident string", "ident", OPAL_IDENT_STRING);
}