Re: submit jobs on multi-core

2012-09-13 Thread Matej Cepl
On 13/09/12 03:59, Jason Friedman wrote: Or if Python 3.2 is an option, the concurrent.futures module would be very well suited for this task. Also available as an external download for Python 2.* ... http://pypi.python.org/pypi/futures/ Matěj -- http://mail.python.org/mailman/listinfo/pytho

Re: submit jobs on multi-core

2012-09-12 Thread Jason Friedman
>>> 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 th

Re: submit jobs on multi-core

2012-09-11 Thread Oscar Benjamin
On 2012-09-11, Dhananjay wrote: > --===0316394162== > Content-Type: multipart/alternative; boundary=20cf30776bd309ffd004c96557e2 > > --20cf30776bd309ffd004c96557e2 > Content-Type: text/plain; charset=ISO-8859-1 > > Dear all, > > I have a python script in which I have a list of files to

Re: submit jobs on multi-core

2012-09-11 Thread Ian Kelly
On Mon, Sep 10, 2012 at 11:53 PM, Laszlo Nagy wrote: > On 2012-09-11 06:16, Dhananjay 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 scr

Re: submit jobs on multi-core

2012-09-11 Thread woooee
There is parallel python as well http://www.parallelpython.com/ -- http://mail.python.org/mailman/listinfo/python-list

Re: submit jobs on multi-core

2012-09-11 Thread Alec Taylor
http://celeryproject.org/ Don't eat it all at once On Tue, Sep 11, 2012 at 2:16 PM, Dhananjay 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 sc

Re: submit jobs on multi-core

2012-09-11 Thread zig-zag
On 09/11/2012 07:53 AM, Laszlo Nagy wrote: > On 2012-09-11 06:16, Dhananjay 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 f

Re: submit jobs on multi-core

2012-09-10 Thread Laszlo Nagy
On 2012-09-11 06:16, Dhananjay 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

submit jobs on multi-core

2012-09-10 Thread Dhananjay
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 submi