<?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 &amp;gt; Through compiling the in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/boost-mpi-linker-error-by-using-intel-MPI/m-p/1178503#M6678</link>
    <description>&lt;P&gt;&amp;gt; Through compiling the library, I used intel compiler&amp;nbsp;(mpiicc &amp;amp; mpiicpc).&lt;/P&gt;&lt;P&gt;Which library ? yours or boost ?&lt;/P&gt;&lt;P&gt;Also, how was boost mpi configured ? there are a few bugs and instabilities in Intel's MPI wrapper so the boost mpi configuration can be tricky depending on the Intel's version.&lt;/P&gt;&lt;P&gt;Can you tell us where are the undefined symbols used ? Sometime it's mentioned in the error message.&lt;/P&gt;&lt;P&gt;Alain&lt;/P&gt;</description>
    <pubDate>Wed, 06 May 2020 08:52:50 GMT</pubDate>
    <dc:creator>dsi-intel_d_</dc:creator>
    <dc:date>2020-05-06T08:52:50Z</dc:date>
    <item>
      <title>boost::mpi linker error by using intel MPI</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/boost-mpi-linker-error-by-using-intel-MPI/m-p/1178502#M6677</link>
      <description>&lt;P&gt;Dear experts&lt;BR /&gt;&lt;BR /&gt;I confront the problem in linking error using boost::mpi when my executable&amp;nbsp;is linked to my static library (which contains boost::mpi) I constructed.&lt;BR /&gt;The error is almost due to undefined reference to such as ompi_mpi_comm_null, which seems types in open mpi.&lt;/P&gt;&lt;P&gt;I know intel MPI is based on MPICH so that referring such a type is strange.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Through compiling the library, I used intel compiler&amp;nbsp;(mpiicc &amp;amp; mpiicpc).&lt;/P&gt;&lt;P&gt;If you know how to resolve it, I would appreciate it if you could advice&amp;nbsp;me.&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 19:58:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/boost-mpi-linker-error-by-using-intel-MPI/m-p/1178502#M6677</guid>
      <dc:creator>Nishikawa__Mitsuru</dc:creator>
      <dc:date>2020-05-05T19:58:03Z</dc:date>
    </item>
    <item>
      <title>&gt; Through compiling the</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/boost-mpi-linker-error-by-using-intel-MPI/m-p/1178503#M6678</link>
      <description>&lt;P&gt;&amp;gt; Through compiling the library, I used intel compiler&amp;nbsp;(mpiicc &amp;amp; mpiicpc).&lt;/P&gt;&lt;P&gt;Which library ? yours or boost ?&lt;/P&gt;&lt;P&gt;Also, how was boost mpi configured ? there are a few bugs and instabilities in Intel's MPI wrapper so the boost mpi configuration can be tricky depending on the Intel's version.&lt;/P&gt;&lt;P&gt;Can you tell us where are the undefined symbols used ? Sometime it's mentioned in the error message.&lt;/P&gt;&lt;P&gt;Alain&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 08:52:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/boost-mpi-linker-error-by-using-intel-MPI/m-p/1178503#M6678</guid>
      <dc:creator>dsi-intel_d_</dc:creator>
      <dc:date>2020-05-06T08:52:50Z</dc:date>
    </item>
    <item>
      <title>Dear dsi-intel d.          </title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/boost-mpi-linker-error-by-using-intel-MPI/m-p/1178504#M6679</link>
      <description>&lt;P&gt;Dear dsi-intel d.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your kind reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; Which library ? yours or boost ?&lt;/P&gt;&lt;P&gt;I intended to compile both by&amp;nbsp;intel MPI&amp;nbsp;compiler (boost ver1.66, intel compiler (mpiicpc)&amp;nbsp;is ver 19.03.199), probably.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When building boost::mpi, I just added the below sentence in the to_boost_dir/project-config.jam&lt;/P&gt;&lt;P&gt;&amp;gt; using mpi : mpiicc;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my project, MPI-dependent libraries are&lt;/P&gt;&lt;P&gt;(1) boost mpi library (libboost_mpi.a)&lt;/P&gt;&lt;P&gt;(2) intel MPI library (libmpi_ilp64.a)&lt;/P&gt;&lt;P&gt;(3) my own library (mylib.a, psuedo name), which use boost::mpi&lt;/P&gt;&lt;P&gt;Probably, (1)&amp;amp;(3) are compiled by intel MPI compiler.&lt;/P&gt;&lt;P&gt;open-mpi based symbols just exists in (3) (I confirmed by using "nm" command).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have some advice, I would appreciate it if you could help me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 20:05:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/boost-mpi-linker-error-by-using-intel-MPI/m-p/1178504#M6679</guid>
      <dc:creator>Nishikawa__Mitsuru</dc:creator>
      <dc:date>2020-05-06T20:05:23Z</dc:date>
    </item>
    <item>
      <title>Hi Mitsuru,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/boost-mpi-linker-error-by-using-intel-MPI/m-p/1178505#M6680</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Mitsuru,&lt;/P&gt;&lt;P&gt;We have installed Boost MPI in the following manner.&amp;nbsp;&lt;/P&gt;
&lt;PRE class="brush:bash; class-name:dark;"&gt;cd path/to/boost_dir

./bootstrap.sh --prefix=path/to/installation/prefix

which mpiicc&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Depending on your MPI implementation, some work might be needed to tell Boost which specific MPI option to use. This is done through the&amp;nbsp;using&amp;nbsp;mpi&amp;nbsp;;&amp;nbsp;directive in the&amp;nbsp;project-config.jam&amp;nbsp;file those general form is (do not forget to leave spaces around&amp;nbsp;:&amp;nbsp;and before&amp;nbsp;; )&lt;/P&gt;
&lt;P&gt;Add the below lines at the end of project-config.jam file&lt;/P&gt;

