<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — non-registered copy, and multi-CPU]]></title>
		<link>https://forums.approximatrix.com/viewtopic.php?id=483</link>
		<atom:link href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=483&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in non-registered copy, and multi-CPU.]]></description>
		<lastBuildDate>Tue, 28 Jul 2015 14:27:48 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: non-registered copy, and multi-CPU]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=2158#p2158</link>
			<description><![CDATA[<p>Hi Jeff,<br />Of course, #1 makes sense. You just never know until you try, though. <img src="https://forums.approximatrix.com/img/smilies/smile.png" width="15" height="15" alt="smile" /> <br />It sounds like I am stuck until changes to the code are made. Speaking with the original code developer, he believes the OpenMP route is probably the way to go as well. As I can&#039;t gain any advantage recompiling the code on the client machine, at this time there is likely no reason to obtain an trial extension. Thanks for your reply and advice. I&#039;ve sent it on to the developer as well.<br />Craig</p>]]></description>
			<author><![CDATA[null@example.com (craighamm)]]></author>
			<pubDate>Tue, 28 Jul 2015 14:27:48 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=2158#p2158</guid>
		</item>
		<item>
			<title><![CDATA[Re: non-registered copy, and multi-CPU]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=2157#p2157</link>
			<description><![CDATA[<p>Craig,</p><p>There are a few things to note:</p><p>1.&nbsp; Simply Fortran&#039;s trial period is for 30 days regardless of version.&nbsp; If we had a free 30-day trial with every new version, which are released on a monthly to bi-monthly basis, nobody would ever register since they could continue using the free versions as they are released.&nbsp; If you&#039;d like, I can send a trial extension for your client&#039;s machine.&nbsp; An Internet connection is not necessary to use Simply Fortran.</p><p>2.&nbsp; Simply Fortran&#039;s compiler doesn&#039;t automatically parallelize code.&nbsp; Your Xeon has 32 CPU&#039;s listed (probably 16 of which are actual cores, the remaining 16 are most likely &quot;Hyperthreading&quot; virtual cores due to Intel&#039;s design choices).&nbsp; If you write some standard Fortran, it will most likely be a serial program, meaning it can&#039;t take advantage of running in parallel.&nbsp; If you do the math, the program would be running on only a single core, and Windows will correctly report that it is using 1/32, or 3.125%, of all CPU power available.&nbsp; It will jump higher to nearly 6.25% on Intel chips with Hyperthreading on occasion because, again, half your cores are virtual and necessary to improve performance on Intel&#039;s chips.</p><p>3.&nbsp; In contrast, your i7 might only have a handful of cores, and the apparent CPU usage is probably going to be drastically higher.</p><p>If you want to use the full power of a Xeon, you can start looking for ways to parallelize your code.&nbsp; Again, you need to implement parallel code explicitly; compiled Fortran normally can&#039;t and won&#039;t take full advantage of multiple cores.&nbsp; I would suggest that you consider reading up on how to use OpenMP, which is a relatively simple solution that should allow you to quickly parallelize, for example, &quot;do&quot; loops. We ship a small OpenMP reference and an simplistic example program with Simply Fortran.&nbsp; You might prefer, though, to search online for an OpenMP tutorial.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Tue, 28 Jul 2015 12:24:41 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=2157#p2157</guid>
		</item>
		<item>
			<title><![CDATA[non-registered copy, and multi-CPU]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=2155#p2155</link>
			<description><![CDATA[<p>Hi, I&#039;m trying to compile a code with a demo copy on a machine I am not allowed to connect to the internet. This machine is a fancy DELL Precision T7610, Xeon processor(s). I had installed a demo SF previously, but that one expired after a month. So, I downloaded again, uninstalled old one, re-installed new download, and it still tells me it has expired. Note that I AM a REGISTERED user of SF on my personal machine.</p><p>Why am I doing this? The DELL machine is that of a client, and they do not want it connected to the internet. I have been running a .exe program on the DELL, but it is dead slow. I think it must have something to do with my compiler settings. Let me call the program a.exe. When I run a.exe on my personal machine, the CPU (intel i7) goes very fast and cranks the CPU up to like 90% sometimes (and this is what I want as it is a large numerical integration). On the DELL, it has 32 CPUs, intel Xeon, and the process uses a couple CPUs, and in total, is running at 3 to 5%. This is killing me!</p><p>Normally I compile with pretty benign settings and things are AOK. Also, I am not a Fortran/GNU compiler guru (one reason I went to SF). So.....aside from getting SF to run on the DELL (non-internet), if there are some basic pointers that I can try (with clear instructions, as though you are speaking to a 5 yr old!) this would be extremely appreciated.</p><p>Cheers,<br />Craig</p>]]></description>
			<author><![CDATA[null@example.com (craighamm)]]></author>
			<pubDate>Mon, 27 Jul 2015 21:45:40 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=2155#p2155</guid>
		</item>
	</channel>
</rss>
