Re: Advice on using parallel as a batch queue system

2013-01-09 Thread Ole Tange
On Tue, Jan 8, 2013 at 6:22 PM, Tong, Lianheng wrote: > This is my first post and I am very pleased to have discovered gnu parallel > about a month ago. It had saved me a lot hassle while running a lot of serial > simulation jobs. So a big thanks to the developers :-) I am happy it helped you.

Re: Advice on using parallel as a batch queue system

2013-01-09 Thread Ozgur Akgun
Hi Lianheng, Now I have to share my slightly dodgy hack with you. It's been working for me for a while, hope it helps you in some way. https://gist.github.com/4493366 Best, Ozgur

Re: Advice on using parallel as a batch queue system

2013-01-09 Thread Tong, Lianheng
Hi Ole, > It seems the warning is not working any more. But the essence is that > if you have 4 JobSlots, then you have to submit 4 jobs before they > start. After that you can submit one at a time. > > After the first 4 jobs have completed, output of every job is delayed > by 4 jobs (unless you

Re: Advice on using parallel as a batch queue system

2013-01-09 Thread Tong, Lianheng
Hi Ozgur, Many thanks for the code. I did write a similar script for the same purposes, but the trap 'on_die' and on_die() function in your script is very nice. Thank you very much again! Lianheng == Lianheng Tong