|
From: | Shantanu Unknown |
Subject: | RE: problem using nested parallel |
Date: | Mon, 2 May 2011 00:44:03 +0000 |
Hi Ole, I tried parallel -k echo {1}/output/{2} :::: filename <(seq 19 22) in bash shell and I have cut and pasted exactly what you wrote and the first 7 lines read 20110201095631_BCS0531-5043/output/19 20110203185605_BCS2312-5346/output/20 20110203192328_BCS2344-5529/output/21 20110203194331_BCS2343-5455/output/22 20110203200355_BCS2324-5239/output/ 20110203202358_BCS2320-5313/output/ 20110203204400_BCS2346-5239/output/ and the first 7 lines of the file are 20110201095631_BCS0531-5043 20110203185605_BCS2312-5346 20110203192328_BCS2344-5529 20110203194331_BCS2343-5455 20110203200355_BCS2324-5239 20110203202358_BCS2320-5313 20110203204400_BCS2346-5239 and this is not what I want. > From: ole@tange.dk > Date: Sun, 1 May 2011 21:50:23 +0200 > Subject: Re: problem using nested parallel > To: shantanu9847@hotmail.com > CC: parallel@gnu.org > > On Sun, May 1, 2011 at 7:08 PM, Shantanu Unknown > <shantanu9847@hotmail.com> wrote: > > Hi Ole, > > Neither of the two solutions you suggested are working for me. > > Please include the output from what you get when running it. > > > I am using > > GNU parallel version 20101125 (Is that too old)? > > No: :::: was implemented in 20100722. > > > When I tried bash shell, it only gave <contentsof file>/output/ > > It works fine with parallel-20101115 running bash: > > $ (echo a;echo b;echo c;echo d) > filename > $ parallel-20101115 -k echo {1}/output/{2} :::: filename <(seq 19 22) > a/output/19 > b/output/20 > c/output/21 > d/output/22 > > Are you sure you are copying the command exactly? (Use copy/paste - do > not trust your eyes) > > > Also I did read the examples on the man page and thought I had implemented > > things correctly based on the examples. > > Does the example from the man page work on your system? Yes, the following example from the man page worked on my system ls *.es.* | perl -pe 'print; s/\.es//' | parallel -N2 cp {1} {2} So I am guessing, something wrong with echo and nested parallel ?
> > /Ole |
[Prev in Thread] | Current Thread | [Next in Thread] |