<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — Running SF with MPI on linux machine]]></title>
		<link>http://forums.approximatrix.com/viewtopic.php?id=724</link>
		<atom:link href="http://forums.approximatrix.com/extern.php?action=feed&amp;tid=724&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Running SF with MPI on linux machine.]]></description>
		<lastBuildDate>Thu, 03 Oct 2019 15:04:12 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Running SF with MPI on linux machine]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=3346#p3346</link>
			<description><![CDATA[<p>First, you need to make sure the MPI executable is properly configured.&nbsp; In the <a href="http://simplyfortran.com/docs/full/linux/options/compiler.html">Compiler and Support Options window</a>, make sure that the MPI Executable and number of images are properly set to your liking.&nbsp; The defaults should be sufficient.</p><p>Second, you&#039;ll need to enable launching using MPI for your particular project.&nbsp; In the <a href="http://simplyfortran.com/docs/full/linux/options/project.html">Project Options window, go to the &quot;Launch&quot; category</a>.&nbsp; You&#039;ll need to click the options &quot;Launch Using Message Passing Interface.&quot;</p><p>Finally, you need to link the MPICH library to your executable.&nbsp; The MPICH library, on Debian/Ubuntu, can be linked by adding the following flag to the Linker box under Compiler Flags in Project Options:</p><div class="codebox"><pre><code>-lmpich</code></pre></div><p>It sounds like you should have most everything working already on Linux, though, if it all works through the command line.&nbsp; I should note that Simply Fortran&#039;s debugger will not work properly with MPICH controlling your executable.&nbsp; It would be best to debug the program as a single-thread/single-image implementation prior to moving to MPI.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Thu, 03 Oct 2019 15:04:12 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=3346#p3346</guid>
		</item>
		<item>
			<title><![CDATA[Running SF with MPI on linux machine]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=3345#p3345</link>
			<description><![CDATA[<p>Hello,</p><p>I am currently running my code with OpenMP on SF (Build 3.2 , 2981). I want to switch the code to MPI and want to try out few &#039;Hello World&#039; runs using MPI.</p><p>(PS:I have gfortran and MPICH already installed and the hello world runs without errors on the terminal)</p><p>As I went through the forum, there is a package which is meant to run on windows. Any pointers on how I can run SF with MPI?</p><p>or is it not possible ?</p>]]></description>
			<author><![CDATA[null@example.com (sunilgk)]]></author>
			<pubDate>Wed, 02 Oct 2019 12:09:49 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=3345#p3345</guid>
		</item>
	</channel>
</rss>
