ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 19 Feb 2013 09:21:03 +0100MPI4Py, MPI in Sagehttps://ask.sagemath.org/question/9813/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?Sat, 16 Feb 2013 15:50:55 +0100https://ask.sagemath.org/question/9813/mpi4py-mpi-in-sage/Comment by kcrisman for <p>We've tried following the directions at <a href="http://www.sagemath.org/doc/numerical_sage/mpi4py.html">http://www.sagemath.org/doc/numerical_sage/mpi4py.html</a> and checked the forum at <a href="http://ask.sagemath.org/question/14/what-are-my-best-options-for-taking-advantage-of">http://ask.sagemath.org/question/14/what-are-my-best-options-for-taking-advantage-of</a>, but we're still having trouble implementing MPI in Sage.</p>
<p>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. </p>
<p>So, we were wondering:</p>
<ol>
<li>Is there an alternative to MPI which allows us to exploit multiple cores (or a cluster) from notebook form?</li>
<li>Does anybody have an easier-to-understand set of instructions than the ones listed above for using MPI4Py?</li>
</ol>
https://ask.sagemath.org/question/9813/mpi4py-mpi-in-sage/?comment=18219#post-id-18219Regarding 2: Unfortunately not, apparently. You might want to actually open a ticket getting the packages to work, since they are optional packages and thus (in theory) supported on our usual platform. Or edit your post here with the error. I think for something like this, actually the sage-support Google group is most effective; there is no obvious "answer" for a long give-and-take on env variables...Tue, 19 Feb 2013 09:21:03 +0100https://ask.sagemath.org/question/9813/mpi4py-mpi-in-sage/?comment=18219#post-id-18219