<?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 oneAPI config issue, troubleshooting in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/oneAPI-config-issue-troubleshooting/m-p/1671323#M4324</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to setup and configure oneAPI on my Fedora 40 linux system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have installed oneAPI through the GUI, created the vector-add sample through the CLI, and ran setvars.sh.&amp;nbsp; I then create the build folder, run 'cmake ..', and then 'make cpu-gpu'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then get this error:&lt;/P&gt;&lt;P&gt;c++: error: unrecognized command-line option ‘-fsycl’&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there something really simple I am missing? Any help would be much appreciated.&lt;/P&gt;</description>
    <pubDate>Sun, 02 Mar 2025 03:03:27 GMT</pubDate>
    <dc:creator>jholden</dc:creator>
    <dc:date>2025-03-02T03:03:27Z</dc:date>
    <item>
      <title>oneAPI config issue, troubleshooting</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/oneAPI-config-issue-troubleshooting/m-p/1671323#M4324</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to setup and configure oneAPI on my Fedora 40 linux system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have installed oneAPI through the GUI, created the vector-add sample through the CLI, and ran setvars.sh.&amp;nbsp; I then create the build folder, run 'cmake ..', and then 'make cpu-gpu'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then get this error:&lt;/P&gt;&lt;P&gt;c++: error: unrecognized command-line option ‘-fsycl’&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there something really simple I am missing? Any help would be much appreciated.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Mar 2025 03:03:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/oneAPI-config-issue-troubleshooting/m-p/1671323#M4324</guid>
      <dc:creator>jholden</dc:creator>
      <dc:date>2025-03-02T03:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: oneAPI config issue, troubleshooting</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/oneAPI-config-issue-troubleshooting/m-p/1671817#M4326</link>
      <description>&lt;P&gt;Hi, can you try to compile the code manually using icpx, the command line should be something like "icpx -fsycl code.cpp ". icpx is the sycl compiler provided in oneapi basekit. Based on the error message, it seems that you're not using a sycl aware compiler.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2025 21:22:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/oneAPI-config-issue-troubleshooting/m-p/1671817#M4326</guid>
      <dc:creator>yzh_intel</dc:creator>
      <dc:date>2025-03-03T21:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: oneAPI config issue, troubleshooting</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/oneAPI-config-issue-troubleshooting/m-p/1673331#M4343</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Using icpx from the command line worked. Thank you for that!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In case it is helpful, I arrived at this situation through the following sequence of events:&lt;/P&gt;&lt;P&gt;1)&amp;nbsp;&lt;A href="https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html?packages=oneapi-toolkit&amp;amp;oneapi-toolkit-os=linux&amp;amp;oneapi-lin=offline" target="_blank"&gt;https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html?packages=oneapi-toolkit&amp;amp;oneapi-toolkit-os=linux&amp;amp;oneapi-lin=offline&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And from there, on the right side of the page, a link to the documentation on running the sample code vector-add:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2)&amp;nbsp;&lt;A href="https://github.com/oneapi-src/oneAPI-samples/tree/master/DirectProgramming/C++SYCL/DenseLinearAlgebra/vector-add#configure-the-build-system" target="_blank"&gt;https://github.com/oneapi-src/oneAPI-samples/tree/master/DirectProgramming/C++SYCL/DenseLinearAlgebra/vector-add#configure-the-build-system&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this github page, the instructions just have me use 'make cpu-gpu', which seems to invoke the c++ command rather than icpx.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This all seems to be official Intel documentation.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 18:58:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/oneAPI-config-issue-troubleshooting/m-p/1673331#M4343</guid>
      <dc:creator>jholden</dc:creator>
      <dc:date>2025-03-07T18:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: oneAPI config issue, troubleshooting</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/oneAPI-config-issue-troubleshooting/m-p/1673368#M4344</link>
      <description>&lt;P&gt;Hi, I followed the steps in the oneapi samples but see no issues there. My best guess is there's something wrong in your configuration steps, as the project seems to be configured with c++ as the compiler.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 21:39:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/oneAPI-config-issue-troubleshooting/m-p/1673368#M4344</guid>
      <dc:creator>yzh_intel</dc:creator>
      <dc:date>2025-03-07T21:39:57Z</dc:date>
    </item>
  </channel>
</rss>