&lt;PRE class="brush:bash; class-name:dark;"&gt;# MPI 

using mpi : /path/bin/mpiicc&amp;nbsp;;&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now add &lt;STRONG&gt;toolset=intel&lt;/STRONG&gt; for b2 before building&lt;/P&gt;

&lt;PRE class="brush:bash; class-name:dark;"&gt;$ b2 --prefix=/path/boost_install/ toolset=intel&amp;nbsp;install


&lt;/PRE&gt;

&lt;P&gt;To compile your program, you will need to add&amp;nbsp;-I/boost/install/path/include&amp;nbsp;option while invoking the compiler.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By following the above steps we are able to compile and run the application.&lt;/P&gt;
&lt;P&gt;If you are still facing the same issue after following the above steps please provide your source code if possible. So that we will investigate more about your issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Goutham&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 13:30:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/boost-mpi-linker-error-by-using-intel-MPI/m-p/1178505#M6680</guid>
      <dc:creator>GouthamK_Intel</dc:creator>
      <dc:date>2020-05-08T13:30:19Z</dc:date>
    </item>
    <item>
      <title>Dear Kuncham, Goutham</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/boost-mpi-linker-error-by-using-intel-MPI/m-p/1178506#M6681</link>
      <description>&lt;P&gt;Dear&amp;nbsp;Kuncham, Goutham Kalikrishna Reddy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your detailed reply, and I apologize for my delayed response.&lt;/P&gt;&lt;P&gt;As you told me, there is some compilation/installation mismatch of boost mpi in intel compiler.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am willing to check and test as you suggested.&lt;/P&gt;&lt;P&gt;If I confront some problems,&lt;/P&gt;&lt;P&gt;I would appreciate it if you&amp;nbsp;could advice me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;</description>
      <pubDate>Sun, 10 May 2020 23:52:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/boost-mpi-linker-error-by-using-intel-MPI/m-p/1178506#M6681</guid>
      <dc:creator>Nishikawa__Mitsuru</dc:creator>
      <dc:date>2020-05-10T23:52:36Z</dc:date>
    </item>
    <item>
      <title>I rebuilt boost mpi according</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/boost-mpi-linker-error-by-using-intel-MPI/m-p/1178507#M6682</link>
      <description>&lt;P&gt;I rebuilt boost mpi according to the previous advice(and confirmed it was built by intel mpi compiler), but still confronted the same error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here, I noticed that there is openmpi dependent 3rd-party library(vtk). So, I suppose that this caused my linker error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, my questions are&lt;/P&gt;&lt;P&gt;(1) can intel mpi library coexist&amp;nbsp;with openmpi middleware? (If so, correct solution is to link openmpi libraries)&lt;/P&gt;&lt;P&gt;(2) If not, is it impossible to use openmpi-dependent library with intel compiler?&lt;/P&gt;&lt;P&gt;(is there some technique? is it inevitable to build the 3rd party library also by intel mpi compiler?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate your cooperation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 22:15:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/boost-mpi-linker-error-by-using-intel-MPI/m-p/1178507#M6682</guid>
      <dc:creator>Nishikawa__Mitsuru</dc:creator>
      <dc:date>2020-05-11T22:15:17Z</dc:date>
    </item>
    <item>
      <title>Hi Mitsuru,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/boost-mpi-linker-error-by-using-intel-MPI/m-p/1178508#M6683</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Mitsuru,&lt;/P&gt;&lt;P&gt;If possible, could you please share the &lt;STRONG&gt;source code&lt;/STRONG&gt; for which you are facing the issue. So that we will be able to investigate more on the issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also please do share &lt;STRONG&gt;steps to reproduce&lt;/STRONG&gt;, &lt;STRONG&gt;error logs&lt;/STRONG&gt; of the output.&lt;/P&gt;&lt;P&gt;If your code requires any &lt;STRONG&gt;third-party libraries&lt;/STRONG&gt;, let us know the versions which you have installed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Goutham&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 09:37:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/boost-mpi-linker-error-by-using-intel-MPI/m-p/1178508#M6683</guid>
      <dc:creator>GouthamK_Intel</dc:creator>
      <dc:date>2020-05-12T09:37:19Z</dc:date>
    </item>
    <item>
      <title>Hi Mitsuru,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/boost-mpi-linker-error-by-using-intel-MPI/m-p/1178509#M6684</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Mitsuru,&lt;/P&gt;&lt;P&gt;Regarding your question,&amp;nbsp;two MPI runtimes cannot run at the same time.&lt;/P&gt;&lt;P&gt;Since you are getting OpenMPI dependencies from a 3rd party library, you can try to rebuild it with Intel MPI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prasanth&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 12:00:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/boost-mpi-linker-error-by-using-intel-MPI/m-p/1178509#M6684</guid>
      <dc:creator>PrasanthD_intel</dc:creator>
      <dc:date>2020-05-22T12:00:46Z</dc:date>
    </item>
    <item>
      <title>Hi Mitsuru,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/boost-mpi-linker-error-by-using-intel-MPI/m-p/1178510#M6685</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Mitsuru,&lt;/P&gt;&lt;P&gt;We are closing this thread considering your issue got resolved with the given suggestions.&lt;/P&gt;&lt;P&gt;Please raise a new thread for any further queries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prasanth&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 07:36:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/boost-mpi-linker-error-by-using-intel-MPI/m-p/1178510#M6685</guid>
      <dc:creator>PrasanthD_intel</dc:creator>
      <dc:date>2020-06-03T07:36:03Z</dc:date>
    </item>
  </channel>
</rss>

