<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — Program received signal SIGSEGV: Segmentation fault...]]></title>
		<link>http://forums.approximatrix.com/viewtopic.php?id=215</link>
		<atom:link href="http://forums.approximatrix.com/extern.php?action=feed&amp;tid=215&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Program received signal SIGSEGV: Segmentation fault....]]></description>
		<lastBuildDate>Tue, 18 Jun 2013 15:31:12 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Program received signal SIGSEGV: Segmentation fault...]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=837#p837</link>
			<description><![CDATA[<p>Jin,</p><p>Is your project currently set as a 64-bit project?&nbsp; You can check by opening the Project Options window from the Project menu.&nbsp; Make sure the architecture is set to 64-bit.&nbsp; Additionally, there are limitations (around 2GB) on the size of statically allocated arrays in your executable.&nbsp; If the arrays are dynamically allocated (via Fortran&#039;s <em>ALLOCATE</em> intrinsic procedure), this limitation disappears.</p><p>Additionally, does your program happen to do any file I/O?&nbsp; One quick thing to check is that you&#039;re not attempting to use a standard input/output unit number (5 or 6) for file input/output.&nbsp; Doing so will cause a segmentation fault as well.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Tue, 18 Jun 2013 15:31:12 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=837#p837</guid>
		</item>
		<item>
			<title><![CDATA[Program received signal SIGSEGV: Segmentation fault...]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=836#p836</link>
			<description><![CDATA[<p>When I launch the code, I have got the following error message:<br />&quot;Program received signal SIGSEGV: Segmentation fault - invalid Memory refererence.<br /> Backtrace for this error:&quot;</p><p>I am using 64-bit OS. I added &quot;mcmodel=medium&quot; in flags for fortran complier, but had same error Messages.<br />In my code, I have many big matrices.</p><p>--------------------------------------------------------------------------------------------------------------------------<br />&nbsp; integer,parameter::ne=8<br />&nbsp; integer,parameter::na=800<br />&nbsp; integer,parameter::ni=ne*na<br />&nbsp; integer,parameter::nad=20000<br />&nbsp; integer,parameter::nid=ne*nad<br />&nbsp; integer,parameter:: FT=101<br />&nbsp; real(8),dimension(FT):: tr_kl0,tr_kl1,tr_ra,tr_wa,tr_gamma0,tr_gamma1,tr_Tadj,tr_Tx,tr_y1<br />&nbsp; real(8),dimension(FT)::tr_cap,tr_lab,tr_agglab,tr_T,tr_Tr,tr_Tp,tr_Ttinc,tr_payroll,tr_inc,tr_cons,tr_Te <br />&nbsp; real(8),dimension(FT)::tr_Tc,tr_Ty,tr_Tsy,tr_G<br />&nbsp; real(8),dimension(ne,na,FT)::tr_aoptval,tr_loptval<br />&nbsp; real(8),dimension(ni,FT):: tr_paytrax,tr_ustar,tr_val<br />&nbsp; integer,dimension(ni,FT):: tr_astar,tr_lstar<br />&nbsp; real(8),dimension(nid,FT)::tr_dist,tr_aoptf,tr_coptf,tr_loptf,tr_taxf,tr_incomef<br />&nbsp; real(8),dimension(nid,FT)::tr_earningf,tr_payrtaxf,tr_tincome,tr_taxef<br />&nbsp; real(8),dimension(nid,FT)::tr_avetaxf,tr_incomeposttax,tr_fintaxf,tr_totaltaxf,tr_uf<br />&nbsp; real(8),dimension(nid,FT)::tr_taxfadj<br />&nbsp; real(8),dimension(ne,nad,FT)::tr_distmat <br />------------------------------------------------------------------------------------------------------------------------<br />Can you give me advice to fix this problem? Thank you in advance.</p><p>Jin</p>]]></description>
			<author><![CDATA[null@example.com (jin)]]></author>
			<pubDate>Tue, 18 Jun 2013 13:03:55 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=836#p836</guid>
		</item>
	</channel>
</rss>
