<?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 Hi All, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-While-Loading-Shared-Libraries-libiomp5-so/m-p/1142667#M26437</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I solved this by adding following in /etc/ld.so.conf:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;/opt/intel/lib/intel64&lt;/PRE&gt;

&lt;P&gt;and then run:&lt;/P&gt;

&lt;PRE class="brush:bash;" style="font-size: 13.008px;"&gt;sudo ldconfig&lt;/PRE&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Intel documentation lacks all these details.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Oct 2017 22:01:22 GMT</pubDate>
    <dc:creator>CPati2</dc:creator>
    <dc:date>2017-10-17T22:01:22Z</dc:date>
    <item>
      <title>Error While Loading Shared Libraries: libiomp5.so</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-While-Loading-Shared-Libraries-libiomp5-so/m-p/1142666#M26436</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I am running CentOS 7.3 on Intel Xeon Phi. I have successfully configured Parallel Studio XE 2017 update 5 with all the libraries and tools that come with it.&amp;nbsp;&lt;SPAN style="font-size: 1em;"&gt;However, for some reason I keep getting following error when I profile benchmarks like DeepBench, Intel LINKPACK or Intel Caffe with&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="font-size: 1em;"&gt;perf:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory&lt;/PRE&gt;

&lt;P&gt;Both &lt;STRONG&gt;perf &lt;/STRONG&gt;and &lt;STRONG&gt;benchmarks &lt;/STRONG&gt;work standalone, only time they don't is when I hook them with each other. This wasn't the case before I had to re-install CentOS on my system. I&lt;SPAN style="font-size: 1em;"&gt;&amp;nbsp;have sourced MKL environment variables apart from other specific variables from /opt/intel/bin/*.sh. I haven't found this libiomp5.so installed anywhere on the system.&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;source /opt/intel/bin/compilervars.sh intel64
source /opt/intel/mkl/bin/mklvars.sh intel64
source /opt/intel/impi/2017.4.239/intel64/bin/mpivars.sh intel64
source /opt/intel/bin/iccvars.sh intel64
source /opt/intel/bin/ifortvars.sh intel64&lt;/PRE&gt;

&lt;P&gt;Can anyone please share steps or suggestions on how to solve this issue?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2017 17:09:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-While-Loading-Shared-Libraries-libiomp5-so/m-p/1142666#M26436</guid>
      <dc:creator>CPati2</dc:creator>
      <dc:date>2017-10-17T17:09:29Z</dc:date>
    </item>
    <item>
      <title>Hi All,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-While-Loading-Shared-Libraries-libiomp5-so/m-p/1142667#M26437</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I solved this by adding following in /etc/ld.so.conf:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;/opt/intel/lib/intel64&lt;/PRE&gt;

&lt;P&gt;and then run:&lt;/P&gt;

&lt;PRE class="brush:bash;" style="font-size: 13.008px;"&gt;sudo ldconfig&lt;/PRE&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Intel documentation lacks all these details.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2017 22:01:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-While-Loading-Shared-Libraries-libiomp5-so/m-p/1142667#M26437</guid>
      <dc:creator>CPati2</dc:creator>
      <dc:date>2017-10-17T22:01:22Z</dc:date>
    </item>
    <item>
      <title>Hi Chetan,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-While-Loading-Shared-Libraries-libiomp5-so/m-p/1142668#M26438</link>
      <description>&lt;P&gt;Hi Chetan,&lt;/P&gt;

&lt;P&gt;libiomp5.so is saved in compiler lib folder. Normally the path of Intel compiler lib will be added to LD_LIBRARY_PATH when you source&amp;nbsp;/opt/intel/compilers_and_libraries_2017.x.xxx/linux/bin/compilervars.sh &amp;lt;ia32|intel64&amp;gt;&lt;/P&gt;

&lt;P&gt;If you get this error message, please try to:&lt;BR /&gt;
	export LD_LIBRARY_PATH=/opt/intel/compilers_and_libraries_2017.x.xxx/linux/compiler/lib/intel64:$LD_LIBRARY_PATH&lt;/P&gt;

&lt;P&gt;Best regards,&lt;BR /&gt;
	Fiona&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2017 03:20:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-While-Loading-Shared-Libraries-libiomp5-so/m-p/1142668#M26438</guid>
      <dc:creator>Zhen_Z_Intel</dc:creator>
      <dc:date>2017-10-18T03:20:16Z</dc:date>
    </item>
    <item>
      <title>Hi </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-While-Loading-Shared-Libraries-libiomp5-so/m-p/1142669#M26439</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can simply scp the libiomp5.so file from /opt/intel/lib/intel64 to coprocessor&lt;/P&gt;
&lt;PRE class="brush:bash; class-name:dark;"&gt;scp libiomp5.so mic0:&lt;/PRE&gt;

&lt;P&gt;Then copy this file to lib64 file in the coprocessor&lt;/P&gt;

&lt;PRE class="brush:bash; class-name:dark;"&gt;cp libiomp5.so /lib64&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Indula.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2020 12:07:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-While-Loading-Shared-Libraries-libiomp5-so/m-p/1142669#M26439</guid>
      <dc:creator>Munasinghe__Indula</dc:creator>
      <dc:date>2020-04-08T12:07:25Z</dc:date>
    </item>
  </channel>
</rss>

