<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — Complete beginner - detecting errors]]></title>
	<link rel="self" href="http://forums.approximatrix.com/extern.php?action=feed&amp;tid=269&amp;type=atom" />
	<updated>2013-11-24T07:43:27Z</updated>
	<generator>PunBB</generator>
	<id>http://forums.approximatrix.com/viewtopic.php?id=269</id>
		<entry>
			<title type="html"><![CDATA[Re: Complete beginner - detecting errors]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=1076#p1076" />
			<content type="html"><![CDATA[<p>OK.&nbsp; Solved my own problem.&nbsp; Just needed to add a -fcheck all flag to the compiler options</p>]]></content>
			<author>
				<name><![CDATA[oz1]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=3497</uri>
			</author>
			<updated>2013-11-24T07:43:27Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=1076#p1076</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Complete beginner - detecting errors]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=1075#p1075" />
			<content type="html"><![CDATA[<p>After many happy years with Lahey Fortran ED4W, I find it won&#039;t work on WIN7 x64 so I&#039;m trying out SF2</p><p>Here is a simple program where a write statement exceeds array bounds</p><p>program test<br />dimension i(3)&nbsp; &nbsp;<br />i=1<br />do j=1,4<br />&nbsp; &nbsp; write(*,*) i(j)<br />end do<br />end</p><p>The result is <br />1<br />1<br />1<br />128<br />What I need is to generate a run time error message to show that i(4)&nbsp; is out of range.</p><p>How do I set compiler options to do this?&nbsp; Also, how do I set runtime environment variables such as GFORTRAN_ERROR_BACKTRACE</p><p>I presume this is through compiler switches or flags but I&#039;d appreciate an example of where &amp; how to do this in SF</p>]]></content>
			<author>
				<name><![CDATA[oz1]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=3497</uri>
			</author>
			<updated>2013-11-24T02:50:32Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=1075#p1075</id>
		</entry>
</feed>
