<?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 Yes this command &amp;quot;dpcpp -o in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159922#M212</link>
    <description>&lt;P&gt;Yes this command "dpcpp -o vector-add.exe src/vector-add.cpp" can build exe file. Thanks.&lt;/P&gt;&lt;P&gt;make all doesn't work.&lt;/P&gt;</description>
    <pubDate>Thu, 26 Dec 2019 15:18:21 GMT</pubDate>
    <dc:creator>nnain1</dc:creator>
    <dc:date>2019-12-26T15:18:21Z</dc:date>
    <item>
      <title>Compile error for oneAPI Base Toolkit</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159913#M203</link>
      <description>&lt;P&gt;I have installed oneAPI at my system with Ubuntu 18.04 LTS, Intel® Xeon(R) CPU E5-1620 v4 @ 3.50GHz × 8, Quadro P4000/PCIe/SSE2, gcc/g++5.4.&lt;/P&gt;&lt;P&gt;When I make all, the errors are&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;dpcpp -o vector-add.exe src/vector-add.cpp -lOpenCL -lsycl&lt;BR /&gt;/opt/intel/inteloneapi/compiler/2021.1-beta03/linux/bin/../lib/libsycl.so: undefined reference to `clCreateProgramWithIL@OPENCL_2.1'&lt;BR /&gt;/opt/intel/inteloneapi/compiler/2021.1-beta03/linux/bin/../lib/libsycl.so: undefined reference to `clGetKernelSubGroupInfo@OPENCL_2.1'&lt;BR /&gt;clang++: error: linker command failed with exit code 1 (use -v to see invocation)&lt;BR /&gt;Makefile:10: recipe for target 'main' failed&lt;BR /&gt;make: *** [main] Error 1&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;What could be wrong?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 13:50:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159913#M203</guid>
      <dc:creator>nnain1</dc:creator>
      <dc:date>2019-12-19T13:50:22Z</dc:date>
    </item>
    <item>
      <title>Hi Naing,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159914#M204</link>
      <description>&lt;P&gt;Hi Naing,&lt;/P&gt;&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;&lt;P&gt;We are working on this issue&amp;nbsp;and will get back to you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kaleem&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 04:42:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159914#M204</guid>
      <dc:creator>Kaleem_A_Intel</dc:creator>
      <dc:date>2019-12-20T04:42:15Z</dc:date>
    </item>
    <item>
      <title>Hi, </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159915#M205</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;This error is due to conflicting libOpenCL.so,&amp;nbsp;I will suggest you&amp;nbsp;to properly uninstall everything and re-install beta03 base toolkit and then it will work.&lt;/P&gt;&lt;P&gt;-Abhishek&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 10:54:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159915#M205</guid>
      <dc:creator>AbhishekD_Intel</dc:creator>
      <dc:date>2019-12-20T10:54:11Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159916#M206</link>
      <description>&lt;P&gt;Hi, You may also need to uninstall the Intel OpenCL runtime from the Ubuntu repository (package ocl-icd-libopencl1). The one that comes with the basekit is more recent even compared to the latest Ububtu (19.10). You can check which library is used by running &amp;gt; ldd /opt/intel/inteloneapi/compiler/latest/linux/lib/libsycl.so | grep OpenCL If you did not run &amp;gt; source /opt/intel/inteloneapi/setvars.sh it may point to /usr/lib/x86_64-linux-gnu/libOpenCL.so.1 or some other library and /opt/intel/inteloneapi/compiler/latest/linux/lib/libOpenCL.so.1 otherwise. You can check the supported version and symbols by running &amp;gt; nm -gD libOpenCL.so.1 | grep 'OPENCL\|clGetKernelSubGroupInfo' on each of the found libraries. -Dmitry&lt;/P&gt;</description>
      <pubDate>Sat, 21 Dec 2019 15:49:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159916#M206</guid>
      <dc:creator>Dmitry_Savin</dc:creator>
      <dc:date>2019-12-21T15:49:00Z</dc:date>
    </item>
    <item>
      <title>Thanks a lot.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159917#M207</link>
      <description>&lt;P&gt;Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Dec 2019 13:02:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159917#M207</guid>
      <dc:creator>nnain1</dc:creator>
      <dc:date>2019-12-22T13:02:47Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159918#M208</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Let us know if it worked for you and get back to us if you faced any issue.&lt;/P&gt;&lt;P&gt;-Abhishek&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2019 05:56:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159918#M208</guid>
      <dc:creator>AbhishekD_Intel</dc:creator>
      <dc:date>2019-12-23T05:56:06Z</dc:date>
    </item>
    <item>
      <title>The old installation was</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159919#M209</link>
      <description>&lt;P&gt;The old installation was removed and reinstall new one following the instructions in the &lt;A href="https://dynamicinstaller.intel.com/oneapi/toolkits/base-kit/linux/"&gt;link&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;But still have the same error when I make all.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;coie@coie-HP-Z440-Workstation:~/Data/coie/Softwares/oneAPI/dpc++/module04/Lab_module4/devcon/complex_mult$ make all&lt;BR /&gt;dpcpp lab/complex_mult.cpp -o bin/complex_mult -Isrc/ -lOpenCL -lsycl&lt;BR /&gt;/opt/intel/inteloneapi/compiler/2021.1-beta03/linux/bin/../lib/libsycl.so: undefined reference to `clCreateProgramWithIL@OPENCL_2.1'&lt;BR /&gt;/opt/intel/inteloneapi/compiler/2021.1-beta03/linux/bin/../lib/libsycl.so: undefined reference to `clGetKernelSubGroupInfo@OPENCL_2.1'&lt;BR /&gt;clang++: error: linker command failed with exit code 1 (use -v to see invocation)&lt;BR /&gt;Makefile:13: recipe for target 'main' failed&lt;BR /&gt;make: *** [main] Error 1&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Following one of the suggestions above to check opencl and output is as follow.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;coie@coie-HP-Z440-Workstation:~/Data/coie/Softwares/oneAPI/dpc++/module04/Lab_module4/devcon/complex_mult$ ldd /opt/intel/inteloneapi/compiler/latest/linux/lib/&lt;BR /&gt;libsycl.so | grep OpenCL&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;libOpenCL.so.1 =&amp;gt; /opt/intel/inteloneapi/compiler/latest/linux/lib/libOpenCL.so.1 (0x00007feb9bdde000)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Why I still can't compile the project?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Dec 2019 15:56:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159919#M209</guid>
      <dc:creator>nnain1</dc:creator>
      <dc:date>2019-12-25T15:56:39Z</dc:date>
    </item>
    <item>
      <title>What does</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159920#M210</link>
      <description>&lt;P&gt;What does&lt;/P&gt;&lt;P&gt;nm -gD /opt/intel/inteloneapi/compiler/latest/linux/lib/libOpenCL.so.1 | grep 'OPENCL\|clGetKernelSubGroupInfo\|clCreateProgramWithIL'&lt;/P&gt;&lt;P&gt;show you?&lt;/P&gt;&lt;P&gt;-Dmitry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;

