Get Started
To run the Diagnostics Utility for Intel® oneAPI Toolkits:
Open a terminal. Put the location of the diagnostic utility in the PATH. If you installed you oneAPI toolkit in the default directory, then the utility will be located in /opt/intel/oneapi/diagnostics/latest.
Run the Diagnostics Utility for Intel® oneAPI Toolkits using this syntax:
python3 diagnostics.py --filter <ARGUMENT_NAME>
The filter modifier specifies how many checks to run at one time. With a filter, you can run a group of checks or a single check. In this example, you will run all available checks, using the all argument:
python3 diagnostics.py --filter all
The output will display in the active console and in:
a text file (.txt)
a JSON file (.json)
Checks listed at the top of the list have higher priority and may have dependent checks further down the list. When diagnosing problems, start by troubleshooting the checks at the top of the list.
The default directory of the output files is $HOME/intel/diagnostics/logs for Linux.
To customize the default directory, see Diagnostic Utility Check Options.
To increase the amount of detail, add the -v argument:
python3 diagnostics.py --filter all -v
The Diagnostics Utility for Intel® oneAPI Toolkits can be customized to output only the data you need. Use these methods to customize the command for your needs:
List of Checks by Check Name
Note: the checks below are all supported on Linux.
Check Name |
the name of the diagnostic check that can be run in the command line. |
Group |
Checks are grouped together so that you can run multiple checks using one command. For example, you can run all checks associated with GPUs by using the GPU argument. |
Rights |
the permissions needed to run this check. |
Description |
a short description of the check. |
The table below shows the list of checks and which groups can also be used to run that check.
Check Name |
Groups where check is included |
Description |
---|---|---|
hangcheck_check |
gpu |
This check verifies that the GPU hangcheck option is disabled to allow long-running jobs. |
user_group_check |
default |
This check verifies that the current user is in the same group as the GPU(s). |
driver_compatibility_check |
compile |
This check verifies compatibility of oneAPI products versions and GPU drivers versions. |
oneapi_gpu_check |
gpu |
This check makes sure the i915 Linux graphics driver is loaded and also looks for i915 Linux graphics driver error messages. |
gpu_metrics_check |
gpu |
This check verifies that GPU metrics are good. |
gpu_backend_check |
compile |
This check shows information from OpenCL™ and Intel® oneAPI Level Zero drivers. |
oneapi_app_check |
compile |
This check shows version information of installed oneAPI products. |
intel_gpu_detector_check |
profiling |
When using the i915 Linux kernel graphics driver this check shows which Intel GPU(s) is on the system based on lspci information and internal table. |
oneapi_env_check |
compile |
This check shows the version information of the oneAPI products installed in the environment. |
gcc_version_check |
compile |
This check shows information about GCC compiler version. |
base_system_check |
compile |
This check shows information about hostname, CPU, BIOS and operating system. |
kernel_options_check |
runtime |
This check shows kernel options. |
user_resources_limits_check |
compile |
This check shows limits of each resource. |
sys_check |
not included in any groups |
Some oneAPI components may have checks specific to that component. These checks will be available after setting environment variables using the setvars script. Run the script and then run the Diagnostics Utility with the sys_check name to see checks that are specific to installed components. |
Information about product-specific sys_check’s can be found in the table below:
Check Name |
Product |
What check is doing? |
Toolkit |
---|---|---|---|
debugger_sys_check |
Intel® Distribution for GDB* |
This check verifies platform readiness for GPU workloads debugging. It checks presence of libipt and libiga, version of Linux* kernel, correctness of required environment variables and i915 debug support in kernel |
Intel® oneAPI Base Toolkit |
advisor_sys_check |
Intel® Advisor |
This check verifies version of Linux kernel and state of dev.i915.perf_stream_paranoid option |
Intel® oneAPI Base Toolkit |
vtune_sys_check |
Intel® VTune™ Profiler |
This check verifies platform readiness for GPU analysis. |
Intel® oneAPI Base Toolkit |
dpcpp_ct_sys_check |
Intel® DPC++ Compatibility Tool |
This check verifies presence of installed Python 3 on machine. |
Intel® oneAPI Base Toolkit |
dpcpp_compiler_sys_check |
Intel® oneAPI DPC++/C++ Compiler |
During this check Diagnostics Utility verifies presence of gcc compiler, its version and platform configuration for FPGA bitstream generation |
Intel® oneAPI Base Toolkit |
To learn more about the output, see ERROR, FAIL, and WARNING Status.
List of Checks by Group Name
Check Name: the name of the diagnostic check that can be run in the command line.
Group: Checks are grouped together so that you can run multiple checks using one command. For example, you can run all checks associated with GPUs by using the gpu argument.
For a description of what each check does and what permissions are needed to run the check, see List of Checks by Check Name.
Group of Checks |
Checks included |
---|---|
compile |
driver_compatibility_check |
default |
user_group_check |
host |
driver_compatibility_check |
runtime |
hangcheck_check |
sysinfo |
hangcheck_check |
target |
hangcheck_check |
gpu |
hangcheck_check |
profiling |
hangcheck_check |