<?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>тема The compiler has a feature, в Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/A-strange-program-behavior-I-cannot-explain/m-p/1161912#M143264</link>
    <description>&lt;P&gt;The compiler has a feature, on by default in a Debug Visual Studio configuration, that helps with this. From the command line it is /warn:interfaces and in Visual Studio, Fortran &amp;gt; Diagnostics &amp;gt; Check routine interfaces.&lt;/P&gt;&lt;P&gt;You should also get in the habit of adding IMPLICIT NONE in every program unit - this will help you find misspelled variable names.&lt;/P&gt;</description>
    <pubDate>Tue, 24 Dec 2019 15:56:00 GMT</pubDate>
    <dc:creator>Steve_Lionel</dc:creator>
    <dc:date>2019-12-24T15:56:00Z</dc:date>
    <item>
      <title>A strange program behavior I cannot explain</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/A-strange-program-behavior-I-cannot-explain/m-p/1161909#M143261</link>
      <description>&lt;P style="margin-left:0in; margin-right:0in"&gt;Dear Friends:&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;I am about to complete a large mixed language project (C++,Fortran legacy code; I asked silly and not so silly questions before) with lots of bad/risky ingredients like lots of COMMON statement shared by C++. I am now testing the resulting program. It is running bit I have a very strange problem.&lt;/P&gt;&lt;P&gt;In one of the legacy FORTRAN Subroutines I have a local 4x4 matrix. The variable name is SSXY(4,4). I initially included a debug WRITE statement to watch its content. It seemed like all was working. When I deleted the debug statement, the program gives very strange results. When I include a very simple WRITE statement like:&lt;/P&gt;
&lt;PRE class="brush:fortran; class-name:dark;"&gt;          WRITE(7,7015) SSXY(1,1)
 7015 FORMAT(' ROD: SSXY(1,1) = ',E15.7)&lt;/PRE&gt;

