|
From: | Lianheng Tong |
Subject: | Re: sometimes surprised/confused |
Date: | Mon, 6 Jan 2014 11:27:50 +0000 |
Hi Datakanja, I am not entirely sure what you are trying to do, but the arguments this should not happen are already separated per default POSIX parsing. You do not need --colsep. Thus parallel --dry-run -n 2 echo {} ::: this should not happen correctly produces on my macbook, with 2 processors: echo this should echo not happen as the maximum number of arguments assigned to echo will be 2, so the first two arguments are sent to processor 1 and the next two are sent to processor 2. If you want each processor to echo one argument at a time, then do: parallel --dry-run -n 1 echo {} ::: this should not happen which then gives: echo this echo should echo not echo happen This is what you want to do right? I hope this will be helpful. Best regards, Lianheng ================================================ Lianheng Tong Tel: +44 79 1758 3822 Room S4.02, Strand Building Fax: +44 20 7848 2420 Department of Physics lianheng.tong@kcl.ac.uk Kings College London Strand, London WC2R 2LS, U.K. ================================================ On 6 Jan 2014, at 11:06, ChessDoter wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |