<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Parallel and cluster computing with MPI4Py</title>
	<atom:link href="http://blog.mikael.johanssons.org/archive/2008/05/parallell-and-cluster-mpi4py/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mikael.johanssons.org/archive/2008/05/parallell-and-cluster-mpi4py/</link>
	<description>Because my LiveJournal is too silly</description>
	<lastBuildDate>Mon, 15 Mar 2010 18:50:59 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Tibo's wiki: Mpi</title>
		<link>http://blog.mikael.johanssons.org/archive/2008/05/parallell-and-cluster-mpi4py/comment-page-1/#comment-155579</link>
		<dc:creator>Tibo's wiki: Mpi</dc:creator>
		<pubDate>Sat, 31 Jan 2009 22:28:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mikael.johanssons.org/?p=168#comment-155579</guid>
		<description>[...] in sage complete tutorial on how to use MPI    page tags: fortran mpi python            help  &#124;  terms of service  &#124;  privacy  &#124;  report a bug  [...]</description>
		<content:encoded><![CDATA[<p>[...] in sage complete tutorial on how to use MPI    page tags: fortran mpi python            help  |  terms of service  |  privacy  |  report a bug  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sara</title>
		<link>http://blog.mikael.johanssons.org/archive/2008/05/parallell-and-cluster-mpi4py/comment-page-1/#comment-153453</link>
		<dc:creator>Sara</dc:creator>
		<pubDate>Sun, 11 Jan 2009 20:19:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mikael.johanssons.org/?p=168#comment-153453</guid>
		<description>Hello Michi,

I&#039;m a student learning to use MPI4py.  
I&#039;m trying to run a this simple program:
from mpi4py import MPI
import sys

hwmess = &quot;Hello, World!! I am process %d of %d.\n&quot;
myrank = MPI.COMM_WORLD.Get_rank()
nprocs = MPI.COMM_WORLD.Get_size()
sys.stdout.write(hwmess % (myrank, nprocs))
by the command:
mpirun -np 5 filename.py
then I get 5 prints:
Hello, World!! I am process 0 of 1.

Do you have any idea why such thing might happen?

Thank you,</description>
		<content:encoded><![CDATA[<p>Hello Michi,</p>
<p>I&#8217;m a student learning to use MPI4py.<br />
I&#8217;m trying to run a this simple program:<br />
from mpi4py import MPI<br />
import sys</p>
<p>hwmess = &#8220;Hello, World!! I am process %d of %d.\n&#8221;<br />
myrank = MPI.COMM_WORLD.Get_rank()<br />
nprocs = MPI.COMM_WORLD.Get_size()<br />
sys.stdout.write(hwmess % (myrank, nprocs))<br />
by the command:<br />
mpirun -np 5 filename.py<br />
then I get 5 prints:<br />
Hello, World!! I am process 0 of 1.</p>
<p>Do you have any idea why such thing might happen?</p>
<p>Thank you,</p>
]]></content:encoded>
	</item>
</channel>
</rss>
