<?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 Srinivasan, in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/system-command-not-executing-with-mpiicc-O/m-p/1076880#M4803</link>
    <description>&lt;P&gt;Hi Srinivasan,&lt;/P&gt;

&lt;P&gt;I don't see anything suspicious in your code and unable to reproduce the described problem with the similar code. Could you please try this scenario with disabled SELinux?&lt;/P&gt;

&lt;P&gt;Also you can check icc command line generated by mpiicc with '-show' option ('mpiicc -O ... -show').&lt;/P&gt;</description>
    <pubDate>Fri, 20 Nov 2015 08:54:03 GMT</pubDate>
    <dc:creator>Artem_R_Intel1</dc:creator>
    <dc:date>2015-11-20T08:54:03Z</dc:date>
    <item>
      <title>system command not executing with mpiicc -O</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/system-command-not-executing-with-mpiicc-O/m-p/1076879#M4802</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have intel Parallel studio XE cluster edition 2015 on my 10 Node server connected with infiniband band. I wrote my code in C. My code consists of system commands with sprintf commands like below&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf("started \n");&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;system("cp metis_input.txt $HOME/metis-4.0/.");&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;sprintf(filename,"$HOME/metis-4.0/./partdmesh metis_input.txt %d",size-1);&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;system(filename);&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;sprintf(filename,"mv metis_input.txt.npart.%d nodes_proc.txt",size-1);&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;system(filename);&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;printf("completed \n");&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;when i compile my code n run it without any opmization flag it runs smoothly but when i compile my code with &lt;STRONG&gt;"mpiicc -O"&amp;nbsp;&lt;/STRONG&gt;the above lines dont even seem to b executed. I c that the above lines are being skipped. only the printf's r executed. Do i need to add anything extra in my code to get these system commands runnning for INTEL mpi compiler with &lt;STRONG&gt;-O&lt;/STRONG&gt; ? &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2015 06:54:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/system-command-not-executing-with-mpiicc-O/m-p/1076879#M4802</guid>
      <dc:creator>srinivasan_G_1</dc:creator>
      <dc:date>2015-11-20T06:54:21Z</dc:date>
    </item>
    <item>
      <title>Hi Srinivasan,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/system-command-not-executing-with-mpiicc-O/m-p/1076880#M4803</link>
      <description>&lt;P&gt;Hi Srinivasan,&lt;/P&gt;

&lt;P&gt;I don't see anything suspicious in your code and unable to reproduce the described problem with the similar code. Could you please try this scenario with disabled SELinux?&lt;/P&gt;

&lt;P&gt;Also you can check icc command line generated by mpiicc with '-show' option ('mpiicc -O ... -show').&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2015 08:54:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/system-command-not-executing-with-mpiicc-O/m-p/1076880#M4803</guid>
      <dc:creator>Artem_R_Intel1</dc:creator>
      <dc:date>2015-11-20T08:54:03Z</dc:date>
    </item>
    <item>
      <title>Hi atlem</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/system-command-not-executing-with-mpiicc-O/m-p/1076881#M4804</link>
      <description>&lt;P&gt;Hi atlem&lt;/P&gt;

&lt;P&gt;i tried after disabling selinux. same issue is continuing... any other suggestion??&lt;/P&gt;

&lt;P&gt;Regards&amp;nbsp;&lt;/P&gt;

&lt;P&gt;G SRINIVASAN&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2015 19:15:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/system-command-not-executing-with-mpiicc-O/m-p/1076881#M4804</guid>
      <dc:creator>srinivasan_G_1</dc:creator>
      <dc:date>2015-11-20T19:15:21Z</dc:date>
    </item>
    <item>
      <title>Hi Srinivasan,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/system-command-not-executing-with-mpiicc-O/m-p/1076882#M4805</link>
      <description>&lt;P&gt;Hi Srinivasan,&lt;/P&gt;

&lt;P&gt;Could you please provide the command line and environment variables you used to run this scenario?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2015 10:15:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/system-command-not-executing-with-mpiicc-O/m-p/1076882#M4805</guid>
      <dc:creator>Artem_R_Intel1</dc:creator>
      <dc:date>2015-11-23T10:15:49Z</dc:date>
    </item>
    <item>
      <title>Hi artem</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/system-command-not-executing-with-mpiicc-O/m-p/1076883#M4806</link>
      <description>&lt;P&gt;Hi artem&lt;/P&gt;

&lt;P&gt;This is the command i used for this&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;mpiicc -O -cc=icc -g -ilp64 -c -Wall -L/app/intelMPI//impi/4.1.3.048/intel64/lib main.&lt;/STRONG&gt;c&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;

&lt;P&gt;G SRINIVASAN&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2015 10:28:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/system-command-not-executing-with-mpiicc-O/m-p/1076883#M4806</guid>
      <dc:creator>srinivasan_G_1</dc:creator>
      <dc:date>2015-11-23T10:28:34Z</dc:date>
    </item>
    <item>
      <title>You wrote:</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/system-command-not-executing-with-mpiicc-O/m-p/1076884#M4807</link>
      <description>&lt;P&gt;You wrote:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;when i compile my code n run it without any opmization flag it runs smoothly but when i compile my code with "mpiicc -O" the above lines dont even seem to b executed. I c that the above lines are being skipped. only the printf's r executed.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Could you please specify the command line and the environment used to run this scenario (not to compile)?&lt;/P&gt;

&lt;P&gt;BTW you used '-ilp64' - this option is applicable for Fortran code only.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2015 10:35:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/system-command-not-executing-with-mpiicc-O/m-p/1076884#M4807</guid>
      <dc:creator>Artem_R_Intel1</dc:creator>
      <dc:date>2015-11-23T10:35:33Z</dc:date>
    </item>
    <item>
      <title>This the command i used to</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/system-command-not-executing-with-mpiicc-O/m-p/1076885#M4808</link>
      <description>&lt;P&gt;This the command i used to run the code&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;mpirun -n 32 -ppn 1 -hostfile hosts ./3D_TBL&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;To run the code i dint use any other flags other than this. I was using optimisation flags only for compiling dint use during execution.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2015 10:41:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/system-command-not-executing-with-mpiicc-O/m-p/1076885#M4808</guid>
      <dc:creator>srinivasan_G_1</dc:creator>
      <dc:date>2015-11-23T10:41:52Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/system-command-not-executing-with-mpiicc-O/m-p/1076886#M4809</link>
      <description>&lt;P abp="1579"&gt;Hi,&lt;/P&gt;

&lt;P abp="1580"&gt;First, to clarify something.&amp;nbsp; The Intel MPI Library provides only wrappers scripts to the underlying compilers.&amp;nbsp; What this means in your case is that the option -O that you use on the mpiicc command line is in fact being passed down to icc without any alterations.&amp;nbsp; It seems like using the default optimization level for the Intel C++ Compiler is causing some print statements to not be executed for your code.&lt;/P&gt;

&lt;P abp="1581"&gt;The default optimization level for the 2015 compiler is &lt;A href="https://software.intel.com/en-us/node/522813" abp="1582"&gt;-O2&lt;/A&gt;.&amp;nbsp; Can you try rerunning with -O1 and let me know if you see the same problem?&amp;nbsp; If not, then the issue is with the level 2 optimizations performed by the compiler.&amp;nbsp; Is your application an MPI application?&amp;nbsp; If not, you can try compiling without the MPI library as follows:&lt;/P&gt;

&lt;P abp="1583"&gt;&lt;STRONG abp="1591"&gt;icc -O -g -ilp64 -c -Wall main.c&lt;/STRONG&gt;&lt;/P&gt;

&lt;P abp="1584"&gt;If that works ok, then there's something wrong with our MPI wrapper. If this still exhibits the problem, then it's an issue with the compiler.&lt;/P&gt;

&lt;P abp="1584"&gt;Regards,&lt;BR abp="1593" /&gt;
	~Gergana&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 00:07:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/system-command-not-executing-with-mpiicc-O/m-p/1076886#M4809</guid>
      <dc:creator>Gergana_S_Intel</dc:creator>
      <dc:date>2015-12-02T00:07:29Z</dc:date>
    </item>
  </channel>
</rss>

