<?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 Debugging with print statements changes results in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450036#M164667</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My results change when I use print statements to debug the code. Is this problem related specifically to the variable I m printing or it can be any other variable that was not initialized. All variables appear to be initialized.&lt;/P&gt;
&lt;P&gt;I have consulted a similar question on this forum:&amp;nbsp;&lt;A href="https://community.intel.com/t5/Intel-Fortran-Compiler/Adding-debugging-print-statements-changes-variable-values/m-p/740196#M184" target="_blank"&gt;Adding debugging 'print' statements changes variable values - Intel Communities&lt;/A&gt;&amp;nbsp;and I could not post in the same thread.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I m using intel fortran with visual studio. Is there any option that I can change on the project options that can help me resolve the problem and identify the problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jan 2023 16:31:05 GMT</pubDate>
    <dc:creator>FortranUser22</dc:creator>
    <dc:date>2023-01-25T16:31:05Z</dc:date>
    <item>
      <title>Debugging with print statements changes results</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450036#M164667</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My results change when I use print statements to debug the code. Is this problem related specifically to the variable I m printing or it can be any other variable that was not initialized. All variables appear to be initialized.&lt;/P&gt;
&lt;P&gt;I have consulted a similar question on this forum:&amp;nbsp;&lt;A href="https://community.intel.com/t5/Intel-Fortran-Compiler/Adding-debugging-print-statements-changes-variable-values/m-p/740196#M184" target="_blank"&gt;Adding debugging 'print' statements changes variable values - Intel Communities&lt;/A&gt;&amp;nbsp;and I could not post in the same thread.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I m using intel fortran with visual studio. Is there any option that I can change on the project options that can help me resolve the problem and identify the problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 16:31:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450036#M164667</guid>
      <dc:creator>FortranUser22</dc:creator>
      <dc:date>2023-01-25T16:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging with print statements changes results</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450047#M164669</link>
      <description>&lt;P&gt;What are your compiler options (with and without your debugging print statements)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you recently performed a Debug Build (/Od) with full runtime diagnostics (/warn:all)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Inserting print statements or call to external procedure in a program that is optimized can cause code generation differences the storage/use of intermediary values being stored in registers or written to program variables. While the results should be the same, the differences can expose a compiler optimization issue.&lt;/P&gt;
&lt;P&gt;*** Note, floating point numbers are approximate numbers, the code path to produce a result taking path A may differ slightly from path B. These two results are approximately the same as they may differ in the accumulation of roundoff errors within each path.&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 17:17:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450047#M164669</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2023-01-25T17:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging with print statements changes results</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450130#M164670</link>
      <description>&lt;P&gt;In my experience, this symptom is almost always due to uninitialized variables or code elsewhere in the program that corrupts data (writes outside bounds, etc.)&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 20:56:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450130#M164670</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2023-01-25T20:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging with print statements changes results</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450172#M164671</link>
      <description>&lt;P&gt;The uninitialized variables are initialized to really weird numbers, but Steve is right, it can be a headache and one worth fixing. You should turn on the warnings.&amp;nbsp; Also things like implicit none being left out can be a pain.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 22:20:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450172#M164671</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2023-01-25T22:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging with print statements changes results</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450206#M164673</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/89041"&gt;@JohnNichols&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;The uninitialized variables are initialized to really weird numbers,&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No, they are uninitialized - you get whatever random value was in memory at the time, which may not be the same run to run.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 00:31:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450206#M164673</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2023-01-26T00:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging with print statements changes results</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450253#M164676</link>
      <description>&lt;P&gt;Many thanks for your reply. I m working to identify the issue. The option check all for runtime pointed me to a variable that was defined in an "if statement" but that was not an&amp;nbsp; issue.&lt;/P&gt;
&lt;P&gt;The code has 4 nested loop with some two dimesional matrices calculated as summations. I have verified that all sums are initialized as 0 before the start of the specific loops.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you again.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 05:40:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450253#M164676</guid>
      <dc:creator>FortranUser22</dc:creator>
      <dc:date>2023-01-26T05:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging with print statements changes results</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450259#M164677</link>
      <description>&lt;P&gt;I m using now&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;(/Od) with runtime error checking : - check all&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 06:08:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450259#M164677</guid>
      <dc:creator>FortranUser22</dc:creator>
      <dc:date>2023-01-26T06:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging with print statements changes results</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450262#M164678</link>
      <description>&lt;P&gt;Where can I select&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;(/warn:all) at the full runtime diagnostics? When I go to project properties-&amp;gt;config properties-&amp;gt;Fortran-&amp;gt;Run-time-&amp;gt;Runtime Error Checking-&amp;gt; custom or all (check all). I could not find where to select warn all.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 06:31:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450262#M164678</guid>
      <dc:creator>FortranUser22</dc:creator>
      <dc:date>2023-01-26T06:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging with print statements changes results</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450352#M164683</link>
      <description>&lt;P&gt;Click on the down arrow to the right of the current option value and you'll get the choice of all. For example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Steve_Lionel_0-1674742991967.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/37462i68B82D4291A302B8/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Steve_Lionel_0-1674742991967.png" alt="Steve_Lionel_0-1674742991967.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 14:23:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450352#M164683</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2023-01-26T14:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging with print statements changes results</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450357#M164684</link>
      <description>&lt;P&gt;FYI warn:all is compile time diagnostic, check:all is runtime diagnostic.&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 14:35:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450357#M164684</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2023-01-26T14:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging with print statements changes results</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450459#M164699</link>
      <description>&lt;P&gt;Many thanks for your replies and clarification. I m working on debugging the code...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 19:25:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450459#M164699</guid>
      <dc:creator>FortranUser22</dc:creator>
      <dc:date>2023-01-26T19:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging with print statements changes results</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450477#M164700</link>
      <description>&lt;LI-CODE lang="fortran"&gt;!  Console3.f90 
!
!  FUNCTIONS:
!  Console3 - Entry point of console application.
!

!****************************************************************************
!
!  PROGRAM: Console3
!
!  PURPOSE:  Entry point for the console application.
!
!****************************************************************************

    program Console3

    !implicit none
    
    integer i(100)
    real k(100)
    integer kp
    integer kt

    ! Variables
    print *,kp,kt,p,p1
    p = 1
    ! Body of Console3
    print *, 'Hello World'

    end program Console3
&lt;/LI-CODE&gt;
&lt;P&gt;Using a stock standard sample program and first running with implicit none you get&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-01-26 141147.png" style="width: 729px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/37476i899B829DE4343187/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Screenshot 2023-01-26 141147.png" alt="Screenshot 2023-01-26 141147.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Integers are always cast to this number, which if is hexadecimal 33333334 if I drop the -, my calculator does not handle minus&lt;/P&gt;
&lt;P&gt;the i array is set to 0 and the k array is set to 0&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-01-26 141607.png" style="width: 999px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/37477i621EA89523F6E9C6/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Screenshot 2023-01-26 141607.png" alt="Screenshot 2023-01-26 141607.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The reals are set to -1.07 etc...&amp;nbsp; Which as a best guess related somehow to the integer number, and some one will correct me if I am wrong.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Implicit none has no effect, I did not turn warn of un-initialized etc...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is no random garbage, there is garbage from the compiler writer, but at least for arrays it is zero, it would be nice if the kp,kt and p,p1 were zero, but that is to much to ask.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 20:32:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450477#M164700</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2023-01-26T20:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging with print statements changes results</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450478#M164701</link>
      <description>&lt;P&gt;I have pointed out this number before and I think Jim has stated the hex number.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 20:33:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450478#M164701</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2023-01-26T20:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging with print statements changes results</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450533#M164703</link>
      <description>&lt;LI-CODE lang="fortran"&gt;program Console3

    !implicit none
    
    integer i(100)
    real k(100)
    integer kp
    integer kt
    real p 
    real p1
    
    kp = kt/100000
    p = p1 /1000000.0
    ! Variables
    
    print *,kp,kt,p,p1
    p = 1
    ! Body of Console3
    print *, 'Hello World'

    end program Console3&lt;/LI-CODE&gt;
&lt;P&gt;I can use the variables in formula and the results are as expected.&amp;nbsp; Can we ask the compiler writer when they set the value, it is after the real is declared, but before the math or print.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-01-26 171704.png" style="width: 961px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/37479iC6C89CB82CF958C6/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Screenshot 2023-01-26 171704.png" alt="Screenshot 2023-01-26 171704.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 23:19:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450533#M164703</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2023-01-26T23:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging with print statements changes results</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450534#M164704</link>
      <description>&lt;P&gt;the integer number according to EXCEL as a HEX is&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="181"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="181"&gt;FFCCCCCCCC&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Thu, 26 Jan 2023 23:21:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450534#M164704</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2023-01-26T23:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging with print statements changes results</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450578#M164707</link>
      <description>&lt;P&gt;In a debug configuration, some memory gets allocated with the hex value CCCCCCCC. That doesn't help when stack contents are reused, and doesn't apply to a release configuration.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 01:47:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450578#M164707</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2023-01-27T01:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging with print statements changes results</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450766#M164709</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-01-27 100925.png" style="width: 999px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/37496iC3EBC37F2CFC6559/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Screenshot 2023-01-27 100925.png" alt="Screenshot 2023-01-27 100925.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In release mode all variables are set to zero in this sample.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 16:14:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450766#M164709</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2023-01-27T16:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging with print statements changes results</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450768#M164710</link>
      <description>&lt;P&gt;The final question is why the difference between debug and release mode?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 16:21:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450768#M164710</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2023-01-27T16:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging with print statements changes results</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450801#M164712</link>
      <description>&lt;P&gt;You can't make assumptions based on simple test programs. Over the years I've seen MANY complaints from users that variables weren't initialized to zero, because in some past build they seemed to be. Intel Fortran DOES have an option to do this, off by default, and you should not use it. Variables that are statically allocated will tend to be zero, but that's not something to rely on. With full Fortran 2018 semantics enabled all procedures are recursive by default, so variables not marked SAVE will not be static. (This is not the default in the current version - you must specify /standard-semantics.)&lt;/P&gt;
&lt;P&gt;Debug versus Release changes a LOT of things about code, and variables will be more likely to live in registers or on the stack. Also debug configurations link to the debug C++ library which sets allocated data to CCCCCCCC.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 17:39:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450801#M164712</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2023-01-27T17:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging with print statements changes results</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450837#M164721</link>
      <description>&lt;P&gt;Ok.&amp;nbsp; Taking long assumptions from short data is fraught with error.&amp;nbsp; One of the things I learnt in LISP Programming is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(setq a 1) is really useful.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 20:07:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-with-print-statements-changes-results/m-p/1450837#M164721</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2023-01-27T20:07:47Z</dc:date>
    </item>
  </channel>
</rss>

