<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — Best Compiler Options for case when Debug Results Differ from Release]]></title>
		<link>https://forums.approximatrix.com/viewtopic.php?id=880</link>
		<atom:link href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=880&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Best Compiler Options for case when Debug Results Differ from Release.]]></description>
		<lastBuildDate>Wed, 11 Jan 2023 17:22:04 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Best Compiler Options for case when Debug Results Differ from Release]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=4037#p4037</link>
			<description><![CDATA[<p>Thank you so much!</p>]]></description>
			<author><![CDATA[null@example.com (akhuller)]]></author>
			<pubDate>Wed, 11 Jan 2023 17:22:04 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=4037#p4037</guid>
		</item>
		<item>
			<title><![CDATA[Re: Best Compiler Options for case when Debug Results Differ from Release]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=4034#p4034</link>
			<description><![CDATA[<p>Usually when you&#039;re seeing differences between results when debugging is on or off, there is likely some sort of memory violation occurring.&nbsp; I would first try enabling runtime diagnostics in <strong>Project Options</strong> under the <em>Fortran</em> category, then rebuilding your executable (being sure to <em>Clean</em> first).&nbsp; It might be able to catch a memory violation or two that is leading to the differences.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Wed, 04 Jan 2023 21:09:16 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=4034#p4034</guid>
		</item>
		<item>
			<title><![CDATA[Best Compiler Options for case when Debug Results Differ from Release]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=4033#p4033</link>
			<description><![CDATA[<p>Hi!</p><p>I am trying to translate a large Fortran-77 model into Matlab. Simply Fortran has been incredibly helpful.</p><p>But recently I&#039;ve noticed that for some important sets of input conditions, the values of variables in Debug mode are quite different than those obtained in a normal execution, and the number of iterations the programs runs through is lower by one order of magnitude.</p><p>Are there any compiler/project setup options I can use for the debug values to match the normal execution results?</p><p>Thank you for your help!</p><p>P.S. My guess (I am new to Fortran-77) is that these differences arise due to: (1) the program&#039;s use of equivalence statements in the file of arrays that are read using &#039;include&#039; in most subroutines or (2) the use of &#039;return 1&#039; in some subroutines to go to different parts of the program from a subroutine.</p>]]></description>
			<author><![CDATA[null@example.com (akhuller)]]></author>
			<pubDate>Tue, 03 Jan 2023 18:08:41 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=4033#p4033</guid>
		</item>
	</channel>
</rss>
