What's the proper way to nest calls to GNU parallel?
Silly example:
seq 1 100 | parallel echo {} | parallel seq {} 1000
My understanding is that on an 8-CPU box, each parallel would launch 8 jobs for a total of 64 jobs. If you're calling something more substantial than seq this could potentially overload the box. Is there a way to limit the number of jobs but still make full use of parallelism?
seq 1 100 | parallel "echo {} | parallel -I // seq // 1000"which would start 64 seqs on an 8 core machine - Ole Tange