On Tue, Apr 17, 2012 at 12:02:08AM +0200, Lluís Batlle i Rossell wrote:
> On Wed, Apr 11, 2012 at 04:16:52AM -0700, Litvinov Sergey wrote:
> >
> > > Do you have any suggestion for a command line argument to do that?
> >
> > MPI uses "-n"
> >
http://www.mcs.anl.gov/research/projects/mpi/www/www1/mpiexec.html
> >
> > But in ts "-n" is taken. Can it be "-N"?
>
> It sounds fine. Some of these days I'll try to implement it...
>
> Of course if you want to try, feel free to send a patch :)
I'm trying to implement this... and I've to choose what to do in this case, with
example numbers:
1) The server has 3 slots free of 5
2) The next job in the queue requires 4 slots (-N 4), and the next jobs only one
each.
Should I make 'ts' a) process the next jobs (of one slot each), or simply b) wait for
the server to have 4 slots free?
I'd first think of wanting the option 'a', because the queue order has some
importance in ts. But due to the multiple slots option, although the start of
jobs is delivered in strict order, the ending of jobs is totally out of order,
so accepting the option b) has some sense too.
What do you think?