<?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 Heinrich, in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/libgcc-independent-binary/m-p/1120972#M5474</link>
    <description>&lt;P&gt;Hi Heinrich,&lt;/P&gt;

&lt;P&gt;Thank you very much for the comments and suggestions! However, when I replaced mpif90 by mpiifort, the binary has the following dependencies (as obtained by ldd)&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; linux-vdso.so.1 =&amp;gt; &amp;nbsp;(0x00007fff113fe000)&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libmpifort.so.12 =&amp;gt; /shared/ucl/apps/intel/2015/impi/5.0.3.048/intel64/lib/libmpifort.so.12 (0x00007fa0b9d5c000)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libmpi.so.12 =&amp;gt; /shared/ucl/apps/intel/2015/impi/5.0.3.048/intel64/lib/libmpi.so.12 (0x00007fa0b95d1000)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libdl.so.2 =&amp;gt; /lib64/libdl.so.2 (0x00007fa0b93bc000)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; librt.so.1 =&amp;gt; /lib64/librt.so.1 (0x00007fa0b91b3000)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libpthread.so.0 =&amp;gt; /lib64/libpthread.so.0 (0x00007fa0b8f97000)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libm.so.6 =&amp;gt; /lib64/libm.so.6 (0x00007fa0b8c95000)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libc.so.6 =&amp;gt; /lib64/libc.so.6 (0x00007fa0b88d3000)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /lib64/ld-linux-x86-64.so.2 (0x00007fa0b9fe7000)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libgcc_s.so.1 =&amp;gt; /shared/ucl/apps/gcc/4.9.2/lib64/libgcc_s.so.1 (0x00007fa0b86bc000)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;These are exactly the same as those of the binary produced with mpif90.&lt;/P&gt;

&lt;P&gt;The reason I want to produce a statically linked MPI binary is that I just need to provide the users with the binary, no other dependency libaries.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 24 Mar 2016 16:29:34 GMT</pubDate>
    <dc:creator>jinliang_w_</dc:creator>
    <dc:date>2016-03-24T16:29:34Z</dc:date>
    <item>
      <title>libgcc independent binary</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/libgcc-independent-binary/m-p/1120970#M5472</link>
      <description>&lt;P style="margin-bottom: 0px; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; line-height: normal;"&gt;Hi there,&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; line-height: normal;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; line-height: normal;"&gt;I want to generate binaries that are independent of libgcc. This can be done by the following compiling options,&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; line-height: normal;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; line-height: normal;"&gt;ifort -O0 -fp-model source -ip -inline-factor=100 -unroll-aggressive x.f90 -static-libgcc&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; line-height: normal;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; line-height: normal;"&gt;and the generated binary is indeed independent of libgcc, as checked by ldd.&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; line-height: normal;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; line-height: normal;"&gt;HOWEVER, when I use the following compiling options to generate an MPI binary,&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; line-height: normal;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; line-height: normal;"&gt;mpif90 -O0 -fp-model source -ip -inline-factor=100 -unroll-aggressive -openmp -openmp-link static x.f90 &amp;nbsp;-static-intel -static-libgcc&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; line-height: normal;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; line-height: normal;"&gt;The binary is dependent on libgcc, as checked by ldd.&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; line-height: normal;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; line-height: normal;"&gt;Can anyone help, please?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2016 22:01:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/libgcc-independent-binary/m-p/1120970#M5472</guid>
      <dc:creator>jinliang_w_</dc:creator>
      <dc:date>2016-03-22T22:01:05Z</dc:date>
    </item>
    <item>
      <title> </title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/libgcc-independent-binary/m-p/1120971#M5473</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Hi Jinliang,&lt;/P&gt;

&lt;P&gt;It is normally not recommended to use Intel MPI with static linkage. I also see that you use mpif90 as MPI wrapper script. This wrapper uses gfortran internally! The correct wrapper script for ifort would be mpiifort. Please try if this solves your issue.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;best regards,&lt;BR /&gt;
	Heinrich&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2016 09:28:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/libgcc-independent-binary/m-p/1120971#M5473</guid>
      <dc:creator>Heinrich_B_Intel</dc:creator>
      <dc:date>2016-03-24T09:28:59Z</dc:date>
    </item>
    <item>
      <title>Hi Heinrich,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/libgcc-independent-binary/m-p/1120972#M5474</link>
      <description>&lt;P&gt;Hi Heinrich,&lt;/P&gt;

&lt;P&gt;Thank you very much for the comments and suggestions! However, when I replaced mpif90 by mpiifort, the binary has the following dependencies (as obtained by ldd)&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; linux-vdso.so.1 =&amp;gt; &amp;nbsp;(0x00007fff113fe000)&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libmpifort.so.12 =&amp;gt; /shared/ucl/apps/intel/2015/impi/5.0.3.048/intel64/lib/libmpifort.so.12 (0x00007fa0b9d5c000)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libmpi.so.12 =&amp;gt; /shared/ucl/apps/intel/2015/impi/5.0.3.048/intel64/lib/libmpi.so.12 (0x00007fa0b95d1000)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libdl.so.2 =&amp;gt; /lib64/libdl.so.2 (0x00007fa0b93bc000)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; librt.so.1 =&amp;gt; /lib64/librt.so.1 (0x00007fa0b91b3000)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libpthread.so.0 =&amp;gt; /lib64/libpthread.so.0 (0x00007fa0b8f97000)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libm.so.6 =&amp;gt; /lib64/libm.so.6 (0x00007fa0b8c95000)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libc.so.6 =&amp;gt; /lib64/libc.so.6 (0x00007fa0b88d3000)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /lib64/ld-linux-x86-64.so.2 (0x00007fa0b9fe7000)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libgcc_s.so.1 =&amp;gt; /shared/ucl/apps/gcc/4.9.2/lib64/libgcc_s.so.1 (0x00007fa0b86bc000)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;These are exactly the same as those of the binary produced with mpif90.&lt;/P&gt;

&lt;P&gt;The reason I want to produce a statically linked MPI binary is that I just need to provide the users with the binary, no other dependency libaries.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2016 16:29:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/libgcc-independent-binary/m-p/1120972#M5474</guid>
      <dc:creator>jinliang_w_</dc:creator>
      <dc:date>2016-03-24T16:29:34Z</dc:date>
    </item>
    <item>
      <title>When I add the compiling</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/libgcc-independent-binary/m-p/1120973#M5475</link>
      <description>&lt;P&gt;When I add the compiling option -static_mpi, the binary still has the following dependencies (although libgcc is no longer required).&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; linux-vdso.so.1 =&amp;gt; &amp;nbsp;(0x00007fff76bfe000)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libdl.so.2 =&amp;gt; /lib64/libdl.so.2 (0x00007fb222a99000)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; librt.so.1 =&amp;gt; /lib64/librt.so.1 (0x00007fb222891000)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libpthread.so.0 =&amp;gt; /lib64/libpthread.so.0 (0x00007fb222675000)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libm.so.6 =&amp;gt; /lib64/libm.so.6 (0x00007fb222372000)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libc.so.6 =&amp;gt; /lib64/libc.so.6 (0x00007fb221fb1000)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /lib64/ld-linux-x86-64.so.2 (0x00007fb222cb0000)&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2016 16:45:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/libgcc-independent-binary/m-p/1120973#M5475</guid>
      <dc:creator>jinliang_w_</dc:creator>
      <dc:date>2016-03-24T16:45:55Z</dc:date>
    </item>
  </channel>
</rss>

