<?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 error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/error-while-loading-shared-libraries-libiomp5-so-cannot-open/m-p/1109223#M5351</link>
    <description>I wrote a MPI Program to run on Intel Xeon Phi in native mode.
I am using Stampede  super computer.
I have defined omp pragmas in the code.

I have compiled using following command
$mpiicc program.c -openmp -mmic

To submit as a batch file, script file has the following commands
#!/bin/bash
#SBATCH -J myMPI           # job name
#SBATCH -o result.o%j       # output and error file name (%j expands to jobID)
#SBATCH -e result.e%j
#SBATCH -N 1 -n 2              # total number of mpi tasks requested
#SBATCH -p normal-mic      # queue (partition) -- normal, development, etc.
#SBATCH -t 00:10:00        # run time (hh:mm:ss) - 1.5 hours

scp a.out mic0:/tmp
export I_MPI_MIC=enable
ibrun  -host mic0 /tmp/a.out         # run the MPI executable named a.out


I am getting the following errors
/tmp/a.out: error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory
/tmp/a.out: error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory

somebody please help me how to get rid of these errors.</description>
    <pubDate>Mon, 14 Mar 2016 09:47:54 GMT</pubDate>
    <dc:creator>Krishna_P_1</dc:creator>
    <dc:date>2016-03-14T09:47:54Z</dc:date>
    <item>
      <title>error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/error-while-loading-shared-libraries-libiomp5-so-cannot-open/m-p/1109223#M5351</link>
      <description>I wrote a MPI Program to run on Intel Xeon Phi in native mode.
I am using Stampede  super computer.
I have defined omp pragmas in the code.

I have compiled using following command
$mpiicc program.c -openmp -mmic

To submit as a batch file, script file has the following commands
#!/bin/bash
#SBATCH -J myMPI           # job name
#SBATCH -o result.o%j       # output and error file name (%j expands to jobID)
#SBATCH -e result.e%j
#SBATCH -N 1 -n 2              # total number of mpi tasks requested
#SBATCH -p normal-mic      # queue (partition) -- normal, development, etc.
#SBATCH -t 00:10:00        # run time (hh:mm:ss) - 1.5 hours

scp a.out mic0:/tmp
export I_MPI_MIC=enable
ibrun  -host mic0 /tmp/a.out         # run the MPI executable named a.out


I am getting the following errors
/tmp/a.out: error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory
/tmp/a.out: error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory

somebody please help me how to get rid of these errors.</description>
      <pubDate>Mon, 14 Mar 2016 09:47:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/error-while-loading-shared-libraries-libiomp5-so-cannot-open/m-p/1109223#M5351</guid>
      <dc:creator>Krishna_P_1</dc:creator>
      <dc:date>2016-03-14T09:47:54Z</dc:date>
    </item>
    <item>
      <title>Hi Krishna,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/error-while-loading-shared-libraries-libiomp5-so-cannot-open/m-p/1109224#M5352</link>
      <description>&lt;P&gt;Hi Krishna,&lt;/P&gt;

&lt;P&gt;Your MPI application depends on&amp;nbsp;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;libiomp5.so, so you should ensure that this library is available on the Xeon Phi and dynamic linker is able to find it.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 10:04:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/error-while-loading-shared-libraries-libiomp5-so-cannot-open/m-p/1109224#M5352</guid>
      <dc:creator>Artem_R_Intel1</dc:creator>
      <dc:date>2016-03-14T10:04:08Z</dc:date>
    </item>
    <item>
      <title>One would think the procedure</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/error-while-loading-shared-libraries-libiomp5-so-cannot-open/m-p/1109225#M5353</link>
      <description>&lt;P&gt;One would think the procedure for using compiler shared libraries would be covered in stampede FAQ. If you don't have available a module command and don't have privilege to upload .so to the default path you must set ld_library_path to match where you upload it.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 12:00:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/error-while-loading-shared-libraries-libiomp5-so-cannot-open/m-p/1109225#M5353</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2016-03-14T12:00:47Z</dc:date>
    </item>
  </channel>
</rss>

