<?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>тема Re:dpcpp beta3: undefined reference on linking в Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpcpp-beta3-undefined-reference-on-linking/m-p/1288371#M1278</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We haven't heard back from you. We hope your issue has been resolved. As all your questions have been answered we will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Have a Good day!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 09 Jun 2021 07:25:23 GMT</pubDate>
    <dc:creator>SantoshY_Intel</dc:creator>
    <dc:date>2021-06-09T07:25:23Z</dc:date>
    <item>
      <title>dpcpp beta3: undefined reference on linking</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpcpp-beta3-undefined-reference-on-linking/m-p/1151879#M126</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Platform: Centos7&lt;/P&gt;&lt;P&gt;dpcpp version:&amp;nbsp;Intel(R) oneAPI DPC++ Compiler 2021.1-beta03 (2019.10.0.1106)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when linking executable an error is produced:&lt;/P&gt;
&lt;PRE class="brush:bash; class-name:dark;"&gt;/opt/intel/inteloneapi/compiler/2021.1-beta03/linux/bin/../lib/libsycl.so: undefined reference to `clCreateProgramWithIL@OPENCL_2.1'
/opt/intel/inteloneapi/compiler/2021.1-beta03/linux/bin/../lib/libsycl.so: undefined reference to `clGetKernelSubGroupInfo@OPENCL_2.1'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)&lt;/PRE&gt;

&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;same program works when compiled on Ubuntu 18.04&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 09:08:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpcpp-beta3-undefined-reference-on-linking/m-p/1151879#M126</guid>
      <dc:creator>leggett__charles</dc:creator>
      <dc:date>2019-12-05T09:08:55Z</dc:date>
    </item>
    <item>
      <title>Hello  Charles ,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpcpp-beta3-undefined-reference-on-linking/m-p/1151880#M127</link>
      <description>Hello  Charles ,
Thanks for reaching out to us. We are working on this issue and will get back to you.

Regards,
Sushma</description>
      <pubDate>Thu, 05 Dec 2019 10:46:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpcpp-beta3-undefined-reference-on-linking/m-p/1151880#M127</guid>
      <dc:creator>Sushma_P_Intel</dc:creator>
      <dc:date>2019-12-05T10:46:11Z</dc:date>
    </item>
    <item>
      <title>Turns out this was due to</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpcpp-beta3-undefined-reference-on-linking/m-p/1151881#M128</link>
      <description>&lt;P&gt;Turns out this was due to conflicting libOpenCL.so. When the new one from beta03 is used, compilation works, but a segfault occurs upon execution:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="brush:bash; class-name:dark;"&gt;#1  0x00007ffff7dea973 in _dl_init_internal () from /lib64/ld-linux-x86-64.so.2
#2  0x00007ffff7def54e in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
#3  0x00007ffff7dea784 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#4  0x00007ffff7deeb3b in _dl_open () from /lib64/ld-linux-x86-64.so.2
#5  0x00007ffff6ac1eeb in dlopen_doit () from /lib64/libdl.so.2
#6  0x00007ffff7dea784 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#7  0x00007ffff6ac24ed in _dlerror_run () from /lib64/libdl.so.2
#8  0x00007ffff6ac1f81 in dlopen@@GLIBC_2.2.5 () from /lib64/libdl.so.2
#9  0x00007ffff7ff18c3 in khrIcdVendorAdd ()
   from /opt/intel/inteloneapi/compiler/latest/linux/lib/libOpenCL.so.1
#10 0x00007ffff7ff1b4f in khrIcdVendorsEnumerateEnv ()
   from /opt/intel/inteloneapi/compiler/latest/linux/lib/libOpenCL.so.1
#11 0x00007ffff7ff37fa in khrIcdOsVendorsEnumerate ()
   from /opt/intel/inteloneapi/compiler/latest/linux/lib/libOpenCL.so.1
#12 0x00007ffff70991cb in __pthread_once_slow () from /lib64/libpthread.so.0
#13 0x00007ffff7ff1f61 in clGetPlatformIDs ()
   from /opt/intel/inteloneapi/compiler/latest/linux/lib/libOpenCL.so.1
#14 0x00007ffff746ed7a in cl::sycl::detail::pi::OclpiPlatformsGet(unsigned int, _pi_platform**, unsigned int*) () from /opt/intel/inteloneapi/compiler/latest/linux/lib/libsycl.so
#15 0x00007ffff74806f2 in cl::sycl::detail::platform_impl_pi::get_platforms() ()
   from /opt/intel/inteloneapi/compiler/latest/linux/lib/libsycl.so
#16 0x00007ffff74b0ae6 in cl::sycl::platform::get_platforms() ()
   from /opt/intel/inteloneapi/compiler/latest/linux/lib/libsycl.so
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ldd shows:&lt;/P&gt;

