Re: replacement string for running jobs number(not job number{#})

2014-05-12 Thread Ole Tange
On Tue, May 6, 2014 at 11:59 AM, Ole Tange wrote: > On Mon, May 5, 2014 at 7:33 PM, max wrote: >> Long question in short is I need a replacement string for the job slot >> number. say "parallel -k -j2" , we opened two slots for all the jobs to >> run, I want to know the slots number through whic

Re: how to use gnu parallel and grep with a space

2014-05-12 Thread Ole Tange
On Sun, May 11, 2014 at 11:31 AM, Shantanu Unknown wrote: > I am trying to use gnu parallel and grep as follows > > cat tmp | parallel -j1 grep "^{} " ~/datafile.txt The "^{} " gets unquoted, so you need to quote that one more time. It can be done like this: cat tmp | parallel -j1 grep "^{}\ "

Re: Transfer output of a command from remote computer

2014-05-12 Thread Ole Tange
On Fri, May 9, 2014 at 11:44 AM, V A Ramesh wrote: > I am running a job like this > > parallel --eta -S .. --trc {.}.out < Testing_Para > > Testing_para: : > svm-train -c 0.125 -g 0.015625 -v 10 -m 2000 Combined_Full.scaled >& > Combined_Full.scaled_0.125_0.015625.out > svm-train -c 0.125 -g 0.03

Re: controlling memory use beyond --noswap

2014-05-12 Thread Ole Tange
On Wed, May 7, 2014 at 10:33 AM, Sebastian Eiser wrote: > Just a thought, which may be a simple solution, but suiting most people. > > The kernel is pretty good at killing misbehaving jobs. @Ole: can you capture > SIGKILL from a job? Can you record memory usage shortly after SIGKILL? If you see

Help on For loop Rewrite

2014-05-12 Thread Blake, Lauren
Hello, I was hoping to get some guidance on a mistake that I am making in rewriting a for loop to perform the iterations of the loop in parallel using GNU Parallel. I have changed the for loop to the set-up that I found on many examples online, but I'm afraid that the syntax is not correct stil