[IPython-user] Initializing MPI
Thu Nov 12 22:54:01 CST 2009
On 11/12/2009 11:15 PM, Brian Granger wrote:
> OK, I can certainly live with having to use mpi4py in the short term.
> I just want to avoid an additional dependency. (In particular as
> Fedora provides SciPy and IPython packages, but no mpi4py, making it a
> little hard for end users to set up their machine.)
> I'm still wondering what options I need to pass to MPI_Init(). I
> tried running MPI_Init, passing the content of sys.argv through.
> But that had the effect that all of my module instances reported
> the same rank '0', which seems to imply they all had no knowledge
> of each other. I figure to tell them about the other processes,
> and set up the channels, requires some argument to MPI_Init(),
> which would normally be provided by mpirun, but which I can't find
> any traces of in sys.argv.
> It really depends on what MPI implementation you are using. Which are
> you using?
We support many different ones, from OpenMPI over MPICH2 to PAS and
For the sake of simplicity let's assume we are using OpenMPI.
...ich hab' noch einen Koffer in Berlin...
More information about the IPython-user