&lt;P style="margin-left:0in; margin-right:0in"&gt;Anywhere. It runs OK. If I put an IF block around it does go back to faulty mode.&lt;/P&gt;
&lt;P style="margin-left:0in; margin-right:0in"&gt;I am now going through all the commons shared with C++ code to make sure there is no misalignment. Strange thing is the code is very stable. It never crashes either way.&lt;/P&gt;
&lt;P style="margin-left:0in; margin-right:0in"&gt;I am posting this message to ask your wisdom on possible reasons and how I should go about chasing it.&lt;/P&gt;
&lt;P style="margin-left:0in; margin-right:0in"&gt;Regards;&lt;/P&gt;
&lt;P style="margin-left:0in; margin-right:0in"&gt;I. Konuk&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2019 22:07:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/A-strange-program-behavior-I-cannot-explain/m-p/1161909#M143261</guid>
      <dc:creator>Ibrahim_K_</dc:creator>
      <dc:date>2019-12-23T22:07:21Z</dc:date>
    </item>
    <item>
      <title>Problems that appear when you</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/A-strange-program-behavior-I-cannot-explain/m-p/1161910#M143262</link>
      <description>&lt;P&gt;Problems that appear when you remove (or add) seemingly unrelated statements are usually due to memory corruption issues, such as mismatched arguments or writing past the end of an array. There are many other possibilities. Often the cause of the error is far removed from where it appears.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2019 01:40:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/A-strange-program-behavior-I-cannot-explain/m-p/1161910#M143262</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2019-12-24T01:40:01Z</dc:date>
    </item>
    <item>
      <title>Quote:Steve Lionel (Ret.)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/A-strange-program-behavior-I-cannot-explain/m-p/1161911#M143263</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Steve Lionel (Ret.) (Blackbelt) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problems that appear when you remove (or add) seemingly unrelated statements are usually due to memory corruption issues, such as mismatched arguments or writing past the end of an array. There are many other possibilities. Often the cause of the error is far removed from where it appears.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steve:&lt;/P&gt;&lt;P&gt;Thank you very much again. Your advice was indeed&amp;nbsp;very helpful. I am going through all CALLs.&amp;nbsp;I already found one mistyping(!). The subroutine CALL&amp;nbsp;is expecting a matrix. Misspelling means a scalar being passed. Just like you described.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Merry Christmas and happy holidays to all.&lt;/P&gt;&lt;P&gt;I. Konuk&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2019 15:49:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/A-strange-program-behavior-I-cannot-explain/m-p/1161911#M143263</guid>
      <dc:creator>Ibrahim_K_</dc:creator>
      <dc:date>2019-12-24T15:49:53Z</dc:date>
    </item>
    <item>
      <title>The compiler has a feature,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/A-strange-program-behavior-I-cannot-explain/m-p/1161912#M143264</link>
      <description>&lt;P&gt;The compiler has a feature, on by default in a Debug Visual Studio configuration, that helps with this. From the command line it is /warn:interfaces and in Visual Studio, Fortran &amp;gt; Diagnostics &amp;gt; Check routine interfaces.&lt;/P&gt;&lt;P&gt;You should also get in the habit of adding IMPLICIT NONE in every program unit - this will help you find misspelled variable names.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2019 15:56:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/A-strange-program-behavior-I-cannot-explain/m-p/1161912#M143264</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2019-12-24T15:56:00Z</dc:date>
    </item>
    <item>
      <title>Steve:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/A-strange-program-behavior-I-cannot-explain/m-p/1161913#M143265</link>
      <description>&lt;P&gt;Steve:&lt;/P&gt;&lt;P&gt;I will do the first one right away. I have plans to do the IMPLICIT in the future as it would be too much work right now to make legacy code type&amp;nbsp;safe. My goal is first&amp;nbsp;to finish&amp;nbsp;the full size prototype.&amp;nbsp;I will try it in the future or I may just code some units (slowly) in C++.&lt;/P&gt;&lt;P&gt;By the way, it seems like the one and only error&amp;nbsp;which I reported earlier was the culprit. Thank you again for all your valuable suggestions.&lt;/P&gt;&lt;P&gt;Happy holidays.&lt;/P&gt;&lt;P&gt;I. Konuk&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2019 21:08:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/A-strange-program-behavior-I-cannot-explain/m-p/1161913#M143265</guid>
      <dc:creator>Ibrahim_K_</dc:creator>
      <dc:date>2019-12-24T21:08:07Z</dc:date>
    </item>
    <item>
      <title>I was wrong! The compiler</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/A-strange-program-behavior-I-cannot-explain/m-p/1161914#M143266</link>
      <description>&lt;P&gt;I was wrong!&amp;nbsp;The compiler found a second one. I learned and benefited from this Forum, especially you so much. I owe much gratitude. THANK YOU!&lt;/P&gt;&lt;P&gt;I. Konuk&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2019 21:21:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/A-strange-program-behavior-I-cannot-explain/m-p/1161914#M143266</guid>
      <dc:creator>Ibrahim_K_</dc:creator>
      <dc:date>2019-12-24T21:21:52Z</dc:date>
    </item>
    <item>
      <title>Steve,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/A-strange-program-behavior-I-cannot-explain/m-p/1161915#M143267</link>
      <description>&lt;P&gt;Steve,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running vs community edition 2017 with IVF 19 update 5.&amp;nbsp; I do not have a Fortran menu off of the main menu and under project properties I do not have a diagnostics menu.&amp;nbsp; I am interested in turning on the interface checking.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 15:27:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/A-strange-program-behavior-I-cannot-explain/m-p/1161915#M143267</guid>
      <dc:creator>kolber__Michael</dc:creator>
      <dc:date>2019-12-26T15:27:19Z</dc:date>
    </item>
    <item>
      <title>(No subject)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/A-strange-program-behavior-I-cannot-explain/m-p/1161916#M143268</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Annotation 2019-12-26 123711.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/10607i50BA261E0A82B2EC/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Annotation 2019-12-26 123711.png" alt="Annotation 2019-12-26 123711.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 17:38:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/A-strange-program-behavior-I-cannot-explain/m-p/1161916#M143268</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2019-12-26T17:38:37Z</dc:date>
    </item>
    <item>
      <title>Steve,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/A-strange-program-behavior-I-cannot-explain/m-p/1161917#M143269</link>
      <description>&lt;P&gt;Steve,&lt;/P&gt;&lt;P&gt;My only option is compile time diagnostics&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 17:50:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/A-strange-program-behavior-I-cannot-explain/m-p/1161917#M143269</guid>
      <dc:creator>kolber__Michael</dc:creator>
      <dc:date>2019-12-26T17:50:05Z</dc:date>
    </item>
    <item>
      <title>That property page is long -</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/A-strange-program-behavior-I-cannot-explain/m-p/1161918#M143270</link>
      <description>&lt;P&gt;That property page is long - did you scroll it? The screen shot I showed has it scrolled to the end.&lt;/P&gt;&lt;P&gt;Show a screen shot of what you are seeing.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 22:01:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/A-strange-program-behavior-I-cannot-explain/m-p/1161918#M143270</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2019-12-26T22:01:13Z</dc:date>
    </item>
    <item>
      <title>I get the options when I set</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/A-strange-program-behavior-I-cannot-explain/m-p/1161919#M143271</link>
      <description>&lt;P&gt;I get the options when I set diagnostics to custom.&amp;nbsp; So I am good now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2019 13:12:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/A-strange-program-behavior-I-cannot-explain/m-p/1161919#M143271</guid>
      <dc:creator>kolber__Michael</dc:creator>
      <dc:date>2019-12-27T13:12:12Z</dc:date>
    </item>
  </channel>
</rss>

