mkl_get_version_string

Gets the library version string.

Syntax

FORTRAN:

call mkl_get_version_string( buf )

C:

mkl_get_version_string( buf, len );

Include Files

Output Parameters

Name

Type

Description

buf

FORTRAN: CHARACTER*198

C: char*

Source string

len

FORTRAN: INTEGER

C: int

Length of the source string

Description

The function returns a string that contains the library version information.

Note iconNote

MKLGetVersionString is an obsolete name for the mkl_get_version_string function that is referenced in the library for back compatibility purposes but is deprecated and subject to removal in subsequent releases.

See example below:

Examples

Fortran Example

program mkl_get_version_string

character*198  buf

call mkl_get_version_string(buf)
write(*,'(a)') buf

end

C Example

#include <stdio.h> 
#include "mkl_service.h"

int main(void) 
{
  int len=198;
  char buf[198];
  mkl_get_version_string(buf, len);
  printf("%s\n",buf);
  printf("\n");
  return 0; 
}

Submit feedback on this help topic