In the course of working on an idea for parallel and distributed
Gröbner bases, I have an example implementation of the idea using Sage
for the commutative algebra routines. This has been — mainly — very
pleasant, with the ease of calling Sage from Python, and with the ease
of using the included (optional) SQLAlchemy, MPI4Py and OpenMPI
packages.

However, I now find myself in the situation where I need to go to
several computational nodes, and not only several cores on a single
node. And I am getting some problems that I'd need advice for.

Using OpenMPI across several nodes is easy. It will, given easy enough
shell scripts and specification files, ssh to each node and launch
processes there, and take care of all process enumeration and
communication issues. However, especially when using the OpenMPI
included with Sage, there is a bit of a chicken vs. egg problem. The
shell created by ssh to a new node will not automatically be in a Sage
shell environment; but the OpenMPI I'm using sits inside Sage. It
doesn't seem like the »sage -sh« command necessarily takes an optional
command to run afterwards — so I can't have OpenMPI do something like
ssh nextnode 'sage -sh mpirun -np $NP $COMMAND'

Looking through the mailing list archives, I have found one
discussion, in which DSage was suggested for anyone _actually_ wanting
to run Sage in a cluster context, and then a few years later, another
discussion removing DSage from the system due to non-use. Is there
_anything_ I can do to make my computation work at this point?

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to