<?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 I don't think anyone can in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/usr-bin-ld-cannot-find-lmpigc4/m-p/978094#M3442</link>
    <description>&lt;P&gt;I don't think anyone can answer without more specific information from you; if not a reproducer case, at least a statement of the compile and link commands and reported errors.&lt;/P&gt;
&lt;P&gt;The wrappers mpiifort, mpiicc, mpiicpc should select working MPI libraries at link time.&amp;nbsp; If you want wrappers such as mpif90, mpiCC, mpicc to act as aliases for the supported Intel compiler wrappers, you must take action to make it so in your installation.&amp;nbsp; Although there is a rudimentary gcc for MIC supplied with MPSS, I don't think it accepts -mmic nor would I count on it working with any supplied MPI libraries.&lt;/P&gt;
&lt;P&gt;I doubt if anyone currently uses the 4.1.0.024 version.&lt;/P&gt;</description>
    <pubDate>Fri, 23 Aug 2013 01:43:29 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2013-08-23T01:43:29Z</dc:date>
    <item>
      <title>/usr/bin/ld: cannot find -lmpigc4</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/usr-bin-ld-cannot-find-lmpigc4/m-p/978092#M3440</link>
      <description>&lt;P&gt;I installed intel MPI Library 4.1.0.024 and tried compiling a MPI program. If I compile it without -mmic, there's no problem. But when I add &amp;nbsp;&lt;STRONG&gt;-mmic, &lt;/STRONG&gt;here's&amp;nbsp; the &amp;nbsp;error message:&lt;/P&gt;
&lt;P&gt;/usr/bin/ld: skipping incompatible /opt/intel/impi/4.1.0.024/mic/lib/libmpigc4.so when searching for -lmpigc4&lt;BR /&gt;/usr/bin/ld: skipping incompatible /opt/intel/impi/4.1.0.024/mic/lib/libmpigc4.a when searching for -lmpigc4&lt;BR /&gt;/usr/bin/ld: cannot find -lmpigc4&lt;/P&gt;
&lt;P&gt;I can find the file of&amp;nbsp;libmpigc4.so and libmpigc4.a in the directory of&amp;nbsp;&amp;nbsp;/opt/intel/impi/4.1.0.024/mic/lib. And the PATH in .bashrc is:&lt;/P&gt;
&lt;P&gt;source /opt/intel/impi/4.1.0.024/&lt;STRONG&gt;intel64&lt;/STRONG&gt;/bin/mpivars.sh&lt;/P&gt;
&lt;P&gt;Even I change it to: source /opt/intel/impi/4.1.0.024/&lt;STRONG&gt;mic&lt;/STRONG&gt;/bin/mpivars.sh, it gives me the same error.&lt;/P&gt;
&lt;P&gt;I need your help. Thank you much&lt;/P&gt;
&lt;P&gt;Zhao&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2013 08:12:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/usr-bin-ld-cannot-find-lmpigc4/m-p/978092#M3440</guid>
      <dc:creator>Kun_Z_1</dc:creator>
      <dc:date>2013-08-17T08:12:44Z</dc:date>
    </item>
    <item>
      <title>Anyone?</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/usr-bin-ld-cannot-find-lmpigc4/m-p/978093#M3441</link>
      <description>&lt;P&gt;Anyone?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2013 00:32:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/usr-bin-ld-cannot-find-lmpigc4/m-p/978093#M3441</guid>
      <dc:creator>Kun_Z_1</dc:creator>
      <dc:date>2013-08-23T00:32:51Z</dc:date>
    </item>
    <item>
      <title>I don't think anyone can</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/usr-bin-ld-cannot-find-lmpigc4/m-p/978094#M3442</link>
      <description>&lt;P&gt;I don't think anyone can answer without more specific information from you; if not a reproducer case, at least a statement of the compile and link commands and reported errors.&lt;/P&gt;
&lt;P&gt;The wrappers mpiifort, mpiicc, mpiicpc should select working MPI libraries at link time.&amp;nbsp; If you want wrappers such as mpif90, mpiCC, mpicc to act as aliases for the supported Intel compiler wrappers, you must take action to make it so in your installation.&amp;nbsp; Although there is a rudimentary gcc for MIC supplied with MPSS, I don't think it accepts -mmic nor would I count on it working with any supplied MPI libraries.&lt;/P&gt;
&lt;P&gt;I doubt if anyone currently uses the 4.1.0.024 version.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2013 01:43:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/usr-bin-ld-cannot-find-lmpigc4/m-p/978094#M3442</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2013-08-23T01:43:29Z</dc:date>
    </item>
    <item>
      <title>Thank you for your reply and</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/usr-bin-ld-cannot-find-lmpigc4/m-p/978095#M3443</link>
      <description>&lt;P&gt;Thank you for your reply and I am sorry for the lack of enough specific information. Recently, I installed the new version of intel mpi 4.1.1.036.&lt;/P&gt;
&lt;P&gt;If I compile my program with the options:&amp;nbsp;&lt;STRONG&gt;mpicxx -o3 -m64 -fopenmp&amp;nbsp;-funroll-loops -Wno-deprecated,&amp;nbsp;&lt;/STRONG&gt;there is no problem, and the executable can run rightly on Xeon. However, I want to use MIC to speed up my program and use the MIC native model, so I need to add the compile option:-mmic.&lt;/P&gt;
&lt;P&gt;When I compile the program with the options:&amp;nbsp;&lt;STRONG&gt;mpicxx -o3 -m64 -mmic -fopenmp&amp;nbsp;-funroll-loops -Wno-deprecated,&amp;nbsp;&lt;/STRONG&gt;it will give the same error messages. In this situation, compiler will use the lib file from ~/mic/lib, not ~/intel64/lib, that's where the problems occur. Many people said &amp;nbsp;that this error is related to 32 or 64 bits, may be that's true, but I can't find lib64 under ~/mic directory. If I link the libmpigc4.so under ~/mic/lib to the libmpigc4.so under ~/intel64/lib, it can work, However, the executable can't run on MIC because the libmpigc4.s0 we used is for Xeon, not Xeon Phi.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2013 02:36:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/usr-bin-ld-cannot-find-lmpigc4/m-p/978095#M3443</guid>
      <dc:creator>Kun_Z_1</dc:creator>
      <dc:date>2013-08-23T02:36:36Z</dc:date>
    </item>
    <item>
      <title>So you are looking to build</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/usr-bin-ld-cannot-find-lmpigc4/m-p/978096#M3444</link>
      <description>&lt;P&gt;So you are looking to build with a g++ cross compiler for MIC?&amp;nbsp;&amp;nbsp; I haven't heard of anyone doing that.&amp;nbsp; The MIC installation doesn't provide an acceptable g++ .&amp;nbsp; &lt;/P&gt;
&lt;P&gt;You seem to confirm that you are among those who build with gnu compilers and Intel MPI for host and are looking for a way to run on MIC without changing Makefile accordingly.&amp;nbsp; The only successful method I've heard of, as I hinted above, is to choose one of the methods to replace mpicxx -mmic by mpiicpc -mmic, for example by copying mpiicpc.py to mpicxx.py&amp;nbsp; &lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2013 12:41:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/usr-bin-ld-cannot-find-lmpigc4/m-p/978096#M3444</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2013-08-23T12:41:08Z</dc:date>
    </item>
  </channel>
</rss>

