Get the MPI library version¶
saf_getInfo_mpiversion
is a function defined in info.c.
Synopsis:
-
void
saf_getInfo_mpiversion
(const SAF_PathInfo info, int *major, int *minor, int *patch, char *annot)¶
Formal Arguments:
info
: [IN
] database info object obtained from a saf_readInfo_path call.major
: [OUT
] major version number. Ignored ifNULL
.minor
: [OUT
] minor version number. Ignored ifNULL
.patch
: [OUT
] patch (aka “release”) version number. Ignored ifNULL
.annot
: [OUT
] annotation string of at most 8 chars including null. Caller allocates. Ignored ifNULL
.
Description: This function is used to obtain MPI library version information from a given path queried with saf_getInfo_path
.
Preconditions:
info
must be non-NULL
. (low-cost)
Parallel Notes: Independent semantics only
See Also:
- saf_readInfo_path: 6.10: Load information from the specified path
- Path Info: Introduction for current chapter