From b1300c8ea81551a863e5acd68bd1efefab4353fa Mon Sep 17 00:00:00 2001 From: Ole Tange Date: Wed, 1 Aug 2012 18:29:37 +0200 Subject: [PATCH 1/4] Fixes: bug #37004: niceload example does not work --- src/niceload.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/niceload.pod b/src/niceload.pod index 95cc370e..502e5b8f 100644 --- a/src/niceload.pod +++ b/src/niceload.pod @@ -187,7 +187,7 @@ In terminal 1 run: top In terminal 2 run: -B>B<50)'> +B>B<50)'> This will print a '.' every second for 50 seconds and eat a lot of CPU. When the load rises to 1.0 the process is suspended. From 199e1065680a805b54cd526c38f589f54b703361 Mon Sep 17 00:00:00 2001 From: Tim Cuthbertson Date: Fri, 7 Sep 2012 18:37:22 +1000 Subject: [PATCH 2/4] 0install: add explicit perl to allow feed to be run on windows --- packager/0install/parallel.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packager/0install/parallel.xml b/packager/0install/parallel.xml index af3cfa3e..787ec6d5 100644 --- a/packager/0install/parallel.xml +++ b/packager/0install/parallel.xml @@ -29,7 +29,9 @@ xargs or cat | sh. - + + + @@ -133,7 +135,7 @@ xargs or cat | sh. From 4d4863885920d8641ebbfefc87a8dde6b6002482 Mon Sep 17 00:00:00 2001 From: Ole Tange Date: Fri, 7 Sep 2012 18:21:47 +0200 Subject: [PATCH 3/4] parallel.pod: use 'true' to avoid the empty line. --- src/parallel.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parallel.pod b/src/parallel.pod index b6c80e92..b841049f 100644 --- a/src/parallel.pod +++ b/src/parallel.pod @@ -2271,7 +2271,7 @@ The idea is to put the jobs into a file and have GNU B read from that continuously. As GNU B will stop at end of file we use B to continue reading: -B>B; B +B>B; B To submit your jobs to the queue: From 72343b3054bd9c8eeb21da811c2b7751e82157d1 Mon Sep 17 00:00:00 2001 From: Ole Tange Date: Fri, 7 Sep 2012 18:51:08 +0200 Subject: [PATCH 4/4] Documentation comments. --- doc/FUTURE_IDEAS | 9 +++++---- doc/release_new_version | 12 ++++++------ 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/doc/FUTURE_IDEAS b/doc/FUTURE_IDEAS index 73f8445c..7f986faf 100644 --- a/doc/FUTURE_IDEAS +++ b/doc/FUTURE_IDEAS @@ -1,13 +1,12 @@ Luk filen ved EOF - lad være med bare at læse videre. -> /tmp/ged; tail -f /tmp/ged| xargs -n1 -E eof & sleep 1; echo echo a >>/tmp/ged; echo eof >>/tmp/ged; seq 10 >>/tmp/ged; wait - -> /tmp/ged; tail -f /tmp/ged| parallel -n1 -E eof & sleep 1; echo echo a >>/tmp/ged; echo eof >>/tmp/ged; seq 10 >>/tmp/ged; wait +> /tmp/ged; tail -f /tmp/ged| xargs -n1 -E eof & sleep 1; echo echo a >>/tmp/ged; echo eof >>/tmp/ged; seq 4 >>/tmp/ged; wait +> /tmp/ged; tail -f /tmp/ged| parallel -n1 -E eof & sleep 1; echo echo a >>/tmp/ged; echo eof >>/tmp/ged; seq 4 >>/tmp/ged; wait Fhqwhgads som 20120122 pga 10 års jubliæum. ---timeout auto: If a jobs takes > 3*average runtime then kill it. Only after job 3. +--timeout auto: If a jobs takes > 3*moving average runtime then kill it. Only after job 3. niceload seeks last column: @@ -26,6 +25,8 @@ cat <<'_EOF' | parallel -v echo awk -v FS="\",\"" '{print $1, $3, $4, $5, $9, $14}' | grep -v "#" | sed -e '1d' -e 's/\"//g' -e 's/\/\/\//\t/g' | cut -f1-6,11 | sed -e 's/\/\//\t/g' -e 's/ /\t/g _EOF +\'-tricket +ls *bed | parallel -j 10 intersectBed -a good-genes.gff -b {} -c \| awk \''BEGIN{OFS="\t\";} {print $1,$9,$4,$5,$7,$10}'\' > test.txt FN="two spaces" echo 1 | parallel -q echo {} "$FN" diff --git a/doc/release_new_version b/doc/release_new_version index ca0e7ff8..1fab7f0b 100644 --- a/doc/release_new_version +++ b/doc/release_new_version @@ -171,18 +171,18 @@ cc:Sandro Cazzaniga , Ryoichiro Suzuki , Jesse Alama -Subject: GNU Parallel 20120822 ('Boson') released +Subject: GNU Parallel 20120922 ('X') released -GNU Parallel 20120822 ('Boson') has been released. It is +GNU Parallel 20120922 ('X') has been released. It is available for download at: http://ftp.gnu.org/gnu/parallel/ New in this release: -* Due to a bugfix the main flow has changed. Making this release beta - quality. +* Using GNU Parallel to Package Multiple Jobs in a Single PBS Job. + http://www.nas.nasa.gov/hecc/support/kb/Using-GNU-Parallel-to-Package-Multiple-Jobs-in-a-Single-PBS-Job_303.html -* Parallel Proxy Scraper & Checker Tool - https://www.youtube.com/watch?v=iXCeR_XsP6o +* GNU Parallel Notes. + http://xed.ch/help/parallel.html * Bug fixes and man page updates.