&lt;PRE class="brush:bash; class-name:dark;"&gt;	linux-vdso.so.1 =&amp;gt;  (0x00007ffc36f63000)
	libOpenCL.so.1 =&amp;gt; /opt/intel/inteloneapi/compiler/latest/linux/lib/libOpenCL.so.1 (0x00007fa396c62000)
	libstdc++.so.6 =&amp;gt; /lib64/libstdc++.so.6 (0x00007fa396745000)
	libm.so.6 =&amp;gt; /lib64/libm.so.6 (0x00007fa396443000)
	libgcc_s.so.1 =&amp;gt; /lib64/libgcc_s.so.1 (0x00007fa39622d000)
	libsycl.so =&amp;gt; /opt/intel/inteloneapi/compiler/latest/linux/lib/libsycl.so (0x00007fa395f20000)
	libpthread.so.0 =&amp;gt; /lib64/libpthread.so.0 (0x00007fa395d04000)
	libc.so.6 =&amp;gt; /lib64/libc.so.6 (0x00007fa395936000)
	libdl.so.2 =&amp;gt; /lib64/libdl.so.2 (0x00007fa395732000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fa396a4c000)
	libimf.so =&amp;gt; /opt/intel/inteloneapi/compiler/latest/linux/compiler/lib/intel64_lin/libimf.so (0x00007fa395194000)
	libsvml.so =&amp;gt; /opt/intel/inteloneapi/compiler/latest/linux/compiler/lib/intel64_lin/libsvml.so (0x00007fa39380d000)
	libirng.so =&amp;gt; /opt/intel/inteloneapi/compiler/latest/linux/compiler/lib/intel64_lin/libirng.so (0x00007fa3934a3000)
	libintlc.so.5 =&amp;gt; /opt/intel/inteloneapi/compiler/latest/linux/compiler/lib/intel64_lin/libintlc.so.5 (0x00007fa39322c000)
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2019 10:13:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpcpp-beta3-undefined-reference-on-linking/m-p/1151881#M128</guid>
      <dc:creator>leggett__charles</dc:creator>
      <dc:date>2019-12-06T10:13:55Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpcpp-beta3-undefined-reference-on-linking/m-p/1151882#M129</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Are you targeting cpu or gpu? Could you share the code you are trying to run with us?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Varsha&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 21:28:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpcpp-beta3-undefined-reference-on-linking/m-p/1151882#M129</guid>
      <dc:creator>Varsha_M_Intel</dc:creator>
      <dc:date>2019-12-11T21:28:41Z</dc:date>
    </item>
    <item>
      <title>it's merely trying to list</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpcpp-beta3-undefined-reference-on-linking/m-p/1151883#M130</link>
      <description>&lt;P&gt;it's merely trying to list the available OpenCL devices:&lt;/P&gt;
&lt;PRE class="brush:cpp; class-name:dark;"&gt;#include &amp;lt;CL/sycl.hpp&amp;gt;
#include &amp;lt;iostream&amp;gt;

int main() {
  {
    auto platform_list = cl::sycl::platform::get_platforms();
    std::cout &amp;lt;&amp;lt; "   available devices [" &amp;lt;&amp;lt; platform_list.size() &amp;lt;&amp;lt; "]\n";
    
    // looping over platforms
    int i=0;
    for (const auto &amp;amp;platform : platform_list) {
      std::cout &amp;lt;&amp;lt; "    [" &amp;lt;&amp;lt; i &amp;lt;&amp;lt; "] "
                &amp;lt;&amp;lt; platform.get_info&amp;lt;cl::sycl::info::platform::name&amp;gt;()
                &amp;lt;&amp;lt; std::endl;
      auto device_list = platform.get_devices();
      for (const auto &amp;amp;device : device_list) {
        std::cout &amp;lt;&amp;lt; "        -&amp;gt; "
                  &amp;lt;&amp;lt; device.get_info&amp;lt;cl::sycl::info::device::name&amp;gt;()
                  &amp;lt;&amp;lt; std::endl;
      }
      ++i;
    }
  }  
  return 0;
}
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2019 01:27:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpcpp-beta3-undefined-reference-on-linking/m-p/1151883#M130</guid>
      <dc:creator>leggett__charles</dc:creator>
      <dc:date>2019-12-12T01:27:26Z</dc:date>
    </item>
    <item>
      <title>Any updates here?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpcpp-beta3-undefined-reference-on-linking/m-p/1151884#M131</link>
      <description>Any updates here?</description>
      <pubDate>Fri, 20 Dec 2019 23:40:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpcpp-beta3-undefined-reference-on-linking/m-p/1151884#M131</guid>
      <dc:creator>leggett__charles</dc:creator>
      <dc:date>2019-12-20T23:40:24Z</dc:date>
    </item>
    <item>
      <title>is anyone bothering to look</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpcpp-beta3-undefined-reference-on-linking/m-p/1151885#M132</link>
      <description>is anyone bothering to look in to this, or have you decided that centos is not a supported platform?</description>
      <pubDate>Fri, 17 Jan 2020 00:08:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpcpp-beta3-undefined-reference-on-linking/m-p/1151885#M132</guid>
      <dc:creator>leggett__charles</dc:creator>
      <dc:date>2020-01-17T00:08:42Z</dc:date>
    </item>
    <item>
      <title>Re:dpcpp beta3: undefined reference on linking</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpcpp-beta3-undefined-reference-on-linking/m-p/1288053#M1273</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We checked whether DPC++ is supported by CentOS7 using &lt;A href="https://software.intel.com/content/www/us/en/develop/articles/intel-oneapi-base-toolkit-system-requirements.html" target="_blank"&gt;Intel® oneAPI Base Toolkit System Requirements&lt;/A&gt;. We observed that CentOS7 supports all the OneAPI components except oneCCL, oneDNN, and&lt;B&gt; Intel oneAPI DPC++/C++ Compiler.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Jun 2021 10:57:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpcpp-beta3-undefined-reference-on-linking/m-p/1288053#M1273</guid>
      <dc:creator>SantoshY_Intel</dc:creator>
      <dc:date>2021-06-08T10:57:44Z</dc:date>
    </item>
    <item>
      <title>Re:dpcpp beta3: undefined reference on linking</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpcpp-beta3-undefined-reference-on-linking/m-p/1288371#M1278</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We haven't heard back from you. We hope your issue has been resolved. As all your questions have been answered we will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Have a Good day!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Jun 2021 07:25:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpcpp-beta3-undefined-reference-on-linking/m-p/1288371#M1278</guid>
      <dc:creator>SantoshY_Intel</dc:creator>
      <dc:date>2021-06-09T07:25:23Z</dc:date>
    </item>
  </channel>
</rss>

