<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — Program compiled with OpenMP enabled won't run]]></title>
	<link rel="self" href="http://forums.approximatrix.com/extern.php?action=feed&amp;tid=492&amp;type=atom" />
	<updated>2015-10-26T12:47:12Z</updated>
	<generator>PunBB</generator>
	<id>http://forums.approximatrix.com/viewtopic.php?id=492</id>
		<entry>
			<title type="html"><![CDATA[Re: Program compiled with OpenMP enabled won't run]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=2251#p2251" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2015-10-26T12:47:12Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=2251#p2251</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Program compiled with OpenMP enabled won't run]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=2244#p2244" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[davidb]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=3463</uri>
			</author>
			<updated>2015-10-19T16:26:26Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=2244#p2244</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Program compiled with OpenMP enabled won't run]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=2243#p2243" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2015-10-19T14:25:59Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=2243#p2243</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Program compiled with OpenMP enabled won't run]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=2222#p2222" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[davidb]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=3463</uri>
			</author>
			<updated>2015-09-28T20:37:51Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=2222#p2222</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Program compiled with OpenMP enabled won't run]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=2221#p2221" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2015-09-28T16:47:30Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=2221#p2221</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Program compiled with OpenMP enabled won't run]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=2207#p2207" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[davidb]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=3463</uri>
			</author>
			<updated>2015-09-14T17:22:22Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=2207#p2207</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Program compiled with OpenMP enabled won't run]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=2205#p2205" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2015-09-14T11:44:37Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=2205#p2205</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Program compiled with OpenMP enabled won't run]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=2202#p2202" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[davidb]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=3463</uri>
			</author>
			<updated>2015-09-12T08:50:53Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=2202#p2202</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Program compiled with OpenMP enabled won't run]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=2201#p2201" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2015-09-11T20:04:52Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=2201#p2201</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Program compiled with OpenMP enabled won't run]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=2200#p2200" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[davidb]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=3463</uri>
			</author>
			<updated>2015-09-11T09:39:08Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=2200#p2200</id>
		</entry>
</feed>
