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

The FORTRAN 77 interface is specified in the mkl_service.fi include file and the C interface is specified in the mkl_service.h include file.

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:

program mkl_get_version_string
character*198  buf
call mkl_get_version_string(buf)
write(*,'(a)') buf
end
C:

#include <stdio.h>
#include "mkl_blas.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

Copyright © 1994 - 2011, Intel Corporation. All rights reserved.