<?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 Re: Thread Checker and DYNAMIC libraries (using of dlopen() fun in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Thread-Checker-and-DYNAMIC-libraries-using-of-dlopen-function/m-p/893556#M3895</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/437346"&gt;sag_dnepr&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;I have some problem with Thread Checker. My project compiled icc (Intel C++ Compiler 11.1) with -tcheck options. And when it (project) started it was hang up while load dynamic library with dlopen(). Some libraries loading fine, but loading of some libraries leaks to hang up of application. It was any time when i starting application.&lt;BR /&gt;&lt;BR /&gt;BTW without -tcheck option all works fine (all dynamic libraries loaded fine).&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;You may try to preload these problematic libraries with the help of LD_PRELOAD environment variable when starting your application. It might help, but I am not sure.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;Instead of starting your application as "./your_application_binary your_application_parameters" try this:&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;LD_PRELOAD=problematic_lib1.so:problematic_lib2.so:$LD_PRELOAD ./your_application_binary your_application_parameters&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 26 Aug 2009 14:35:19 GMT</pubDate>
    <dc:creator>Roman_D_Intel</dc:creator>
    <dc:date>2009-08-26T14:35:19Z</dc:date>
    <item>
      <title>Thread Checker and DYNAMIC libraries (using of dlopen() function)</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Thread-Checker-and-DYNAMIC-libraries-using-of-dlopen-function/m-p/893555#M3894</link>
      <description>I have some problem with Thread Checker. My project compiled icc (Intel C++ Compiler 11.1) with -tcheck options. And when it (project) started it was hang up while load dynamic library with dlopen(). Some libraries loading fine, but loading of some libraries leaks to hang up of application. It was any time when i starting application.&lt;BR /&gt;&lt;BR /&gt;BTW without -tcheck option all works fine (all dynamic libraries loaded fine).&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Aug 2009 08:44:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Thread-Checker-and-DYNAMIC-libraries-using-of-dlopen-function/m-p/893555#M3894</guid>
      <dc:creator>sag_dnepr</dc:creator>
      <dc:date>2009-08-17T08:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Thread Checker and DYNAMIC libraries (using of dlopen() fun</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Thread-Checker-and-DYNAMIC-libraries-using-of-dlopen-function/m-p/893556#M3895</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/437346"&gt;sag_dnepr&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;I have some problem with Thread Checker. My project compiled icc (Intel C++ Compiler 11.1) with -tcheck options. And when it (project) started it was hang up while load dynamic library with dlopen(). Some libraries loading fine, but loading of some libraries leaks to hang up of application. It was any time when i starting application.&lt;BR /&gt;&lt;BR /&gt;BTW without -tcheck option all works fine (all dynamic libraries loaded fine).&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;You may try to preload these problematic libraries with the help of LD_PRELOAD environment variable when starting your application. It might help, but I am not sure.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;Instead of starting your application as "./your_application_binary your_application_parameters" try this:&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;LD_PRELOAD=problematic_lib1.so:problematic_lib2.so:$LD_PRELOAD ./your_application_binary your_application_parameters&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 26 Aug 2009 14:35:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Thread-Checker-and-DYNAMIC-libraries-using-of-dlopen-function/m-p/893556#M3895</guid>
      <dc:creator>Roman_D_Intel</dc:creator>
      <dc:date>2009-08-26T14:35:19Z</dc:date>
    </item>
  </channel>
</rss>

