Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 3/22/2024
Public
Document Table of Contents

mkl_verbose_output_file

Write output in Intel® oneAPI Math Kernel Library (oneMKL) Verbose mode to a file.

Syntax

mkl_verbose_output_file (filename) character *(*)

Fortran Include Files/Modules

  • Include file: mkl.fi
  • Module (compiled): mkl_service.mod
  • Module (source): mkl_service.f90

Input Parameters

Name

Type

Description

filename

CHARACTER

Name of file. Specify the complete path of the output file.

Description

This function writes the output in Verbose mode to the file specified in the path.

If the write operation is successful, the function returns 0.

If the file does not exist or cannot be opened, the write operation is unsuccessful. The function returns 1 and defaults to mkl_verbose behavior by printing to stdout.

NOTE:

You can alternatively use MKL_VERBOSE_OUTPUT_FILE environment variable instead of calling the mkl_verbose_output_file function. If you want to use the environment variable option, you must set it to the complete path of the output file.

IMPORTANT:
The setting for the verbose output file specified by the mkl_verbose_output_file function takes precedence over the setting specified by the MKL_VERBOSE_OUTPUT_FILE environment variable.

For more information on the Verbose mode, see the Intel® oneAPI Math Kernel Library (oneMKL) Developer Guide, available in the Intel® Software Documentation Library.

Return Values

Name

Type

Description

status

INTEGER*4

  • 0 indicates that the write operation was successful.

  • 1 indicates that the write operation was unsuccessful.