Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build issues: Error! Loading of FCL library has failed! Filename: libigdfcl.so.1 #682

Open
pvelesko opened this issue Oct 1, 2023 · 27 comments
Labels
IGC Issue related to IGC

Comments

@pvelesko
Copy link

pvelesko commented Oct 1, 2023

[ 59%] Generating ../../../../bin/built_ins/x64/spirv/fill_image3d.spv
Error! Loading of FCL library has failed! Filename: libigdfcl.so.1
Error! FCL initialization failure. Error code = -6
Command was: /home/pvelesko/intel-compute-runtime-build/neo/build/bin/ocloc -q -spv_only -file /home/pvelesko/intel-compute-runtime-build/neo/shared/source/built_ins/kernels/fill_image3d.builtin_kernel -out_dir /home/pvelesko/intel-compute-runtime-build/neo/build/bin/built_ins/x64/spirv/ -output_no_suffix -options "-cl-kernel-arg-info"
make[2]: *** [shared/source/built_ins/kernels/CMakeFiles/builtins_spirv.dir/build.make:220: bin/built_ins/x64/spirv/fill_image3d.spv] Error 250
make[1]: *** [CMakeFiles/Makefile2:38628: shared/source/built_ins/kernels/CMakeFiles/builtins_spirv.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
@JablonskiMateusz
Copy link
Contributor

Hi @pvelesko
it seems you have no igc installed on the system. You need IGC/GMM/Level zero dependencies based on release notes

@pvelesko
Copy link
Author

pvelesko commented Oct 5, 2023

This is part of my install script: https://github.com/pvelesko/intel-compute-runtime-build @JablonskiMateusz

I guess I'm missing -DIGC_DIR=?

@JablonskiMateusz
Copy link
Contributor

I'm not expert in building from source but I hope that if you build and install IGC, you should have both libigc and libigdfcl libraries installed on the system

@pvelesko
Copy link
Author

pvelesko commented Oct 6, 2023

I'm trying to install it on a shared system where I don't have root

@JablonskiMateusz
Copy link
Contributor

you could try to build igc packages and then extract them to location where you have access and then somehow point them so pkg-config finds it on cmake generation when building neo

@pvelesko
Copy link
Author

Specifying -DIGC_DIR= solves the issue.

@pvelesko
Copy link
Author

After install, level zero doesn't detect a device. Are the any debug options to check if the kernel space driver installed works for the neo release? @JablonskiMateusz

@pvelesko pvelesko reopened this Jan 5, 2024
@pvelesko
Copy link
Author

pvelesko commented Jan 5, 2024

This issue is still persistent when trying to build on another system.

+ echo 'cmake -G Unix' 'Makefiles -S neo -B neo/build -DCMAKE_INSTALL_PREFIX=/home/pvelesko/install/intel-compute-runtime/neo/23.43.27642.21 -DGMM_DIR=/home/pvelesko/install/intel-compute-runtime/gmmlib/ -DCMAKE_PREFIX_PATH=/home/pvelesko/install/intel-compute-runtime/igsc/ -DSKIP_UNIT_TESTS=ON -DOCL_ICD_VENDORDIR=/home/pvelesko/install/intel-compute-runtime/neo/23.43.27642.21/etc/OpenCL/vendors -DLevelZero_INCLUDE_DIR=/home/pvelesko/install/intel-compute-runtime/level-zero/23.43.27642.21/include'
cmake -G Unix Makefiles -S neo -B neo/build -DCMAKE_INSTALL_PREFIX=/home/pvelesko/install/intel-compute-runtime/neo/23.43.27642.21 -DGMM_DIR=/home/pvelesko/install/intel-compute-runtime/gmmlib/ -DCMAKE_PREFIX_PATH=/home/pvelesko/install/intel-compute-runtime/igsc/ -DSKIP_UNIT_TESTS=ON -DOCL_ICD_VENDORDIR=/home/pvelesko/install/intel-compute-runtime/neo/23.43.27642.21/etc/OpenCL/vendors -DLevelZero_INCLUDE_DIR=/home/pvelesko/install/intel-compute-runtime/level-zero/23.43.27642.21/include
+ cmake -G 'Unix Makefiles' -S neo -B neo/build -DCMAKE_INSTALL_PREFIX=/home/pvelesko/install/intel-compute-runtime/neo/23.43.27642.21 -DIGC_DIR=/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7 -DGMM_DIR=/home/pvelesko/install/intel-compute-runtime/gmmlib/ -DCMAKE_PREFIX_PATH=/home/pvelesko/install/intel-compute-runtime/igsc/ -DSKIP_UNIT_TESTS=ON -DOCL_ICD_VENDORDIR=/home/pvelesko/install/intel-compute-runtime/neo/23.43.27642.21/etc/OpenCL/vendors -DLevelZero_INCLUDE_DIR=/home/pvelesko/install/intel-compute-runtime/level-zero/23.43.27642.21/include
CMake Deprecation Warning at CMakeLists.txt:10 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- branch dir list: /
-- Host processor: x86_64
-- Target processor: x86_64
-- Neo target processor: x86_64
-- CMAKE_BUILD_TYPE not specified, using Release
-- Performing Test COMPILER_SUPPORTS_LLD
-- Performing Test COMPILER_SUPPORTS_LLD - Failed
-- Performing Test COMPILER_SUPPORTS_GOLD
-- Performing Test COMPILER_SUPPORTS_GOLD - Success
-- Using linker: default
-- Release build configuration
-- Aub Stream Headers dir: /home/pvelesko/intel-compute-runtime-build/neo/third_party/aub_stream
-- Khronos OpenCL headers dir: /home/pvelesko/intel-compute-runtime-build/neo/third_party/opencl_headers
-- Khronos OpenGL headers dir: /home/pvelesko/intel-compute-runtime-build/neo/third_party/opengl_headers
-- AOT config headers dir: /home/pvelesko/intel-compute-runtime-build/neo/third_party/aot_config_headers
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Checking for module 'igc-opencl'
--   Found igc-opencl, version 1.0.1
-- IGC include dirs: /home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/include/igc;/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/include/igc/cif;/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/include/igc/ocl_igc_shared/executable_format;/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/include/igc/ocl_igc_shared/device_enqueue
-- VISA Dir: /home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/include/visa
-- IGA Includes dir: /home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/include/iga
-- Checking for module 'igdgmm'
--   Found igdgmm, version 12.3.0
-- GmmLib include dirs: /home/pvelesko/install/intel-compute-runtime/gmmlib/include/igdgmm;/home/pvelesko/install/intel-compute-runtime/gmmlib/include/igdgmm/GmmLib;/home/pvelesko/install/intel-compute-runtime/gmmlib/include/igdgmm/GmmLib/inc;/home/pvelesko/install/intel-compute-runtime/gmmlib/include/igdgmm/inc;/home/pvelesko/install/intel-compute-runtime/gmmlib/include/igdgmm/inc/common;/home/pvelesko/install/intel-compute-runtime/gmmlib/include/igdgmm/util
-- Checking for module 'libigdml'
--   No package 'libigdml' found
-- Metrics Library dir: /home/pvelesko/intel-compute-runtime-build/neo/third_party/metrics_library
-- Checking for module 'libigdmd'
--   No package 'libigdmd' found
-- Metrics Discovery dir: /home/pvelesko/intel-compute-runtime-build/neo/third_party/metrics_discovery
-- Checking for module 'libva>=1.0.0'
--   No package 'libva' found
-- AUB_STREAM_DIR =
-- Engine node dir: /home/pvelesko/intel-compute-runtime-build/neo/third_party/aub_stream
-- All supported platforms:  PVC MTL DG2 ARL TGLLP DG1 RKL ADLS ADLP ADLN ICLLP LKF EHL SKL KBL GLK CFL BXT BDW
-- All tested platforms:
-- Default supported platform: PVC
-- Default tested platform:
-- All supported core families: GEN8;GEN9;GEN11;GEN12LP;XE_HPG_CORE;XE_HPC_CORE
-- All tested core families:
-- Default tested family name:
-- Platforms to have WDDM_LINUX disabled: PVC
-- WDK include paths: /home/pvelesko/intel-compute-runtime-build/neo/third_party/DirectX-Headers/include/wsl;/home/pvelesko/intel-compute-runtime-build/neo/third_party/DirectX-Headers/include/wsl/stubs;/home/pvelesko/intel-compute-runtime-build/neo/third_party/DirectX-Headers/include/directx;/home/pvelesko/intel-compute-runtime-build/neo/third_party/DirectX-Headers/include/dxguids;/home/pvelesko/intel-compute-runtime-build/neo/third_party/libdxg/include/
-- Driver model : drm_or_wddm
-- i915 prelim headers detection: FALSE
-- Xe drm detection: FALSE
-- i915 includes dir: /home/pvelesko/intel-compute-runtime-build/neo/third_party/uapi
-- Neo kernels build type dir: release
-- Performing Test COMPILER_SUPPORTS_INDIRECT_BRANCH_THUNK
-- Performing Test COMPILER_SUPPORTS_INDIRECT_BRANCH_THUNK - Success
-- Performing Test COMPILER_SUPPORTS_FUNCTION_RETURN_THUNK
-- Performing Test COMPILER_SUPPORTS_FUNCTION_RETURN_THUNK - Success
-- Performing Test COMPILER_SUPPORTS_INDIRECT_BRANCH_REGISTER
-- Performing Test COMPILER_SUPPORTS_INDIRECT_BRANCH_REGISTER - Success
-- Performing Test COMPILER_SUPPORTS_SSE42
-- Performing Test COMPILER_SUPPORTS_SSE42 - Success
-- Performing Test COMPILER_SUPPORTS_AVX2
-- Performing Test COMPILER_SUPPORTS_AVX2 - Success
-- Performing Test COMPILER_SUPPORTS_NEON
-- Performing Test COMPILER_SUPPORTS_NEON - Failed
-- L0: Selected platforms for testing are not supported. Skipping tests.
-- Level Zero driver version: 1.3.27642
-- Found LevelZero: /home/pvelesko/install/intel-compute-runtime/level-zero/23.43.27642.21/include
-- LevelZero_INCLUDE_DIRS: /home/pvelesko/install/intel-compute-runtime/level-zero/23.43.27642.21/include
-- LibGenl headers directory: /usr/include/libnl3
-- libudev headers directory: /usr/include
-- igsc Library headers directory: /home/pvelesko/intel-compute-runtime-build/igsc/include
-- igsc version: 0.8.16
-- L0::Igc Dir: /home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7
-- L0::Gmm Dir: /home/pvelesko/install/intel-compute-runtime/gmmlib
-- Prebuilt kernels are linked to Level Zero.
CMake Deprecation Warning at os_release_info.cmake:16 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  package.cmake:43 (include)
  CMakeLists.txt:905 (include)


-- Configuring done (2.6s)
-- Generating done (4.0s)
-- Build files have been written to: /home/pvelesko/intel-compute-runtime-build/neo/build
++ nproc
+ cmake --build neo/build --config Release -j 104
[  0%] Built target builtins_arl_bindless
[  0%] Built target copy_compiler_files
[  0%] Built target builtins_arl_stateless
[  0%] Built target builtins_arl_bindful
[  0%] Built target builtins_vme_sources
[  0%] Built target run_unit_tests
[  0%] Built target unit_tests
[  1%] Built target igdrcl_lib_release_sharings_enable
[  1%] Built target cpp_generate_tool
[  1%] Built target builtins_sources
[  1%] Built target builtins_vme
[  1%] Built target builtins_arl
[  3%] Built target ocloc_lib
[  3%] Built target ocloc
[  3%] Generating ../../../../bin/built_ins/x64/spirv/aux_translation.spv
[  3%] Generating ../../../../bin/built_ins/x64/spirv/fill_image3d.spv
[  4%] Generating ../../../../bin/built_ins/x64/spirv/copy_buffer_rect.spv
[  4%] Generating ../../../../bin/built_ins/x64/spirv/copy_buffer_rect_stateless.spv
[  4%] Generating ../../../../bin/built_ins/x64/spirv/copy_buffer_to_buffer.spv
[  4%] Generating ../../../../bin/built_ins/x64/spirv/copy_buffer_to_buffer_stateless.spv
[  4%] Generating ../../../../bin/built_ins/x64/spirv/copy_buffer_to_image3d.spv
[  4%] Generating ../../../../bin/built_ins/x64/spirv/copy_buffer_to_image3d_stateless.spv
[  4%] Generating ../../../../bin/built_ins/x64/spirv/copy_image3d_to_buffer_stateless.spv
[  4%] Generating ../../../../bin/built_ins/x64/spirv/copy_image_to_image2d.spv
[  4%] Generating ../../../../bin/built_ins/x64/spirv/copy_image3d_to_buffer.spv
[  4%] Generating ../../../../bin/built_ins/x64/spirv/copy_image_to_image3d.spv
[  4%] Generating ../../../../bin/built_ins/x64/spirv/copy_image_to_image1d.spv
[  4%] Generating ../../../../bin/built_ins/x64/spirv/copy_kernel_timestamps.spv
[  4%] Generating ../../../../bin/built_ins/x64/spirv/fill_buffer_stateless.spv
[  4%] Generating ../../../../bin/built_ins/x64/spirv/fill_buffer.spv
[  4%] Generating ../../../../bin/built_ins/x64/spirv/fill_image2d.spv
[  4%] Generating ../../../../bin/built_ins/x64/spirv/fill_image1d.spv
Error! Loading of FCL library has failed! Filename: libigdfcl.so.1
Error! FCL initialization failure. Error code = -6
Command was: /home/pvelesko/intel-compute-runtime-build/neo/build/bin/ocloc -q -spv_only -file /home/pvelesko/intel-compute-runtime-build/neo/shared/source/built_ins/kernels/aux_translation.builtin_kernel -out_dir /home/pvelesko/intel-compute-runtime-build/neo/build/bin/built_ins/x64/spirv/ -output_no_suffix -options "-cl-kernel-arg-info"
Error! Loading of FCL library has failed! Filename: libigdfcl.so.1
Error! FCL initialization failure. Error code = -6

I can see this library exists

╭─pvelesko@aurora-uan-0010 ~/intel-compute-runtime-build ‹main●›
╰─$ find ~/install/intel-compute-runtime -name "libigdfcl.so.1"                                                                                                                130 ↵
/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/libigdfcl.so.1

Trying to run the command by itself:

╭─pvelesko@aurora-uan-0010 ~/intel-compute-runtime-build ‹main●›
╰─$ /home/pvelesko/intel-compute-runtime-build/neo/build/bin/ocloc -q -file /home/pvelesko/intel-compute-runtime-build/neo/shared/source/built_ins/kernels/copy_buffer_to_buffer_stateless.builtin_kernel -spv_only -device cfl -cl-intel-greater-than-4GB-buffer-required -64 -output stateless_copy_buffer_to_buffer_stateless -out_dir /home/pvelesko/intel-compute-runtime-build/neo/build/bin/built_ins/x64/gen9 -options "-cl-kernel-arg-info"
/home/pvelesko/intel-compute-runtime-build/neo/build/bin/ocloc: error while loading shared libraries: libocloc.so: cannot open shared object file: No such file or directory

But I know that this library has already been built in the neo/build:

╭─pvelesko@aurora-uan-0010 ~/intel-compute-runtime-build ‹main●›
╰─$ find ./neo/build -name "libocloc.so"                                                                                                                                       130 ↵
./neo/build/bin/libocloc.so

so let's LD_LIBRARY_PATH

╭─pvelesko@aurora-uan-0010 ~/intel-compute-runtime-build ‹main●›
╰─$ export LD_LIBRARY_PATH=/home/pvelesko/intel-compute-runtime-build/neo/build/bin:$LD_LIBRARY_PATH
╭─pvelesko@aurora-uan-0010 ~/intel-compute-runtime-build ‹main●›
╰─$ /home/pvelesko/intel-compute-runtime-build/neo/build/bin/ocloc -q -file /home/pvelesko/intel-compute-runtime-build/neo/shared/source/built_ins/kernels/copy_buffer_to_buffer_stateless.builtin_kernel -spv_only -device cfl -cl-intel-greater-than-4GB-buffer-required -64 -output stateless_copy_buffer_to_buffer_stateless -out_dir /home/pvelesko/intel-compute-runtime-build/neo/build/bin/built_ins/x64/gen9 -options "-cl-kernel-arg-info"
: CommandLine Error: Option 'spirv-text' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
[5]    56086 abort (core dumped)  /home/pvelesko/intel-compute-runtime-build/neo/build/bin/ocloc -q -file    cf
╭─pvelesko@aurora-uan-0010 ~/intel-compute-runtime-build ‹main●›

then I checked make VERBOSE=1 and found that LD_LIBRARY_PATH is explicitly overridden by CMake:

cd /home/pvelesko/intel-compute-runtime-build/neo/shared/source/built_ins/kernels && /home/pvelesko/install/cmake/bin/cmake -E env LD_LIBRARY_PATH=:/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/:/home/pvelesko/intel-compute-runtime-build/neo/build/bin /home/pvelesko/intel-compute-runtime-build/neo/build/bin/ocloc -q -spv_only -file /home/pvelesko/intel-compute-runtime-build/neo/shared/source/built_ins/kernels/fill_image3d.builtin_kernel -out_dir /home/pvelesko/intel-compute-runtime-build/neo/build/bin/built_ins/x64/spirv/ -output_no_suffix -options -cl-kernel-arg-info
Error! Loading of FCL library has failed! Filename: libigdfcl.so.1
Error! FCL initialization failure. Error code = -6
Command was: /home/pvelesko/intel-compute-runtime-build/neo/build/bin/ocloc -q -spv_only -file /home/pvelesko/intel-compute-runtime-build/neo/shared/source/built_ins/kernels/fill_image3d.builtin_kernel -out_dir /home/pvelesko/intel-compute-runtime-build/neo/build/bin/built_ins/x64/spirv/ -output_no_suffix -options "-cl-kernel-arg-info"

finally, strace

╭─pvelesko@aurora-uan-0010 ~/intel-compute-runtime-build/neo/shared/source/built_ins/kernels ‹23.43.27642.21›
╰─$ LD_LIBRARY_PATH=:/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/:/home/pvelesko/intel-compute-runtime-build/neo/build/bin strace /home/pvelesko/intel-compute-runtime-build/neo/build/bin/ocloc -q -spv_only -file /home/pvelesko/intel-compute-runtime-build/neo/shared/source/built_ins/kernels/fill_image3d.builtin_kernel -out_dir /home/pvelesko/intel-compute-runtime-build/neo/build/bin/built_ins/x64/spirv/ -output_no_suffix -options -cl-kernel-arg-info
execve("/home/pvelesko/intel-compute-runtime-build/neo/build/bin/ocloc", ["/home/pvelesko/intel-compute-run"..., "-q", "-spv_only", "-file", "/home/pvelesko/intel-compute-run"..., "-out_dir", "/home/pvelesko/intel-compute-run"..., "-output_no_suffix", "-options", "-cl-kernel-arg-info"], 0x7fff47d64e78 /* 104 vars */) = 0
brk(NULL)                               = 0x1500000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0af4639000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/avx512_1/x86_64/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/avx512_1/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/x86_64/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/avx512_1/x86_64/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/avx512_1/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/x86_64/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/avx512_1/x86_64/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/avx512_1/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/x86_64/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "avx512_1/x86_64/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "avx512_1/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "x86_64/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/tls/haswell/avx512_1/x86_64/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/tls/haswell/avx512_1/x86_64", 0x7ffe2fe2de90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/tls/haswell/avx512_1/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/tls/haswell/avx512_1", 0x7ffe2fe2de90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/tls/haswell/x86_64/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/tls/haswell/x86_64", 0x7ffe2fe2de90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/tls/haswell/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/tls/haswell", 0x7ffe2fe2de90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/tls/avx512_1/x86_64/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/tls/avx512_1/x86_64", 0x7ffe2fe2de90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/tls/avx512_1/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/tls/avx512_1", 0x7ffe2fe2de90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/tls/x86_64/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/tls/x86_64", 0x7ffe2fe2de90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/tls/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/tls", 0x7ffe2fe2de90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/haswell/avx512_1/x86_64/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/haswell/avx512_1/x86_64", 0x7ffe2fe2de90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/haswell/avx512_1/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/haswell/avx512_1", 0x7ffe2fe2de90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/haswell/x86_64/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/haswell/x86_64", 0x7ffe2fe2de90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/haswell/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/haswell", 0x7ffe2fe2de90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/avx512_1/x86_64/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/avx512_1/x86_64", 0x7ffe2fe2de90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/avx512_1/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/avx512_1", 0x7ffe2fe2de90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/x86_64/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/x86_64", 0x7ffe2fe2de90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/home/pvelesko/intel-compute-runtime-build/neo/build/bin/tls/haswell/avx512_1/x86_64/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/intel-compute-runtime-build/neo/build/bin/tls/haswell/avx512_1/x86_64", 0x7ffe2fe2de90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/intel-compute-runtime-build/neo/build/bin/tls/haswell/avx512_1/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/intel-compute-runtime-build/neo/build/bin/tls/haswell/avx512_1", 0x7ffe2fe2de90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/intel-compute-runtime-build/neo/build/bin/tls/haswell/x86_64/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/intel-compute-runtime-build/neo/build/bin/tls/haswell/x86_64", 0x7ffe2fe2de90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/intel-compute-runtime-build/neo/build/bin/tls/haswell/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/intel-compute-runtime-build/neo/build/bin/tls/haswell", 0x7ffe2fe2de90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/intel-compute-runtime-build/neo/build/bin/tls/avx512_1/x86_64/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/intel-compute-runtime-build/neo/build/bin/tls/avx512_1/x86_64", 0x7ffe2fe2de90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/intel-compute-runtime-build/neo/build/bin/tls/avx512_1/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/intel-compute-runtime-build/neo/build/bin/tls/avx512_1", 0x7ffe2fe2de90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/intel-compute-runtime-build/neo/build/bin/tls/x86_64/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/intel-compute-runtime-build/neo/build/bin/tls/x86_64", 0x7ffe2fe2de90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/intel-compute-runtime-build/neo/build/bin/tls/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/intel-compute-runtime-build/neo/build/bin/tls", 0x7ffe2fe2de90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/intel-compute-runtime-build/neo/build/bin/haswell/avx512_1/x86_64/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/intel-compute-runtime-build/neo/build/bin/haswell/avx512_1/x86_64", 0x7ffe2fe2de90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/intel-compute-runtime-build/neo/build/bin/haswell/avx512_1/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/intel-compute-runtime-build/neo/build/bin/haswell/avx512_1", 0x7ffe2fe2de90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/intel-compute-runtime-build/neo/build/bin/haswell/x86_64/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/intel-compute-runtime-build/neo/build/bin/haswell/x86_64", 0x7ffe2fe2de90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/intel-compute-runtime-build/neo/build/bin/haswell/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/intel-compute-runtime-build/neo/build/bin/haswell", 0x7ffe2fe2de90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/intel-compute-runtime-build/neo/build/bin/avx512_1/x86_64/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/intel-compute-runtime-build/neo/build/bin/avx512_1/x86_64", 0x7ffe2fe2de90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/intel-compute-runtime-build/neo/build/bin/avx512_1/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/intel-compute-runtime-build/neo/build/bin/avx512_1", 0x7ffe2fe2de90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/intel-compute-runtime-build/neo/build/bin/x86_64/libocloc.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/pvelesko/intel-compute-runtime-build/neo/build/bin/x86_64", 0x7ffe2fe2de90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/intel-compute-runtime-build/neo/build/bin/libocloc.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1961544, ...}) = 0
mmap(NULL, 1934856, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0af4460000
mmap(0x7f0af45f3000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x193000) = 0x7f0af45f3000
mmap(0x7f0af45fb000, 251400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f0af45fb000
close(3)                                = 0
openat(AT_FDCWD, "tls/haswell/avx512_1/x86_64/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/avx512_1/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/x86_64/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/avx512_1/x86_64/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/avx512_1/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/x86_64/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/avx512_1/x86_64/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/avx512_1/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/x86_64/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "avx512_1/x86_64/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "avx512_1/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "x86_64/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/intel-compute-runtime-build/neo/build/bin/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=81056, ...}) = 0
mmap(NULL, 81056, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0af444c000
close(3)                                = 0
openat(AT_FDCWD, "/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=18120, ...}) = 0
mmap(NULL, 16688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0af4447000
mmap(0x7f0af444a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f0af444a000
close(3)                                = 0
openat(AT_FDCWD, "tls/haswell/avx512_1/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/avx512_1/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/avx512_1/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/avx512_1/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/avx512_1/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/avx512_1/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "avx512_1/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "avx512_1/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/intel-compute-runtime-build/neo/build/bin/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\236\222\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=162000, ...}) = 0
mmap(NULL, 146104, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0af4423000
mmap(0x7f0af4441000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1d000) = 0x7f0af4441000
mmap(0x7f0af4443000, 15032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f0af4443000
close(3)                                = 0
openat(AT_FDCWD, "tls/haswell/avx512_1/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/avx512_1/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/avx512_1/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/avx512_1/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/avx512_1/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/avx512_1/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "avx512_1/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "avx512_1/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/intel-compute-runtime-build/neo/build/bin/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 O\n\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=2227376, ...}) = 0
mmap(NULL, 4335744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0af4000000
mprotect(0x7f0af4213000, 2093056, PROT_NONE) = 0
mmap(0x7f0af4412000, 57344, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x212000) = 0x7f0af4412000
mmap(0x7f0af4420000, 10368, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f0af4420000
close(3)                                = 0
openat(AT_FDCWD, "tls/haswell/avx512_1/x86_64/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/avx512_1/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/x86_64/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/avx512_1/x86_64/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/avx512_1/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/x86_64/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/avx512_1/x86_64/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/avx512_1/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/x86_64/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "avx512_1/x86_64/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "avx512_1/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "x86_64/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/intel-compute-runtime-build/neo/build/bin/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1463568, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0af3ffe000
mmap(NULL, 1354328, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0af3eb3000
mmap(0x7f0af3ffb000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x148000) = 0x7f0af3ffb000
close(3)                                = 0
openat(AT_FDCWD, "tls/haswell/avx512_1/x86_64/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/avx512_1/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/x86_64/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/avx512_1/x86_64/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/avx512_1/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/x86_64/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/avx512_1/x86_64/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/avx512_1/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/x86_64/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "avx512_1/x86_64/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "avx512_1/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "x86_64/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/intel-compute-runtime-build/neo/build/bin/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\00004\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=125640, ...}) = 0
mmap(NULL, 2221160, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0af3c94000
mprotect(0x7f0af3cb1000, 2097152, PROT_NONE) = 0
mmap(0x7f0af3eb1000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1d000) = 0x7f0af3eb1000
close(3)                                = 0
openat(AT_FDCWD, "tls/haswell/avx512_1/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/avx512_1/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/avx512_1/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/avx512_1/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/avx512_1/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/avx512_1/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "avx512_1/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "avx512_1/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/intel-compute-runtime-build/neo/build/bin/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\316S\3\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=2296360, ...}) = 0
mmap(NULL, 2050104, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0af3a9f000
mmap(0x7f0af3c85000, 45056, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e6000) = 0x7f0af3c85000
mmap(0x7f0af3c90000, 14392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f0af3c90000
close(3)                                = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0af3a9d000
arch_prctl(ARCH_SET_FS, 0x7f0af3a9e100) = 0
mprotect(0x7f0af3c85000, 12288, PROT_READ) = 0
mprotect(0x7f0af3eb1000, 4096, PROT_READ) = 0
mprotect(0x7f0af3ffb000, 4096, PROT_READ) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0af3a9b000
mprotect(0x7f0af4412000, 45056, PROT_READ) = 0
mprotect(0x7f0af4441000, 4096, PROT_READ) = 0
mprotect(0x7f0af444a000, 4096, PROT_READ) = 0
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0af3a98000
mprotect(0x7f0af45f3000, 24576, PROT_READ) = 0
mprotect(0x401000, 4096, PROT_READ)     = 0
mprotect(0x7f0af4665000, 4096, PROT_READ) = 0
munmap(0x7f0af444c000, 81056)           = 0
set_tid_address(0x7f0af3a9e3d0)         = 56826
set_robust_list(0x7f0af3a9e3e0, 24)     = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x7f0af442bc6e, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f0af44398c0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x7f0af442bd2e, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f0af44398c0}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=300000*1024, rlim_max=RLIM64_INFINITY}) = 0
brk(NULL)                               = 0x1500000
brk(0x1521000)                          = 0x1521000
futex(0x7f0af442073c, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f0af4420748, FUTEX_WAKE_PRIVATE, 2147483647) = 0
openat(AT_FDCWD, "/home/pvelesko/intel-compute-runtime-build/neo/shared/source/built_ins/kernels/fill_image3d.builtin_kernel", O_RDONLY) = 3
close(3)                                = 0
openat(AT_FDCWD, "/home/pvelesko/intel-compute-runtime-build/neo/shared/source/built_ins/kernels/fill_image3d.builtin_kernel", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=476, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=476, ...}) = 0
lseek(3, 0, SEEK_SET)                   = 0
read(3, "/*\n * Copyright (C) 2018-2021 In"..., 476) = 476
lseek(3, 476, SEEK_SET)                 = 476
close(3)                                = 0
futex(0x7f0af444b0e8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
openat(AT_FDCWD, "tls/haswell/avx512_1/x86_64/libigdfcl.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/avx512_1/libigdfcl.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/x86_64/libigdfcl.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/libigdfcl.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/avx512_1/x86_64/libigdfcl.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/avx512_1/libigdfcl.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/x86_64/libigdfcl.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/libigdfcl.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/avx512_1/x86_64/libigdfcl.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/avx512_1/libigdfcl.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/x86_64/libigdfcl.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/libigdfcl.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "avx512_1/x86_64/libigdfcl.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "avx512_1/libigdfcl.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "x86_64/libigdfcl.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "libigdfcl.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/libigdfcl.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=6971160, ...}) = 0
mmap(NULL, 726496, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0af39e6000
mmap(0x7f0af3a0e000, 565248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27000) = 0x7f0af3a0e000
close(3)                                = 0
openat(AT_FDCWD, "tls/haswell/avx512_1/x86_64/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/avx512_1/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/x86_64/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/avx512_1/x86_64/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/avx512_1/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/x86_64/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/avx512_1/x86_64/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/avx512_1/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/x86_64/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "avx512_1/x86_64/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "avx512_1/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "x86_64/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/intel-compute-runtime-build/neo/build/bin/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=81056, ...}) = 0
mmap(NULL, 81056, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0af444c000
close(3)                                = 0
openat(AT_FDCWD, "/lib64/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=44904, ...}) = 0
mmap(NULL, 39904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0af39dc000
mmap(0x7f0af39e4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f0af39e4000
close(3)                                = 0
openat(AT_FDCWD, "tls/haswell/avx512_1/x86_64/libopencl-clang.so.14", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/avx512_1/libopencl-clang.so.14", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/x86_64/libopencl-clang.so.14", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/libopencl-clang.so.14", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/avx512_1/x86_64/libopencl-clang.so.14", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/avx512_1/libopencl-clang.so.14", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/x86_64/libopencl-clang.so.14", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/libopencl-clang.so.14", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/avx512_1/x86_64/libopencl-clang.so.14", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/avx512_1/libopencl-clang.so.14", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/x86_64/libopencl-clang.so.14", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/libopencl-clang.so.14", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "avx512_1/x86_64/libopencl-clang.so.14", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "avx512_1/libopencl-clang.so.14", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "x86_64/libopencl-clang.so.14", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "libopencl-clang.so.14", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/libopencl-clang.so.14", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=39802544, ...}) = 0
mmap(NULL, 38741352, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0af14e9000
mmap(0x7f0af178a000, 35975168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2a0000) = 0x7f0af178a000
mmap(0x7f0af39d9000, 9576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f0af39d9000
close(3)                                = 0
openat(AT_FDCWD, "tls/haswell/avx512_1/x86_64/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/avx512_1/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/x86_64/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/avx512_1/x86_64/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/avx512_1/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/x86_64/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/avx512_1/x86_64/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/avx512_1/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/x86_64/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "avx512_1/x86_64/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "avx512_1/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "x86_64/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/intel-compute-runtime-build/neo/build/bin/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@'\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=92224, ...}) = 0
mmap(NULL, 2187280, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0af12d2000
mprotect(0x7f0af12e8000, 2093056, PROT_NONE) = 0
mmap(0x7f0af14e7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7f0af14e7000
close(3)                                = 0
openat(AT_FDCWD, "tls/haswell/avx512_1/x86_64/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/avx512_1/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/x86_64/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/avx512_1/x86_64/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/avx512_1/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/x86_64/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/avx512_1/x86_64/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/avx512_1/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/x86_64/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "avx512_1/x86_64/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "avx512_1/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "x86_64/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/install/intel-compute-runtime/igc/igc-1.0.15770.7/lib64/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/pvelesko/intel-compute-runtime-build/neo/build/bin/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/tls/haswell/avx512_1/x86_64/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib64/tls/haswell/avx512_1/x86_64", 0x7ffe2fe2d420) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/tls/haswell/avx512_1/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib64/tls/haswell/avx512_1", 0x7ffe2fe2d420) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/tls/haswell/x86_64/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib64/tls/haswell/x86_64", 0x7ffe2fe2d420) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/tls/haswell/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib64/tls/haswell", 0x7ffe2fe2d420) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/tls/avx512_1/x86_64/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib64/tls/avx512_1/x86_64", 0x7ffe2fe2d420) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/tls/avx512_1/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib64/tls/avx512_1", 0x7ffe2fe2d420) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/tls/x86_64/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib64/tls/x86_64", 0x7ffe2fe2d420) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/tls/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib64/tls", 0x7ffe2fe2d420)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/haswell/avx512_1/x86_64/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib64/haswell/avx512_1/x86_64", 0x7ffe2fe2d420) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/haswell/avx512_1/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib64/haswell/avx512_1", 0x7ffe2fe2d420) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/haswell/x86_64/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib64/haswell/x86_64", 0x7ffe2fe2d420) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/haswell/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib64/haswell", 0x7ffe2fe2d420)  = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/avx512_1/x86_64/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib64/avx512_1/x86_64", 0x7ffe2fe2d420) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/avx512_1/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib64/avx512_1", 0x7ffe2fe2d420) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/x86_64/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib64/x86_64", 0x7ffe2fe2d420)   = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib64", {st_mode=S_IFDIR|0755, st_size=1960, ...}) = 0
openat(AT_FDCWD, "/usr/lib64/tls/haswell/avx512_1/x86_64/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/tls/haswell/avx512_1/x86_64", 0x7ffe2fe2d420) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/tls/haswell/avx512_1/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/tls/haswell/avx512_1", 0x7ffe2fe2d420) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/tls/haswell/x86_64/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/tls/haswell/x86_64", 0x7ffe2fe2d420) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/tls/haswell/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/tls/haswell", 0x7ffe2fe2d420) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/tls/avx512_1/x86_64/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/tls/avx512_1/x86_64", 0x7ffe2fe2d420) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/tls/avx512_1/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/tls/avx512_1", 0x7ffe2fe2d420) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/tls/x86_64/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/tls/x86_64", 0x7ffe2fe2d420) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/tls/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/tls", 0x7ffe2fe2d420)  = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/haswell/avx512_1/x86_64/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/haswell/avx512_1/x86_64", 0x7ffe2fe2d420) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/haswell/avx512_1/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/haswell/avx512_1", 0x7ffe2fe2d420) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/haswell/x86_64/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/haswell/x86_64", 0x7ffe2fe2d420) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/haswell/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/haswell", 0x7ffe2fe2d420) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/avx512_1/x86_64/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/avx512_1/x86_64", 0x7ffe2fe2d420) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/avx512_1/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/avx512_1", 0x7ffe2fe2d420) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/x86_64/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/x86_64", 0x7ffe2fe2d420) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/libLLVM-14.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64", {st_mode=S_IFDIR|0755, st_size=36220, ...}) = 0
munmap(0x7f0af444c000, 81056)           = 0
munmap(0x7f0af39e6000, 726496)          = 0
munmap(0x7f0af39dc000, 39904)           = 0
munmap(0x7f0af14e9000, 38741352)        = 0
munmap(0x7f0af12d2000, 2187280)         = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0x1f), ...}) = 0
write(1, "Error! Loading of FCL library ha"..., 67Error! Loading of FCL library has failed! Filename: libigdfcl.so.1
) = 67
write(1, "Error! FCL initialization failur"..., 51Error! FCL initialization failure. Error code = -6
) = 51
write(1, "Command was: /home/pvelesko/inte"..., 338Command was: /home/pvelesko/intel-compute-runtime-build/neo/build/bin/ocloc -q -spv_only -file /home/pvelesko/intel-compute-runtime-build/neo/shared/source/built_ins/kernels/fill_image3d.builtin_kernel -out_dir /home/pvelesko/intel-compute-runtime-build/neo/build/bin/built_ins/x64/spirv/ -output_no_suffix -options "-cl-kernel-arg-info"
) = 338
exit_group(-6)                          = ?
+++ exited with 250 +++

@pvelesko
Copy link
Author

@JablonskiMateusz ping @pengtu

@pvelesko
Copy link
Author

I see a similar issue has been open since 2020

#265

@pvelesko
Copy link
Author

I was ultimately able to resolve the issue.. Turns out that LLVM must use static linking!... I'll keep this issue open until this is either fixed or documentation is updated to reflect this requirement. @JablonskiMateusz @pengtu

@libmld-dev
Copy link

I had a similar issue with the same error. My problem was, that the FCL Library was using the SPIRV-LLVM-Translator for llvm13.

In the igc build description the package libllvmspirvlib-dev is suggested to be installed.

However, on Ubuntu 22.04.3 this will install libllvmspirvlib13, which wont work if you build with prebuild llvm14. The fix was installing libllvmspirvlib-14-dev instead.

@pvelesko
Copy link
Author

I ran into similar issues as yours as well so I ended up compiling everything from source @libmld-dev but that revealed the issue described here.

@JablonskiMateusz
Copy link
Contributor

Hi @pvelesko
from strace it looks like some missing dependencies of libigdfcl library.
From compute runtime point of view I don't see we could fix it.
Could you please open an issue in https://github.com/intel/intel-graphics-compiler/ and continue discussion there?

@pvelesko
Copy link
Author

to resolve the issue.. Turns out that LLVM must use static linking!..

From compute runtime point of view I don't see we could fix it.
Could you please open an issue in https://github.com/intel/intel-graphics-compiler/ and continue discussion there?

intel graphics compiler built successfully even with dynamically linked LLVM.

@JablonskiMateusz

@chsasank
Copy link

Hey, @pvelesko

I am facing the same issue when building compute runtime. How did you fix the issue? Can you share the exact commands?

@pvelesko
Copy link
Author

@chsasank I recompiled LLVM and used static linking which resolved this issue. This should be noted somewhere I think @JablonskiMateusz

@chsasank You can use my configure and build scripts https://github.com/pvelesko/intel-compute-runtime-build

@chsasank
Copy link

Hey, I have gone through your scripts and have not been able to find the exact line for static linking for LLVM.

@pvelesko
Copy link
Author

@chsasank

https://github.com/pvelesko/intel-compute-runtime-build/blob/main/configure-llvm.sh

this will configure a static build (default for llvm)

@chsasank
Copy link

Got it. Default for BUILD_SHARED_LIBS is indeed off. I built everything from source as well using instructions from here. That builds LLVM as well - so the build script should've explicitly turned on the BUILD_SHARED_LIBS. If can fix it, I'll contribute the PR to that repo.

@pvelesko
Copy link
Author

Building LLVM in-tree using those instructions has worked for me in the past, I believe.

@chsasank
Copy link

The error image itself is actually coming from this repo. See this line:

argHelper->printf("Error! FCL initialization failure. Error code = %d\n", fclInitializationResult);

@chsasank
Copy link

I don't think this error is related to LLVM static linking. Seems to be a dependency issue.

@pvelesko
Copy link
Author

I've probably spent over 20 hours trying to build this thing and switching to static linking LLVM was what made it work. Perhaps you can try building via the script that I sent?

@pvelesko
Copy link
Author

pvelesko commented Mar 6, 2024

@chsasank any luck?

@chsasank
Copy link

chsasank commented Mar 6, 2024

I have stopped working on this for the time being. Will report to you if I succeed later.

@psteinbrecher
Copy link

@JablonskiMateusz, the bug is here:

set(ocloc_cmd_prefix ${CMAKE_COMMAND} -E env "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${NEO__IGC_LIBRARY_PATH}:$<TARGET_FILE_DIR:ocloc_lib>" $<TARGET_FILE:ocloc>)

and here:

set(ocloc_cmd_prefix ${CMAKE_COMMAND} -E env "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$<TARGET_FILE_DIR:ocloc_lib>" $<TARGET_FILE:ocloc>)

Need to use $ENV{...variable...} inside cmake to get the value of an env var:
LD_LIBRARY_PATH=$ENV{LD_LIBRARY_PATH}:${NEO__IGC_LIBRARY_PATH}

After this change the error:
Error! Loading of FCL library has failed! Filename: libigdfcl.so.1
Error! FCL initialization failure. Error code = -6
Build failed with error code: -6

goes away. The problem is that without $ENV we are just getting an empty string, hence removing all the libs in LD_LIBRARY_PATH. See verbose log:
cd /home/user/work/build_neo/compute-runtime/shared/source/built_ins/kernels && /home/user/work/CMake/build/install/bin/cmake -E env LD_LIBRARY_PATH=:/home/user/work/build_neo/build/bin /home/user/work/build_neo/build/bin/ocloc -q -spv_only -file /home/user/work/build_neo/compute-runtime/shared/source/built_ins/kernels/fill_image3d.builtin_kernel -out_dir /home/user/work/build_neo/build/bin/built_ins/x64/spirv/ -output_no_suffix -options -cl-kernel-arg-info
Error! Loading of FCL library has failed! Filename: libigdfcl.so.1
Error! FCL initialization failure. Error code = -6
Build failed with error code: -6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IGC Issue related to IGC
Projects
None yet
Development

No branches or pull requests

5 participants