submit jobs on multi-core

Alec Taylor alec.taylor6 at gmail.com
Tue Sep 11 05:23:00 EDT 2012


http://celeryproject.org/

Don't eat it all at once

On Tue, Sep 11, 2012 at 2:16 PM, Dhananjay <dhananjay.c.joshi at gmail.com> wrote:
> Dear all,
>
> I have a python script in which I have a list of files to input one by one
> and for each file I get a number as an output.
> I used for loop to submit the file to script.
> My script uses one file at a time and returns the output.
>
> My computers has 8 cores.
> Is there any way that I could submit 8 jobs at a time and get all the output
> faster ?
> In other words, how can I modify my script so that I could submit 8 jobs
> together on 8 different processors ?
>
> I am bit new to this stuff, please suggest me some directions.
>
> Thank you.
>
> -- Joshi
>
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>



More information about the Python-list mailing list