UPD: In the DevCloud the command does not work, had to do in two steps:
nm -gD /opt/intel/inteloneapi/compiler/latest/linux/lib/libOpenCL.so.1&amp;gt; out
grep 'OPENCL\|clGetKernelSubGroupInfo\|clCreateProgramWithIL' out</description>
      <pubDate>Wed, 25 Dec 2019 18:50:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159920#M210</guid>
      <dc:creator>Dmitry_Savin</dc:creator>
      <dc:date>2019-12-25T18:50:29Z</dc:date>
    </item>
    <item>
      <title>naing,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159921#M211</link>
      <description>naing,
    use this command to build "dpcpp -o vector-add.exe src/vector-add.cpp"</description>
      <pubDate>Thu, 26 Dec 2019 03:33:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159921#M211</guid>
      <dc:creator>Jie_L_Intel</dc:creator>
      <dc:date>2019-12-26T03:33:50Z</dc:date>
    </item>
    <item>
      <title>Yes this command "dpcpp -o</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159922#M212</link>
      <description>&lt;P&gt;Yes this command "dpcpp -o vector-add.exe src/vector-add.cpp" can build exe file. Thanks.&lt;/P&gt;&lt;P&gt;make all doesn't work.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 15:18:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159922#M212</guid>
      <dc:creator>nnain1</dc:creator>
      <dc:date>2019-12-26T15:18:21Z</dc:date>
    </item>
    <item>
      <title>This command</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159923#M213</link>
      <description>&lt;P&gt;This command&lt;/P&gt;&lt;P&gt;nm -gD /opt/intel/inteloneapi/compiler/latest/linux/lib/libOpenCL.so.1 | grep 'OPENCL\|clGetKernelSubGroupInfo\|clCreateProgramWithIL'&lt;/P&gt;&lt;P&gt;gave&lt;BR /&gt;00000000000046f0 T clCreateProgramWithIL&lt;BR /&gt;0000000000004720 T clGetKernelSubGroupInfo&lt;BR /&gt;0000000000000000 A OPENCL_1.0&lt;BR /&gt;0000000000000000 A OPENCL_1.1&lt;BR /&gt;0000000000000000 A OPENCL_1.2&lt;BR /&gt;0000000000000000 A OPENCL_2.0&lt;BR /&gt;0000000000000000 A OPENCL_2.1&lt;BR /&gt;0000000000000000 A OPENCL_2.2&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 15:19:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159923#M213</guid>
      <dc:creator>nnain1</dc:creator>
      <dc:date>2019-12-26T15:19:56Z</dc:date>
    </item>
    <item>
      <title>naing, </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159924#M214</link>
      <description>&lt;P&gt;naing,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try change ./src/CMakeLists.txt:target_link_libraries(complex_mult&amp;nbsp;OpenCL sycl)&lt;/P&gt;&lt;P&gt;to&amp;nbsp;./src/CMakeLists.txt:target_link_libraries(complex_mult&amp;nbsp;sycl)&lt;/P&gt;&lt;P&gt;I found same issue on&amp;nbsp;HPCKit-code-samples..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 07:17:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159924#M214</guid>
      <dc:creator>Joey__Wang</dc:creator>
      <dc:date>2019-12-30T07:17:46Z</dc:date>
    </item>
    <item>
      <title>Hi Naing,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159925#M215</link>
      <description>&lt;P&gt;Hi Naing,&lt;/P&gt;&lt;P&gt;Let us know if we can close this thread, you are always welcome to raise a new thread.&lt;/P&gt;&lt;P&gt;-Abhishek&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 09:51:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159925#M215</guid>
      <dc:creator>AbhishekD_Intel</dc:creator>
      <dc:date>2019-12-30T09:51:35Z</dc:date>
    </item>
    <item>
      <title>Yes please go ahead. Removing</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159926#M216</link>
      <description>&lt;P&gt;Yes please go ahead. Removing opencl flag in makefile solved the issue.&lt;/P&gt;</description>
      <pubDate>Sat, 04 Jan 2020 04:51:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159926#M216</guid>
      <dc:creator>nnain1</dc:creator>
      <dc:date>2020-01-04T04:51:21Z</dc:date>
    </item>
    <item>
      <title>Hi Naing,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159927#M217</link>
      <description>&lt;P&gt;Hi Naing,&lt;/P&gt;&lt;P&gt;Hope your issue is resolved. We are closing this&amp;nbsp;thread. You can always reach out to&amp;nbsp;us for other queries in a new thread.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sushma.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 05:29:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-for-oneAPI-Base-Toolkit/m-p/1159927#M217</guid>
      <dc:creator>Sushma_P_Intel</dc:creator>
      <dc:date>2020-01-07T05:29:22Z</dc:date>
    </item>
  </channel>
</rss>

