Lane Schwartz wrote: > If you don't mind my asking, I'm curious as to why.
Fear of change. (: Basically, I haven't used array jobs at all, and I'm not sure our installation is set up for them. However, if everyone thinks that's highly unlikely, and array jobs are a very standard thing in SGE, then there's no need for a proliferation of config switches, and I withdraw my +1 cents. - JB > In the current script, for a job split N ways, moses-parallel.pl > creates N temporary bash scripts (each of which will call Moses on > one part of the data), then launches each of these scripts via a > separate invocation of qsub. This results in N unique qsub jobs, > each with its own job id. > > In my proposed change, moses-parallel.pl would create 1 temporary > bash script, then would launch this one script via one call to qsub. > The call to qsub would use the flag -t 1-N. This would result in N > qsub jobs, each of which would share a common parent task ID. (You > can still identify child jobs, since each array child task also has > its own child task, ranging from 1 to N.) > > Everything else would stay exactly as it is now. If there's a > legitimate reason to maintain both, then I'm open to doing so, but I > don't know any reason why the current method would be preferable to > the proposed method. > > Lane > > On Thu, Dec 16, 2010 at 1:16 PM, John Burger <[email protected]> wrote: > Lane Schwartz wrote: > > John, > > I assume you are saying that you like the current qsub submission > mechanism used by moses-parallel.pl, and would like any changes to > allow the script to keep working exactly how it is now. Is that > correct? > > Yes - apologies for my new media terseness. (: > > - JB > > > On Thu, Dec 16, 2010 at 10:30 AM, John Burger <[email protected]> wrote: > Chris Dyer wrote: > > Would it be possible to have some kind of flag that turns this on or > off? > > +1, please. > > - John D. Burger > MITRE _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
