<?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 compiled with OpenMP enabled won't run]]></title>
		<link>http://forums.approximatrix.com/viewtopic.php?id=492</link>
		<atom:link href="http://forums.approximatrix.com/extern.php?action=feed&amp;tid=492&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Program compiled with OpenMP enabled won't run.]]></description>
		<lastBuildDate>Mon, 26 Oct 2015 12:47:12 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Program compiled with OpenMP enabled won't run]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=2251#p2251</link>
			<description><![CDATA[<p>David,</p><p>Thank you for evaluating the latest version.&nbsp; Simply Fortran 2.25 <a href="http://simplyfortran.com/news/92/">has been released</a> with the changes to our OpenMP implementation.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Mon, 26 Oct 2015 12:47:12 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=2251#p2251</guid>
		</item>
		<item>
			<title><![CDATA[Re: Program compiled with OpenMP enabled won't run]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=2244#p2244</link>
			<description><![CDATA[<p>I have downloaded the file and will try it out as soon as I can.</p><p>It might be a few days though.</p>]]></description>
			<author><![CDATA[null@example.com (davidb)]]></author>
			<pubDate>Mon, 19 Oct 2015 16:26:26 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=2244#p2244</guid>
		</item>
		<item>
			<title><![CDATA[Re: Program compiled with OpenMP enabled won't run]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=2243#p2243</link>
			<description><![CDATA[<p>David,</p><p>I&#039;ve sent you a private message with the download link for the pre-release version of Simply Fortran 2.25.&nbsp; If you don&#039;t get it, feel free to email me directly at <a href="mailto:support@approximatrix.com">support@approximatrix.com</a>.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Mon, 19 Oct 2015 14:25:59 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=2243#p2243</guid>
		</item>
		<item>
			<title><![CDATA[Re: Program compiled with OpenMP enabled won't run]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=2222#p2222</link>
			<description><![CDATA[<p>Jeff,</p><p>Thanks. I would be happy to test it with my OpenMP codes.</p><p>I have sent you an email.</p><p>Regards,<br />David.</p>]]></description>
			<author><![CDATA[null@example.com (davidb)]]></author>
			<pubDate>Mon, 28 Sep 2015 20:37:51 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=2222#p2222</guid>
		</item>
		<item>
			<title><![CDATA[Re: Program compiled with OpenMP enabled won't run]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=2221#p2221</link>
			<description><![CDATA[<p>David,</p><p>I wanted to provide an update on this bug.&nbsp; I currently am working on an updated compiler build for Simply Fortran 2.25, and using OpenMP should no longer require pthreads at all.&nbsp; I&#039;ve moved most everything to native Windows thread API calls, and it should alleviate the issue you&#039;ve reported.&nbsp; I might ask you to try out version 2.25 when it is packaged prior to release if you&#039;re willing to test the new OpenMP backend with your code.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Mon, 28 Sep 2015 16:47:30 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=2221#p2221</guid>
		</item>
		<item>
			<title><![CDATA[Re: Program compiled with OpenMP enabled won't run]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=2207#p2207</link>
			<description><![CDATA[<p>Jeff,</p><p>Thanks for confirming my own thoughts.</p><p>Certainly things have changed in Windows 10 somewhat, which is causing a fair bit of problems with various software I have installed.</p><p>I will wait for a bug fix from your good self.</p>]]></description>
			<author><![CDATA[null@example.com (davidb)]]></author>
			<pubDate>Mon, 14 Sep 2015 17:22:22 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=2207#p2207</guid>
		</item>
		<item>
			<title><![CDATA[Re: Program compiled with OpenMP enabled won't run]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=2205#p2205</link>
			<description><![CDATA[<p>David,</p><p>It looks like there is a problem when not statically linking, which seems odd.&nbsp; I&#039;ll have to investigate things a bit more.&nbsp; A segmentation fault occurs in the pthread DLL initialization code.&nbsp; Apparently this bug was never manifested on earlier versions of Windows.</p><p>For now I would suggest proceeding with statically linking or disabling OpenMP until I have a bug fix available.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Mon, 14 Sep 2015 11:44:37 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=2205#p2205</guid>
		</item>
		<item>
			<title><![CDATA[Re: Program compiled with OpenMP enabled won't run]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=2202#p2202</link>
			<description><![CDATA[<p>Jeff,</p><p>Thank you for your reply. My Path is correct and includes <em>C:\Program Files (x86)\Simply Fortran 2\mingw-w64\bin</em>.<br />I can also confirm that the two DLLs you mention are in this directory.</p><p>I have also tried copying the DLLs to the project directory, but that didn&#039;t work either.</p><p>Is it possible that these two DLLs don&#039;t work in Windows 10?</p><p>I have also tried doing a Static build, which won&#039;t use the DLLs, and that worked. But I would like the non-static build to work as well.</p>]]></description>
			<author><![CDATA[null@example.com (davidb)]]></author>
			<pubDate>Sat, 12 Sep 2015 08:50:53 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=2202#p2202</guid>
		</item>
		<item>
			<title><![CDATA[Re: Program compiled with OpenMP enabled won't run]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=2201#p2201</link>
			<description><![CDATA[<p>David,</p><p>I would guess that your path is not properly configured.&nbsp; OpenMP-compiled programs must be&nbsp; able to find <em>pthreadGC2-32.dll</em> or <em>pthreadGC2-64.dll</em> on the path. Simply Fortran installs&nbsp; these to:</p><p><em>C:\Program Files (x86)\Simply Fortran 2\mingw-w64\bin</em></p><p>by default.&nbsp; You can try copying one or both DLLs to your project directory to see if it fixes the problem.</p><p>If you upgraded your machine from 8.1 to 10, I would guess that the upgrade process may have deleted some path changes.&nbsp; Reinstalling Simply Fortran would fix the problem.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Fri, 11 Sep 2015 20:04:52 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=2201#p2201</guid>
		</item>
		<item>
			<title><![CDATA[Program compiled with OpenMP enabled won't run]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=2200#p2200</link>
			<description><![CDATA[<p>My program is compiled with -fopenmp.</p><p>It used to work fine (in Windows 8.1) but now (in Windows 10) I get the following error when I try to run.</p><p>&quot;The application was unable to start correctly (0xc0000142). Click OK to close the application.&quot;</p><p>I am using SF 2.24 Build 1921 (which I think is the latest).</p>]]></description>
			<author><![CDATA[null@example.com (davidb)]]></author>
			<pubDate>Fri, 11 Sep 2015 09:39:08 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=2200#p2200</guid>
		</item>
	</channel>
</rss>
