User Guide

  • 2021.4
  • 10/01/2021
  • Public Content

Run the Diagnostic Utility with Verbosity

The Diagnostics Utility for Intel® oneAPI Toolkits has six verbosity levels:
Verbosity Levels
Without -v argument
Print the information about running, successful, and failed checks with information about errors and critical errors.
With -v argument - verbosity level 0:
Print the default checks with information about warnings.
With -vv argument - verbosity level 1
Print more detailed checks information about info logging.
With -vvv argument - verbosity level 2
Print more detailed checks information.
With -vvvv argument - verbosity level 3
Print more detailed checks information.
With -vvvvv argument - verbosity level 4
Print the most detailed checks information with debug information.
Note: The JSON file with the results of launched checks always contains the maximum amount of verbose information.
python3 diagnostics.py --single_checker checkers_py/gcc_checker.py -vvvvv

Example output

DEBUG: load_checks_from_checker(checkers_py/gcc_checker.py) DEBUG: getChecksPy(checkers_py/gcc_checker.py) DEBUG: getChecksPy returns "[CheckPy('module'='checkers_py/gcc_checker.py', 'metadata'='CheckMetadataPy('name'='gcc_version_check','type'='Data','tags'='compile,default,host,sysinfo','descr'='Contains information about GCC compiler version.','dataReq'='{}','rights'='user','timeout'='5','version'='0.1','run'='run_gcc_check')')]" DEBUG: load_checks_from_checker returns "[CheckPy('module'='checkers_py/gcc_checker.py', 'metadata'='CheckMetadataPy('name'='gcc_version_check','type'='Data','tags'='compile,default,host,sysinfo','descr'='Contains information about GCC compiler version.','dataReq'='{}','rights'='user','timeout'='5','version'='0.1','run'='run_gcc_check')')]" DEBUG: CheckPy.run({}) DEBUG: CheckPy.run returns "CheckSummary('error_code'='0','result'='{ "Value": { "GCC compiler version": { "Value": "9.3.0", "RetVal": "INFO", "Command": "gcc --version" } } }')" Checks results: ============================================================================================================================================================================================================= Check name: gcc_version_check Description: Contains information about GCC compiler version. ============================================================================================================================================================================================================= | GCC compiler version--------9.3.0-----------------------------------------------------------------------------------------------------------------------------------------------------------------INFO | | Command:gcc --version | Console output file: /home/test/intel/diagnostics/diagnostics_nnladtldev-01_20210831-142405.txt JSON output file: /home/test/intel/diagnostics/diagnostics_nnladtldev-01_20210831-142405.json

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.