Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

MPI4Py, MPI in Sage

We've tried following the directions at http://www.sagemath.org/doc/numerical_sage/mpi4py.html and checked the forum at http://ask.sagemath.org/question/14/what-are-my-best-options-for-taking-advantage-of, but we're still having trouble implementing MPI in Sage.

Ideally, we'd prefer to implement MPI from a notebook instead of the command line, but that doesn't seem to be an option with MPI4Py. When we tried to use the command line, we had trouble importing the packages from the first link.

So, we were wondering:

  1. Is there an alternative to MPI which allows us to exploit multiple cores (or a cluster) from notebook form?
  2. Does anybody have an easier-to-understand set of instructions than the ones listed above for using MPI4Py?