Portable linux python install

2008-02-26 Thread Mike M
Hello,

I've been digging around the list archives and I haven't found a good
answer to this, so I was hoping someone on this list could help me
out.  Here's my conundrum:

I have a python application which I'd like to distribute to thousands
of machines in our server farm.  The good news is, all of the machines
I'd like to run this application on are running Red Hat Linux.  The
bad news is, they are various versions of RHEL - some Red Hat 7.3 and
RHEL 2.1, a lot more RHEL 3, even more RHEL 4 and some RHEL 5 to boot.
 Because of this variation of base installs of Python (1.5 up to 2.4
and everywhere in-between), I was wondering if there was a way to
compile a common python 2.5 that I could then drop into the /opt
directory and run from there, leaving the system python in place.  I
understand there may be some glibc compatibility issues, but hopefully
that is as simple as installing the appropriate compat-* libraries.

Is this possible?  If so, what are the steps to do it?  Has anyone
ever tried to do something similar?

I apologize if this is a ridiculously simple question, but things like
this always throw me for a loop.

Thanks in advance for any assistance or pointers.

Mike
-- 
http://mail.python.org/mailman/listinfo/python-list


Parallelization with Python: which, where, how?

2004-12-21 Thread Mike M?ller
> Can someone recommend a parallelization approach? Are there examples or 
> documentation? Has someone got experience with stability and efficiency?

I am successfully using pyro http://pyro.sourceforge.net for my
parallelization task (8 node Linux cluster, embarrassing parallel).
It comes with a good documentation and it is easy to use. It works on
clusters as well as on heterogeneous networks. You just need to start
a server on each cluster node (e.g. rsh node1 startserver.py). You
also need a name server running (maybe on your master node). Then a
client can just asks a server to calculate and gets some result back.
You can also send an object that calculates on the server and comes
back including the result.

There are some examples included in the documentation you can start
with and just change the parts that are specific to your application.

It is easy to understand and use and has been working well for me for
more than 2 years.

Mike
-- 
http://mail.python.org/mailman/listinfo/python-list