Not a problem - I thought that's what you meant. If you don't mind my asking, I'm curious as to why.
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 >> >> >> >> >> -- >> When a place gets crowded enough to require ID's, social collapse is not >> far away. It is time to go elsewhere. The best thing about space travel >> is that it made it possible to go elsewhere. >> -- R.A. Heinlein, "Time Enough For Love" >> > > -- When a place gets crowded enough to require ID's, social collapse is not far away. It is time to go elsewhere. The best thing about space travel is that it made it possible to go elsewhere. -- R.A. Heinlein, "Time Enough For Love"
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
