Rate This Document
Findability
Accuracy
Completeness
Readability

KSCALAPACKGetVersion

Obtain the ScaLAPACK version information.

Interface Definition

int KSCALAPACKGetVersion(KSCALAPACKVersion *ver);

Parameters

Parameter

Type

Description

Input/Output

ver

Pointer to the KSCALAPACKVerison structure

Storage version information. This parameter value cannot be NULL.

Input/output

Dependencies

#include "kml_service.h"

#include "kscalapack.h"

Examples

int main()
{    
    KSCALAPACKVersion *ver = (KSCALAPACKVersion*)malloc(sizeof(KSCALAPACKVersion));
    int res = KSCALAPACKGetVersion(ver);
    if (res != 0) {
        printf("Get version error.\n");
        return 0;
    }
    printf("Component Name: %s\nComponent Version: %s\nSoftware Name: %s\nSoftware Version: %s\n",
            ver->componentName, ver->componentVersion, ver->softwareName, ver->softwareVersion);
    return 0;
}

Execution result:

Component Name: BoostKit-kml
Component Version: 1.6.0
Software Name: boostkit-kml-scalapack
Software Version: 1.6.0

The version number in the example above are for reference only.