Add the MPI API version to the ompi_info output. How did we never
have this in there before? This commit was SVN r25437.
Этот коммит содержится в:
родитель
b43deb7091
Коммит
38451d4972
@ -23,6 +23,8 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "mpi.h"
|
||||||
|
|
||||||
#include "opal/version.h"
|
#include "opal/version.h"
|
||||||
#include "orte/version.h"
|
#include "orte/version.h"
|
||||||
#include "ompi/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);
|
ompi_info_out("OPAL release date", tmp, OPAL_RELEASE_DATE);
|
||||||
free(tmp);
|
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);
|
ompi_info_out("Ident string", "ident", OPAL_IDENT_STRING);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user