You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This looks to me like a compiler flag to activate SSE3 might be missing (-msse3?) and/or a test macro to guard this section in the bytedelta.c callsite might need to be added?
To Reproduce
Downloading the OneAPI toolchain and compiling with CMake.
These tools are LLVM based, so one can consider them as Clang-ish.
The CMake compiler identification string is IntelLLVM.
OS: linux-ubuntu20.04-x86_64
CXX: icpx
CC: icx
Note: the classic Intel compilers (icc/icpc; CMake string Intel) are deprecated and will soon be EOL. Intel OneAPI are the new compilers from Intel replacing them.
$ cmake ... -DDEACTIVATE_LZ4=OFF -DDEACTIVATE_LIZARD=OFF -DDEACTIVATE_SNAPPY=OFF -DDEACTIVATE_ZLIB=OFF -DDEACTIVATE_ZSTD=OFF -DPREFER_EXTERNAL_LIZARD=ON -DPREFER_EXTERNAL_LZ4=ON -DPREFER_EXTERNAL_ZLIB=ON -DPREFER_EXTERNAL_ZSTD=ON -DDEACTIVATE_AVX2=OFF -DBUILD_TESTS:BOOL=OFF -DBUILD_BENCHMARKS:BOOL=OFF -DBUILD_EXAMPLES:BOOL=OFF-- The C compiler identification is IntelLLVM 2023.2.0-- The ASM compiler identification is IntelLLVM-- Found assembler: /builds/spack/spack/lib/spack/env/oneapi/icx-- Detecting C compiler ABI info-- Detecting C compiler ABI info - done-- Check for working C compiler: /builds/spack/spack/lib/spack/env/oneapi/icx - skipped-- Detecting C compile features-- Detecting C compile features - doneConfiguring for Blosc version: 2.10.1-- Found LZ4 library: /home/software/spack/[padded-to-256-chars]/linux-ubuntu20.04-x86_64/oneapi-2023.2.0/lz4-1.9.4-mefylb2fjh3bwfcj7b3dqa3astze5aax/lib/liblz4.so-- Could NOT find ZLIB_NG (missing: ZLIB_NG_LIBRARY ZLIB_NG_INCLUDE_DIR) -- Found ZLIB: /home/software/spack/[padded-to-256-chars]/linux-ubuntu20.04-x86_64/oneapi-2023.2.0/zlib-1.2.13-rmxxggtwwt2lf6qit7o7m3hu4f6utywl/lib/libz.so (found version "1.2.13") -- Found ZSTD library: /home/software/spack/[padded-to-256-chars]/linux-ubuntu20.04-x86_64/oneapi-2023.2.0/zstd-1.5.5-427ezbxdqpynchbt4vmkjyjh4l6drauc/lib/libzstd.so-- Building for system processor x86_64-- Building for compiler ID IntelLLVMCMake Warning at CMakeLists.txt:294 (message): Unable to determine which x86_64 hardware features are supported by the C compiler (IntelLLVM 2023.2.0).-- Performing Test CMAKE_HAVE_LIBC_PTHREAD-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed-- Check if compiler accepts -pthread-- Check if compiler accepts -pthread - yes-- Found Threads: TRUE CMake Warning at /home/software/spack/[padded-to-256-chars]/linux-ubuntu20.04-x86_64/oneapi-2023.2.0/cmake-3.26.3-fymkmlpq3qpdojzbdwg5hagzbrzvefwz/share/cmake-3.26/Modules/InstallRequiredSystemLibraries.cmake:733 (message): system runtime library file does not exist: 'NOT-FOUND/libchkp.so'Call Stack (most recent call first): CMakeLists.txt:543 (include)CMake Warning at /home/software/spack/[padded-to-256-chars]/linux-ubuntu20.04-x86_64/oneapi-2023.2.0/cmake-3.26.3-fymkmlpq3qpdojzbdwg5hagzbrzvefwz/share/cmake-3.26/Modules/InstallRequiredSystemLibraries.cmake:733 (message): system runtime library file does not exist: 'NOT-FOUND/libcilkrts.so'Call Stack (most recent call first): CMakeLists.txt:543 (include)CMake Warning at /home/software/spack/[padded-to-256-chars]/linux-ubuntu20.04-x86_64/oneapi-2023.2.0/cmake-3.26.3-fymkmlpq3qpdojzbdwg5hagzbrzvefwz/share/cmake-3.26/Modules/InstallRequiredSystemLibraries.cmake:733 (message): system runtime library file does not exist: 'NOT-FOUND/libcilkrts.so.5'Call Stack (most recent call first): CMakeLists.txt:543 (include)CMake Warning at /home/software/spack/[padded-to-256-chars]/linux-ubuntu20.04-x86_64/oneapi-2023.2.0/cmake-3.26.3-fymkmlpq3qpdojzbdwg5hagzbrzvefwz/share/cmake-3.26/Modules/InstallRequiredSystemLibraries.cmake:733 (message): system runtime library file does not exist: 'NOT-FOUND/libimf.so'Call Stack (most recent call first): CMakeLists.txt:543 (include)CMake Warning at /home/software/spack/[padded-to-256-chars]/linux-ubuntu20.04-x86_64/oneapi-2023.2.0/cmake-3.26.3-fymkmlpq3qpdojzbdwg5hagzbrzvefwz/share/cmake-3.26/Modules/InstallRequiredSystemLibraries.cmake:733 (message): system runtime library file does not exist: 'NOT-FOUND/libintlc.so'Call Stack (most recent call first): CMakeLists.txt:543 (include)CMake Warning at /home/software/spack/[padded-to-256-chars]/linux-ubuntu20.04-x86_64/oneapi-2023.2.0/cmake-3.26.3-fymkmlpq3qpdojzbdwg5hagzbrzvefwz/share/cmake-3.26/Modules/InstallRequiredSystemLibraries.cmake:733 (message): system runtime library file does not exist: 'NOT-FOUND/libintlc.so.5'Call Stack (most recent call first): CMakeLists.txt:543 (include)CMake Warning at /home/software/spack/[padded-to-256-chars]/linux-ubuntu20.04-x86_64/oneapi-2023.2.0/cmake-3.26.3-fymkmlpq3qpdojzbdwg5hagzbrzvefwz/share/cmake-3.26/Modules/InstallRequiredSystemLibraries.cmake:733 (message): system runtime library file does not exist: 'NOT-FOUND/libirc.so'Call Stack (most recent call first): CMakeLists.txt:543 (include)CMake Warning at /home/software/spack/[padded-to-256-chars]/linux-ubuntu20.04-x86_64/oneapi-2023.2.0/cmake-3.26.3-fymkmlpq3qpdojzbdwg5hagzbrzvefwz/share/cmake-3.26/Modules/InstallRequiredSystemLibraries.cmake:733 (message): system runtime library file does not exist: 'NOT-FOUND/libpdbx.so'Call Stack (most recent call first): CMakeLists.txt:543 (include)CMake Warning at /home/software/spack/[padded-to-256-chars]/linux-ubuntu20.04-x86_64/oneapi-2023.2.0/cmake-3.26.3-fymkmlpq3qpdojzbdwg5hagzbrzvefwz/share/cmake-3.26/Modules/InstallRequiredSystemLibraries.cmake:733 (message): system runtime library file does not exist: 'NOT-FOUND/libpdbx.so.5'Call Stack (most recent call first): CMakeLists.txt:543 (include)CMake Warning at /home/software/spack/[padded-to-256-chars]/linux-ubuntu20.04-x86_64/oneapi-2023.2.0/cmake-3.26.3-fymkmlpq3qpdojzbdwg5hagzbrzvefwz/share/cmake-3.26/Modules/InstallRequiredSystemLibraries.cmake:733 (message): system runtime library file does not exist: 'NOT-FOUND/libsvml.so'Call Stack (most recent call first): CMakeLists.txt:543 (include)CMake Warning at /home/software/spack/[padded-to-256-chars]/linux-ubuntu20.04-x86_64/oneapi-2023.2.0/cmake-3.26.3-fymkmlpq3qpdojzbdwg5hagzbrzvefwz/share/cmake-3.26/Modules/InstallRequiredSystemLibraries.cmake:733 (message): system runtime library file does not exist: 'NOT-FOUND/libirng.so'Call Stack (most recent call first): CMakeLists.txt:543 (include)CMake Warning at /home/software/spack/[padded-to-256-chars]/linux-ubuntu20.04-x86_64/oneapi-2023.2.0/cmake-3.26.3-fymkmlpq3qpdojzbdwg5hagzbrzvefwz/share/cmake-3.26/Modules/InstallRequiredSystemLibraries.cmake:733 (message): system runtime library file does not exist: 'NOT-FOUND/liboffload.so'Call Stack (most recent call first): CMakeLists.txt:543 (include)CMake Warning at /home/software/spack/[padded-to-256-chars]/linux-ubuntu20.04-x86_64/oneapi-2023.2.0/cmake-3.26.3-fymkmlpq3qpdojzbdwg5hagzbrzvefwz/share/cmake-3.26/Modules/InstallRequiredSystemLibraries.cmake:733 (message): system runtime library file does not exist: 'NOT-FOUND/liboffload.so.5'Call Stack (most recent call first): CMakeLists.txt:543 (include)CMake Warning at /home/software/spack/[padded-to-256-chars]/linux-ubuntu20.04-x86_64/oneapi-2023.2.0/cmake-3.26.3-fymkmlpq3qpdojzbdwg5hagzbrzvefwz/share/cmake-3.26/Modules/InstallRequiredSystemLibraries.cmake:733 (message): system runtime library file does not exist: 'NOT-FOUND/cilk_db.so'Call Stack (most recent call first): CMakeLists.txt:543 (include)CMake Warning at /home/software/spack/[padded-to-256-chars]/linux-ubuntu20.04-x86_64/oneapi-2023.2.0/cmake-3.26.3-fymkmlpq3qpdojzbdwg5hagzbrzvefwz/share/cmake-3.26/Modules/InstallRequiredSystemLibraries.cmake:733 (message): system runtime library file does not exist: 'NOT-FOUND/libistrconv.so'Call Stack (most recent call first): CMakeLists.txt:543 (include)CMake Warning at /home/software/spack/[padded-to-256-chars]/linux-ubuntu20.04-x86_64/oneapi-2023.2.0/cmake-3.26.3-fymkmlpq3qpdojzbdwg5hagzbrzvefwz/share/cmake-3.26/Modules/InstallRequiredSystemLibraries.cmake:733 (message): system runtime library file does not exist: 'NOT-FOUND/libgfxoffload.so'Call Stack (most recent call first): CMakeLists.txt:543 (include)CMake Warning at /home/software/spack/[padded-to-256-chars]/linux-ubuntu20.04-x86_64/oneapi-2023.2.0/cmake-3.26.3-fymkmlpq3qpdojzbdwg5hagzbrzvefwz/share/cmake-3.26/Modules/InstallRequiredSystemLibraries.cmake:733 (message): system runtime library file does not exist: 'NOT-FOUND/libioffload_host.so'Call Stack (most recent call first): CMakeLists.txt:543 (include)CMake Warning at /home/software/spack/[padded-to-256-chars]/linux-ubuntu20.04-x86_64/oneapi-2023.2.0/cmake-3.26.3-fymkmlpq3qpdojzbdwg5hagzbrzvefwz/share/cmake-3.26/Modules/InstallRequiredSystemLibraries.cmake:733 (message): system runtime library file does not exist: 'NOT-FOUND/libioffload_host.so.5'Call Stack (most recent call first): CMakeLists.txt:543 (include)CMake Warning at /home/software/spack/[padded-to-256-chars]/linux-ubuntu20.04-x86_64/oneapi-2023.2.0/cmake-3.26.3-fymkmlpq3qpdojzbdwg5hagzbrzvefwz/share/cmake-3.26/Modules/InstallRequiredSystemLibraries.cmake:733 (message): system runtime library file does not exist: 'NOT-FOUND/libioffload_target.so'Call Stack (most recent call first): CMakeLists.txt:543 (include)CMake Warning at /home/software/spack/[padded-to-256-chars]/linux-ubuntu20.04-x86_64/oneapi-2023.2.0/cmake-3.26.3-fymkmlpq3qpdojzbdwg5hagzbrzvefwz/share/cmake-3.26/Modules/InstallRequiredSystemLibraries.cmake:733 (message): system runtime library file does not exist: 'NOT-FOUND/libioffload_target.so.5'Call Stack (most recent call first): CMakeLists.txt:543 (include)CMake Warning at /home/software/spack/[padded-to-256-chars]/linux-ubuntu20.04-x86_64/oneapi-2023.2.0/cmake-3.26.3-fymkmlpq3qpdojzbdwg5hagzbrzvefwz/share/cmake-3.26/Modules/InstallRequiredSystemLibraries.cmake:733 (message): system runtime library file does not exist: 'NOT-FOUND/libmpx.so'Call Stack (most recent call first): CMakeLists.txt:543 (include)CMake Warning at /home/software/spack/[padded-to-256-chars]/linux-ubuntu20.04-x86_64/oneapi-2023.2.0/cmake-3.26.3-fymkmlpq3qpdojzbdwg5hagzbrzvefwz/share/cmake-3.26/Modules/InstallRequiredSystemLibraries.cmake:733 (message): system runtime library file does not exist: 'NOT-FOUND/offload_main'Call Stack (most recent call first): CMakeLists.txt:543 (include)CMake Warning at /home/software/spack/[padded-to-256-chars]/linux-ubuntu20.04-x86_64/oneapi-2023.2.0/cmake-3.26.3-fymkmlpq3qpdojzbdwg5hagzbrzvefwz/share/cmake-3.26/Modules/InstallRequiredSystemLibraries.cmake:743 (message): system runtime library file does not exist: 'NOT-FOUND/irml'Call Stack (most recent call first): CMakeLists.txt:543 (include)-- Configuring done (0.6s)-- Generating done (0.0s)CMake Warning: Manually-specified variables were not used by the project: BUILD_TESTING DEACTIVATE_LIZARD DEACTIVATE_LZ4 DEACTIVATE_SNAPPY PREFER_EXTERNAL_LIZARD
System information:
OS: [e.g. OSX]
Compiler [e.g. gcc, clang]
Version [e.g. 2.0.1]
Additional context
We use C-Blosc2 in ADIOS2.9+ which is used in openPMD-api, which we use in various HPC applications and data science tools.
We build our software stack for HPC systems with Spack.io, and PR spack/spack#39385 introduces C-Blosc2 support (over C-Blosc1) to ADIOS2. Spack runs a lot of HPC compiler tests, which is how this was caught.
The text was updated successfully, but these errors were encountered:
I have a similar issue while building bytedelta in hdf5plugin (see silx-kit/hdf5plugin#295 (comment)).
The following C code assumes SSSE3 is available while this depends on the compilation options.
Describe the bug
In Spack, we saw a build issue with the Intel OneAPI compilers.
The issue is in this line:
https://github.com/Blosc/c-blosc2/blob/v2.10.2/plugins/filters/bytedelta/bytedelta.c#L34
This looks to me like a compiler flag to activate SSE3 might be missing (
-msse3
?) and/or a test macro to guard this section in thebytedelta.c
callsite might need to be added?To Reproduce
Downloading the OneAPI toolchain and compiling with CMake.
These tools are LLVM based, so one can consider them as Clang-ish.
The CMake compiler identification string is
IntelLLVM
.OS: linux-ubuntu20.04-x86_64
CXX:
icpx
CC:
icx
Note: the classic Intel compilers (icc/icpc; CMake string
Intel
) are deprecated and will soon be EOL. Intel OneAPI are the new compilers from Intel replacing them.Expected behavior
Should compile.
Logs
CMake:
System information:
Additional context
We use C-Blosc2 in ADIOS2.9+ which is used in openPMD-api, which we use in various HPC applications and data science tools.
We build our software stack for HPC systems with Spack.io, and PR spack/spack#39385 introduces C-Blosc2 support (over C-Blosc1) to ADIOS2. Spack runs a lot of HPC compiler tests, which is how this was caught.
The text was updated successfully, but these errors were encountered: