<?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 Re: Fortran exe behaving different on different machines in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-exe-behaving-different-on-different-machines/m-p/841362#M59331</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;the point is:&lt;BR /&gt;&lt;BR /&gt;We use the default project settings, look at &lt;A href="http://img232.imageshack.us/my.php?image=optimizationsettingsopas5ue.jpg" target="_blank"&gt;http://img232.imageshack.us/my.php?image=optimizationsettingsopas5ue.jpg&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I assume that these settings mean "Optimization completely disabled". If this assumption is wrong, I think I need some advice concerning useful/required changes.&lt;BR /&gt;&lt;BR /&gt;The current command line arguments show:&lt;BR /&gt;/nologo /Zi /Od /Qsave /Qzero /module:"$(INTDIR)/" /object:"$(INTDIR)/" /traceback /check:bounds /libs:static /dbglibs /c&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;P&gt;Message Edited by h-faber on &lt;SPAN class="date_text"&gt;09-19-2005&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;12:01 AM&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Sep 2005 13:51:07 GMT</pubDate>
    <dc:creator>h-faber</dc:creator>
    <dc:date>2005-09-19T13:51:07Z</dc:date>
    <item>
      <title>Fortran exe behaving different on different machines</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-exe-behaving-different-on-different-machines/m-p/841360#M59329</link>
      <description>Hi all,&lt;BR /&gt;still me...&lt;BR /&gt;After having solved the NaN problem at least on my machine, we wonder why the .exe does not work the same way as on other computers.&lt;BR /&gt;IDEs, compilers, sources and project settings are the same but the results still differs. We tried to only let my .exe run on the other PC. But again no change, still the NaN result. Finally we have taken a 3rd PC, same OS as on my PC - again NaN.&lt;BR /&gt;&lt;BR /&gt;How does the program work?&lt;BR /&gt;-&amp;gt; It reads a file, calculates and generates some output files. It is all the same input file but on two PCs the Fortran .exe produces a different result than on the third PC.&lt;BR /&gt;What reason might there be for this behaviour?</description>
      <pubDate>Fri, 16 Sep 2005 16:57:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-exe-behaving-different-on-different-machines/m-p/841360#M59329</guid>
      <dc:creator>h-faber</dc:creator>
      <dc:date>2005-09-16T16:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Fortran exe behaving different on different machines</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-exe-behaving-different-on-different-machines/m-p/841361#M59330</link>
      <description>&lt;P&gt;It might be the problem of different CPUs on different machines. Certain optimizations, that compiler exploit to make program run faster on one CPU may result in erroneous outcome on the other CPU due to difference in architecture. &lt;/P&gt;
&lt;P&gt;I would try to compile without optimizations (disable optimizations in compiler options) and see what happens.&lt;/P&gt;
&lt;P&gt;Good luck.&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 18 Sep 2005 00:44:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-exe-behaving-different-on-different-machines/m-p/841361#M59330</guid>
      <dc:creator>dima333a</dc:creator>
      <dc:date>2005-09-18T00:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: Fortran exe behaving different on different machines</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-exe-behaving-different-on-different-machines/m-p/841362#M59331</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;the point is:&lt;BR /&gt;&lt;BR /&gt;We use the default project settings, look at &lt;A href="http://img232.imageshack.us/my.php?image=optimizationsettingsopas5ue.jpg" target="_blank"&gt;http://img232.imageshack.us/my.php?image=optimizationsettingsopas5ue.jpg&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I assume that these settings mean "Optimization completely disabled". If this assumption is wrong, I think I need some advice concerning useful/required changes.&lt;BR /&gt;&lt;BR /&gt;The current command line arguments show:&lt;BR /&gt;/nologo /Zi /Od /Qsave /Qzero /module:"$(INTDIR)/" /object:"$(INTDIR)/" /traceback /check:bounds /libs:static /dbglibs /c&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;P&gt;Message Edited by h-faber on &lt;SPAN class="date_text"&gt;09-19-2005&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;12:01 AM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2005 13:51:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-exe-behaving-different-on-different-machines/m-p/841362#M59331</guid>
      <dc:creator>h-faber</dc:creator>
      <dc:date>2005-09-19T13:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Fortran exe behaving different on different machines</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-exe-behaving-different-on-different-machines/m-p/841363#M59332</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;O.K.... If you are getting NaN on some of the machines, try to debug the program , i.e. compile in debug mode with proper handling of floating point violations ( I know that in CVF there is an option fpe:0 and fpe:3 , that allows you to force program to crash in case NaN is caculated) . I usially compile in CVF with option /traceback to see at which line the NaN is calculated, then I look what variable is causing that... and so on and so forth..... I had a case when debug version could run, but "optimise" was having this NaN problem.... so I had to trace it by fpe and traceback options. I suspect that IFC may have its own options for that, but I am not sure.</description>
      <pubDate>Fri, 23 Sep 2005 07:04:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-exe-behaving-different-on-different-machines/m-p/841363#M59332</guid>
      <dc:creator>dima333a</dc:creator>
      <dc:date>2005-09-23T07:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Fortran exe behaving different on different machines</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-exe-behaving-different-on-different-machines/m-p/841364#M59333</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Uninitialized variables and arrays may take different "garbage" values in different systems. In one system this "garbage" value may help to go through the calculations withoutgetting NaN, while in some other system this "garbage" may just produce NaN. Therefore my suggestion is: Use IMPLICIT NONE, declare all variables and arrays, andinitialize all variables, especially arrays.&lt;/P&gt;
&lt;P&gt;Sabalan.&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 23 Sep 2005 15:18:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-exe-behaving-different-on-different-machines/m-p/841364#M59333</guid>
      <dc:creator>sabalan</dc:creator>
      <dc:date>2005-09-23T15:18:16Z</dc:date>
    </item>
  </channel>
</rss>

