<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — Memory changes in newest version? (v32.1)]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=829&amp;type=atom" />
	<updated>2021-11-29T12:56:57Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=829</id>
		<entry>
			<title type="html"><![CDATA[Re: Memory changes in newest version? (v32.1)]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=3817#p3817" />
			<content type="html"><![CDATA[<p>Pete,</p><p>Is there any chance you can send the project to <a href="http://mailto:support@approximatrix.com">support@approximatrix.com</a> to see if I can replicate the issue?&nbsp; Upon closer reading, I&#039;m not sure it&#039;s related to OpenMP.&nbsp; I&#039;m quite confused how referencing segments of an array would cause problems suddenly.</p><p>If you&#039;re unable to send the source code, could you at least send along the &quot;.prj&quot; file?&nbsp; I&#039;d like to at least replicate your project&#039;s options verbatim.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2021-11-29T12:56:57Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=3817#p3817</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Memory changes in newest version? (v32.1)]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=3816#p3816" />
			<content type="html"><![CDATA[<p>My guess is that the OpenMP library is mis-calling a Windows API somewhere that wasn&#039;t an issue until Windows 11.&nbsp; I&#039;ll sort what&#039;s happening.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2021-11-27T22:06:55Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=3816#p3816</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Memory changes in newest version? (v32.1)]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=3815#p3815" />
			<content type="html"><![CDATA[<p>Hi Jeff,<br />I was on v3.20 but .... my machine did upgrade itself to Windows 11 during this time.</p>]]></content>
			<author>
				<name><![CDATA[peter.kelly]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3586</uri>
			</author>
			<updated>2021-11-26T23:47:32Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=3815#p3815</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Memory changes in newest version? (v32.1)]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=3814#p3814" />
			<content type="html"><![CDATA[<p>Pete,</p><p>Could you tell me what platform you&#039;re on?&nbsp; Is it Windows?</p><p>While nothing should have changed from 3.20 -&gt; 3.21, there might be issues with our Windows-specific OpenMP implementation that might be causing problems with the compiler.&nbsp; However, that would only manifest itself moving from a version earlier that 3.20.&nbsp; Do you know what version you had been using?</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2021-11-26T16:40:14Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=3814#p3814</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Memory changes in newest version? (v32.1)]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=3813#p3813" />
			<content type="html"><![CDATA[<p>Hi Jeff,<br />I&#039;m wondering if changes were made in the way memory is handled/allocated in the latest release. I have a test harness to time sorting algorithms against large array data sets (2x10^6 elements). Some of the sorts use OpenMP too. <br />I used to compile and link the program using absolutely vanilla makefile generated from the options within the project - nothing special placed in there, just nominating optimization options and a &quot;-fcheck=all&quot; flag.<br />The program used to run a treat, no issues. When I recompiled it with NO code changes, it ran but threw a segmentation violation on any subroutine that used OpenMP.<br />So, I just commented out the call to the routines that used OpenMP and recompiled. It then threw segment violations wherever I called a routine with an array segment ie. call sort1(Mydata(1:50)) which it never did before. <br />So, commenting those subroutine calls out + OpenMP using routines, it ran.<br />I then upped the amount of sort data to (4x10^6) which had been a value that I could use. I recompiled and attempted to run the program and it silently dies before executing any code - despite the compilation working without any warnings.<br />The code does not throw any memory access violations other than the segment violation.</p><p>Is there a difference in mem handling in the new version or a different default stack size set?<br />Regards,<br />Pete</p>]]></content>
			<author>
				<name><![CDATA[peter.kelly]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3586</uri>
			</author>
			<updated>2021-11-25T01:54:16Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=3813#p3813</id>
		</entry>
</feed>
