<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic SYCL feature test compile failed! in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/SYCL-feature-test-compile-failed/m-p/1601309#M3788</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I installed LLVM following&amp;nbsp;&lt;/SPAN&gt;&lt;A class="" href="https://intel.github.io/llvm-docs/GetStartedGuide.html" target="_blank" rel="nofollow noopener noreferrer"&gt;&lt;SPAN class=""&gt;Getting Started with oneAPI DPC++ — oneAPI DPC++ Compiler documentation (intel.github.io)&lt;/SPAN&gt;&lt;/A&gt;&lt;BR /&gt;I used it to compile an application called cloudsc_sycl,&amp;nbsp;downloaded&amp;nbsp;&lt;SPAN&gt;from&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/ecmwf-ifs/dwarf-p-cloudsc/tree/nams_pvc_sycl" target="_blank" rel="noopener"&gt;GitHub - ecmwf-ifs/dwarf-p-cloudsc at nams_pvc_sycl&lt;/A&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Following are some settings in env.sh and toolchain.cmake under dwarf-p-cloudsc-nams/arch/ecmwf/hpc2020/intel-sycl/2024.1 dir:&lt;BR /&gt;env.sh:&lt;BR /&gt;export IntelSYCL_DIR="/opt/intel/oneapi/compiler/2024.1/lib/cmake/IntelSYCL"&lt;BR /&gt;export HDF5_ROOT="/usr/local/cloudsc_sycl_libs"&lt;/P&gt;&lt;P&gt;toolchain.cmake:&lt;BR /&gt;set(CMAKE_CXX_COMPILER "/opt/Downloads/intel/llvm/build/bin/clang++")&lt;BR /&gt;set(CMAKE_Fortran_COMPILER "/opt/intel/oneapi/compiler/2024.1/bin/ifort")&lt;/P&gt;&lt;P&gt;set(CMAKE_CXX_FLAGS "-O3 -L/opt/Softwares/gcc122/lib64 -lstdc++ -L/opt/intel/oneapi/compiler/2024.1/lib -liomp5 ")&lt;BR /&gt;set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsycl-early-optimizations -fsycl")&lt;BR /&gt;set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsycl-targets=nvptx64-nvidia-cuda")&lt;BR /&gt;set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Xsycl-target-backend --cuda-gpu-arch=sm_80")&lt;BR /&gt;set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I/opt/intel/oneapi/compiler/2024.1/include -I/opt/Softwares/gcc122/include/c++/12.2.0")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I compiled the application using "./cloudsc-bundle build --clean --build-dir=build-sycl --with-gpu --with-sycl --arch=arch/ecmwf/hpc2020/intel-sycl/2024.1" on A100 GPU，and met the following error:&lt;/P&gt;&lt;P&gt;-- [dwarf-p-cloudsc] (1.4.0)&lt;BR /&gt;-- Feature TESTS enabled&lt;BR /&gt;-- Could NOT find OpenACC_Fortran (missing: OpenACC_Fortran_FLAGS) (found version "1.0")&lt;BR /&gt;-- dwarf-p-cloudsc FOUND OpenACC&lt;BR /&gt;-- Found package OpenACC required for feature ACC&lt;BR /&gt;-- Feature ACC enabled&lt;BR /&gt;SYCL feature test compile failed!&lt;BR /&gt;compile output is:&lt;BR /&gt;CMake Error at /opt/intel/oneapi/compiler/2024.1/lib/cmake/IntelSYCL/IntelSYCLConfig.cmake:287 (SYCL_FEATURE_TEST_EXTRACT):&lt;BR /&gt;SYCL_FEATURE_TEST_EXTRACT Function invoked with incorrect arguments for&lt;BR /&gt;function named: SYCL_FEATURE_TEST_EXTRACT&lt;BR /&gt;Call Stack (most recent call first):&lt;BR /&gt;ecbuild/cmake/ecbuild_find_package.cmake:239 (find_package)&lt;BR /&gt;ecbuild/cmake/ecbuild_add_option.cmake:226 (ecbuild_find_package)&lt;BR /&gt;cloudsc-dwarf/CMakeLists.txt:73 (ecbuild_add_option)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 28 May 2024 01:19:14 GMT</pubDate>
    <dc:creator>Jervie</dc:creator>
    <dc:date>2024-05-28T01:19:14Z</dc:date>
    <item>
      <title>SYCL feature test compile failed!</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/SYCL-feature-test-compile-failed/m-p/1601309#M3788</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I installed LLVM following&amp;nbsp;&lt;/SPAN&gt;&lt;A class="" href="https://intel.github.io/llvm-docs/GetStartedGuide.html" target="_blank" rel="nofollow noopener noreferrer"&gt;&lt;SPAN class=""&gt;Getting Started with oneAPI DPC++ — oneAPI DPC++ Compiler documentation (intel.github.io)&lt;/SPAN&gt;&lt;/A&gt;&lt;BR /&gt;I used it to compile an application called cloudsc_sycl,&amp;nbsp;downloaded&amp;nbsp;&lt;SPAN&gt;from&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/ecmwf-ifs/dwarf-p-cloudsc/tree/nams_pvc_sycl" target="_blank" rel="noopener"&gt;GitHub - ecmwf-ifs/dwarf-p-cloudsc at nams_pvc_sycl&lt;/A&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Following are some settings in env.sh and toolchain.cmake under dwarf-p-cloudsc-nams/arch/ecmwf/hpc2020/intel-sycl/2024.1 dir:&lt;BR /&gt;env.sh:&lt;BR /&gt;export IntelSYCL_DIR="/opt/intel/oneapi/compiler/2024.1/lib/cmake/IntelSYCL"&lt;BR /&gt;export HDF5_ROOT="/usr/local/cloudsc_sycl_libs"&lt;/P&gt;&lt;P&gt;toolchain.cmake:&lt;BR /&gt;set(CMAKE_CXX_COMPILER "/opt/Downloads/intel/llvm/build/bin/clang++")&lt;BR /&gt;set(CMAKE_Fortran_COMPILER "/opt/intel/oneapi/compiler/2024.1/bin/ifort")&lt;/P&gt;&lt;P&gt;set(CMAKE_CXX_FLAGS "-O3 -L/opt/Softwares/gcc122/lib64 -lstdc++ -L/opt/intel/oneapi/compiler/2024.1/lib -liomp5 ")&lt;BR /&gt;set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsycl-early-optimizations -fsycl")&lt;BR /&gt;set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsycl-targets=nvptx64-nvidia-cuda")&lt;BR /&gt;set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Xsycl-target-backend --cuda-gpu-arch=sm_80")&lt;BR /&gt;set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I/opt/intel/oneapi/compiler/2024.1/include -I/opt/Softwares/gcc122/include/c++/12.2.0")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I compiled the application using "./cloudsc-bundle build --clean --build-dir=build-sycl --with-gpu --with-sycl --arch=arch/ecmwf/hpc2020/intel-sycl/2024.1" on A100 GPU，and met the following error:&lt;/P&gt;&lt;P&gt;-- [dwarf-p-cloudsc] (1.4.0)&lt;BR /&gt;-- Feature TESTS enabled&lt;BR /&gt;-- Could NOT find OpenACC_Fortran (missing: OpenACC_Fortran_FLAGS) (found version "1.0")&lt;BR /&gt;-- dwarf-p-cloudsc FOUND OpenACC&lt;BR /&gt;-- Found package OpenACC required for feature ACC&lt;BR /&gt;-- Feature ACC enabled&lt;BR /&gt;SYCL feature test compile failed!&lt;BR /&gt;compile output is:&lt;BR /&gt;CMake Error at /opt/intel/oneapi/compiler/2024.1/lib/cmake/IntelSYCL/IntelSYCLConfig.cmake:287 (SYCL_FEATURE_TEST_EXTRACT):&lt;BR /&gt;SYCL_FEATURE_TEST_EXTRACT Function invoked with incorrect arguments for&lt;BR /&gt;function named: SYCL_FEATURE_TEST_EXTRACT&lt;BR /&gt;Call Stack (most recent call first):&lt;BR /&gt;ecbuild/cmake/ecbuild_find_package.cmake:239 (find_package)&lt;BR /&gt;ecbuild/cmake/ecbuild_add_option.cmake:226 (ecbuild_find_package)&lt;BR /&gt;cloudsc-dwarf/CMakeLists.txt:73 (ecbuild_add_option)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2024 01:19:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/SYCL-feature-test-compile-failed/m-p/1601309#M3788</guid>
      <dc:creator>Jervie</dc:creator>
      <dc:date>2024-05-28T01:19:14Z</dc:date>
    </item>
    <item>
      <title>Re:SYCL feature test compile failed!</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/SYCL-feature-test-compile-failed/m-p/1602007#M3809</link>
      <description>&lt;P&gt;Hi Jervie, we would like to inform you that we are routing your query to the dedicated team for further assistance.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 29 May 2024 14:52:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/SYCL-feature-test-compile-failed/m-p/1602007#M3809</guid>
      <dc:creator>Vipin_S_Intel</dc:creator>
      <dc:date>2024-05-29T14:52:28Z</dc:date>
    </item>
    <item>
      <title>Re:SYCL feature test compile failed!</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/SYCL-feature-test-compile-failed/m-p/1610752#M3925</link>
      <description>&lt;P&gt;Hi, Is your issue fixed ? I checked out the github link, but couldn't find the 2024.1 folder you mentioned. &lt;/P&gt;&lt;P&gt;I just see this folder arch/ecmwf/hpc2020/intel-sycl/2021.4.0&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Jun 2024 15:31:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/SYCL-feature-test-compile-failed/m-p/1610752#M3925</guid>
      <dc:creator>yzh_intel</dc:creator>
      <dc:date>2024-06-28T15:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: SYCL feature test compile failed!</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/SYCL-feature-test-compile-failed/m-p/1677056#M4369</link>
      <description>&lt;P&gt;I have this problem too.&lt;/P&gt;&lt;P&gt;I hate that you won't give us binaries. I've been trying to compile this since August 2024.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;-- Found SYCL: /opt/intel/oneapi/compiler/2025.0/include;/opt/intel/oneapi/compiler/2025.0/include/sycl;/opt/intel/oneapi/compiler/2025.0/include/sycl (found version "20250004")&lt;BR /&gt;SYCL: feature test compile failed!!&lt;BR /&gt;compile output is:&lt;BR /&gt;CMake Error at third_party/torch-xpu-ops/cmake/Modules/FindSYCLToolkit.cmake:237 (message):&lt;BR /&gt;Can not build SYCL_CMPLR_TEST&lt;BR /&gt;Call Stack (most recent call first):&lt;BR /&gt;third_party/torch-xpu-ops/cmake/SYCL.cmake:5 (include)&lt;BR /&gt;third_party/torch-xpu-ops/CMakeLists.txt:38 (include)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;-- Configuring incomplete, errors occurred!&lt;BR /&gt;Building wheel torch-2.6.0a0+git1eba9b3&lt;BR /&gt;-- Building version 2.6.0a0+git1eba9b3&lt;BR /&gt;cmake -GNinja -DBUILD_BINARY=0 -DBUILD_BY_PER_KERNEL=0 -DBUILD_CAFFE2=0 -DBUILD_CAFFE2_OPS=0 -DBUILD_PYTHON=True -DBUILD_STATS=1 -DBUILD_TEST=True -DBUILD_WITH_SANITIZER=0 -DBUILD_WITH_XPU=1 -DCMAKE_ARGS=-DCMAKE_AR=/home/evstratios/miniforge3/envs/ipex-xe/bin/x86_64-conda-linux-gnu-ar -DCMAKE_CXX_COMPILER_AR=/home/evstratios/miniforge3/envs/ipex-xe/bin/x86_64-conda-linux-gnu-gcc-ar -DCMAKE_C_COMPILER_AR=/home/evstratios/miniforge3/envs/ipex-xe/bin/x86_64-conda-linux-gnu-gcc-ar -DCMAKE_RANLIB=/home/evstratios/miniforge3/envs/ipex-xe/bin/x86_64-conda-linux-gnu-ranlib -DCMAKE_CXX_COMPILER_RANLIB=/home/evstratios/miniforge3/envs/ipex-xe/bin/x86_64-conda-linux-gnu-gcc-ranlib -DCMAKE_C_COMPILER_RANLIB=/home/evstratios/miniforge3/envs/ipex-xe/bin/x86_64-conda-linux-gnu-gcc-ranlib -DCMAKE_LINKER=/home/evstratios/miniforge3/envs/ipex-xe/bin/x86_64-conda-linux-gnu-ld -DCMAKE_STRIP=/home/evstratios/miniforge3/envs/ipex-xe/bin/x86_64-conda-linux-gnu-strip -DCMAKE_BUILD_TYPE=Release -DBUILD_PYTHON=True -DCMAKE_BUILD_TYPE=Release -DCMAKE_SYCL_DEVICE_OBJECT_OUTPUT_DIR=./sycl_objs -DCMAKE_INSTALL_PREFIX=/home/evstratios/ipex/pytorch/torch -DONEDNN_GRAPH_BUILD_COMPILER_BACKEND=1 -DSYCL_OCLOC_EXECUTABLE=/usr/bin/ocloc -DSYCL_PI_LEVEL_ZERO_DEVICE_SCOPE_EVENTS=1 -DSYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1 -DTORCH_XPU_ARCH_LIST=adl-p -DUSE_XPU=1 -GNinja -Wno-dev -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/evstratios/ipex/pytorch/torch -DCMAKE_PREFIX_PATH=/home/evstratios/miniforge3/envs/ipex-xe/lib/python3.10/site-packages;/home/evstratios/miniforge3/envs/ipex-xe:/opt/intel/oneapi/pti/0.10/lib/cmake/pti:/opt/intel/oneapi/mkl/2025.0/lib/cmake:/opt/intel/oneapi/compiler/2025.0:/opt/intel/oneapi/vpl/2023.1.0:/opt/intel/oneapi/tbb/2022.1/env/..:/opt/intel/oneapi/pti/0.11/lib/cmake/pti:/opt/intel/oneapi/mkl/2025.1/lib/cmake:/opt/intel/oneapi/ispc/1.23/lib/cmake/ispcrt:/opt/intel/oneapi/ipp/2022.1/lib/cmake/ipp:/opt/intel/oneapi/dpl/2022.8/lib/cmake/oneDPL:/opt/intel/oneapi/dnnl/2025.1/lib/cmake:/opt/intel/oneapi/dal/2025.4:/opt/intel/oneapi/compiler/2025.1:/opt/intel/oneapi/ccl/2021.15/lib/cmake/oneCCL:/home/evstratios/miniforge3/envs/ipex-xe:/home/evstratios/miniforge3/envs/ipex-xe/x86_64-conda-linux-gnu/sysroot/usr -DGLIBCXX_USE_CXX11_ABI=1 -DJAVA_HOME=/home/evstratios/miniforge3/envs/ipex-xe/lib/jvm -DPython_EXECUTABLE=/home/evstratios/miniforge3/envs/ipex-xe/bin/python -DTORCH_BUILD_VERSION=2.6.0a0+git1eba9b3 -DTORCH_XPU_ARCH_LIST=adl-p -DUSE_ABI=1 -DUSE_AOT_DEVLIST=adl-p -DUSE_CCACHE=1 -DUSE_CHANNELS_LAST_1D=0 -DUSE_COREML_DELEGATE=1 -DUSE_CPP_CODE_COVERAGE=1 -DUSE_CUDA=0 -DUSE_CUDNN=0 -DUSE_DISTRIBUTED=0 -DUSE_EIGEN_FOR_BLAS=1 -DUSE_FAKELOWP=0 -DUSE_FBGEMM=0 -DUSE_FFMPEG=1 -DUSE_GLOO=1 -DUSE_GOLD_LINKER=1 -DUSE_IBVERB=0 -DUSE_ITT_ANNOTATION=1 -DUSE_KINETO=0 -DUSE_LEVEL_ZERO=1 -DUSE_MKLDNN=1 -DUSE_MKLDNN_ACL=0 -DUSE_MPI=0 -DUSE_NNPACK=1 -DUSE_NUMA=0 -DUSE_NUMPY=True -DUSE_ONEMKL=1 -DUSE_OPENCL=1 -DUSE_OPENCV=1 -DUSE_OPENMP=1 -DUSE_PYTORCH_QNNPACK=1 -DUSE_QNNPACK=0 -DUSE_RPC=1 -DUSE_SPLIT_FP64_LOOPS=1 -DUSE_STATIC_MKL=1 -DUSE_SYCL_ASSERT=0 -DUSE_SYSTEM_LIBS=0 -DUSE_TENSORPIPE=1 -DUSE_TORCH_XPU_OPS=0 -DUSE_UCC=0 -DUSE_VULKAN=0 -DUSE_XETLA=0 -DUSE_XNNPACK=1 -DUSE_XPU=1 /home/evstratios/ipex/pytorch&lt;/P&gt;</description>
      <pubDate>Sun, 23 Mar 2025 09:17:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/SYCL-feature-test-compile-failed/m-p/1677056#M4369</guid>
      <dc:creator>evstratios</dc:creator>
      <dc:date>2025-03-23T09:17:35Z</dc:date>
    </item>
  </channel>
</rss>

