Skip to content

undefined symbol 'zeDeviceGetRootDevice' when executing sycl-ls #2742

Open
@jinz2014

Description

@jinz2014

[INFO]: failed to load adapter 'libur_adapter_level_zero.so.0' with error: /storage/users/abc/intel/oneapi/compiler/2025.0/lib/libur_adapter_level_zero.so.0: undefined symbol: zeDeviceGetRootDevice
[INFO]: failed to load adapter '/storage/users/abc/intel/oneapi/compiler/2025.0/lib/libur_adapter_level_zero.so.0' with error: /storage/users/abc/intel/oneapi/compiler/2025.0/lib/libur_adapter_level_zero.so.0: undefined symbol: zeDeviceGetRootDevice
[INFO]: loaded adapter 0x0x55a50b90de20 (libur_adapter_opencl.so.0)
[INFO]: failed to load adapter 'libur_adapter_cuda.so.0' with error: libcuda.so.1: cannot open shared object file: No such file or directory
[INFO]: failed to load adapter '/storage/users/abc/intel/oneapi/compiler/2025.0/lib/libur_adapter_cuda.so.0' with error: libcuda.so.1: cannot open shared object file: No such file or directory
[INFO]: failed to load adapter 'libur_adapter_hip.so.0' with error: libamd_comgr.so.2: cannot open shared object file: No such file or directory
[INFO]: failed to load adapter '/storage/users/abc/intel/oneapi/compiler/2025.0/lib/libur_adapter_hip.so.0' with error: libamd_comgr.so.2: cannot open shared object file: No such file or directory
[INFO]: failed to load adapter 'libur_adapter_native_cpu.so.0' with error: libur_adapter_native_cpu.so.0: cannot open shared object file: No such file or directory
[INFO]: failed to load adapter '/storage/users/abc/intel/oneapi/compiler/2025.0/lib/libur_adapter_native_cpu.so.0' with error: /storage/users/abc/intel/oneapi/compiler/2025.0/lib/libur_adapter_native_cpu.so.0: cannot open shared object file: No such file or directory
[opencl:cpu][opencl:0] Intel(R) OpenCL, Intel(R) Xeon(R) Silver 4410T OpenCL 3.0 (Build 0) [2024.18.10.0.08_160000]
[opencl:gpu][opencl:1] Intel(R) OpenCL Graphics, Intel(R) Data Center GPU Max 1100 OpenCL 3.0 NEO [25.05.32567.17]
[opencl:cpu][opencl:2] Intel(R) OpenCL, Intel(R) Xeon(R) Silver 4410T OpenCL 3.0 (Build 0) [2024.18.12.0.05_160000]

Note

[levelzero:gpu] is not in the list, which seems required for Intel PyTorch extension. Several versions of oneAPIs that are installed using the offline script on Ubuntu 22.04 have seen the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglevel-zeroL0 adapter specific issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions