[Tutor] Queueing

Kent Johnson kent37 at tds.net
Thu May 10 02:41:19 CEST 2007


Paulo Nuin wrote:
> Hi Everyone
> 
> I need to a write a script that would do a queuing job on a cluster 
> running openMosix Linux. I have checked the Queue module and that part I 
> can say it is covered. My problem regards on thecode to check if the 
> process has ended. As some most of the jobs would be run in different 
> nodes I am having difficulties getting some example code to accomplish that.

I don't think the Queue module will help you with multi-processing, it 
is useful for inter-thread communication within a single process.

There are several Python packages that help with multi-processing; one 
is here:
http://www.parallelpython.com/

and others are referenced in the Links section of the above site. Also
http://www.python.org/pypi?%3Aaction=search&term=parallel&submit=search

HTH
Kent


More information about the Tutor mailing list