<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — Best Compiler Options for case when Debug Results Differ from Release]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=880&amp;type=atom" />
	<updated>2023-01-11T17:22:04Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=880</id>
		<entry>
			<title type="html"><![CDATA[Re: Best Compiler Options for case when Debug Results Differ from Release]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=4037#p4037" />
			<content type="html"><![CDATA[<p>Thank you so much!</p>]]></content>
			<author>
				<name><![CDATA[akhuller]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=4100</uri>
			</author>
			<updated>2023-01-11T17:22:04Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=4037#p4037</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Best Compiler Options for case when Debug Results Differ from Release]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=4034#p4034" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2023-01-04T21:09:16Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=4034#p4034</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Best Compiler Options for case when Debug Results Differ from Release]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=4033#p4033" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[akhuller]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=4100</uri>
			</author>
			<updated>2023-01-03T18:08:41Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=4033#p4033</id>
		</entry>
</feed>
