mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-25 23:47:53 +00:00
Fixed bug #43570: Perl 5.8.0 creates 61 files.
Man page for --hostgroups. Restyled examples in man pages.
This commit is contained in:
parent
2aeb79bfe0
commit
fb3c148050
|
@ -238,6 +238,9 @@ A central piece of command generation was rewritten making this release beta qua
|
||||||
|
|
||||||
New in this release:
|
New in this release:
|
||||||
|
|
||||||
|
* --hostgroup
|
||||||
|
Thanks to Michel Courtine for developing a prototype.
|
||||||
|
|
||||||
* GNU Parallel was cited in: SlideToolkit: An Assistive Toolset for the Histological Quantification of Whole Slide Images http://www.plosone.org/article/info%3Adoi%2F10.1371%2Fjournal.pone.0110289#close
|
* GNU Parallel was cited in: SlideToolkit: An Assistive Toolset for the Histological Quantification of Whole Slide Images http://www.plosone.org/article/info%3Adoi%2F10.1371%2Fjournal.pone.0110289#close
|
||||||
|
|
||||||
* GNU Parallel was cited in: Exploring a multiprocessor design space to analyze the impact of using STT-RAM in the memory hierarchy http://conservancy.umn.edu/bitstream/handle/11299/167286/Borse_umn_0130M_15431.pdf
|
* GNU Parallel was cited in: Exploring a multiprocessor design space to analyze the impact of using STT-RAM in the memory hierarchy http://conservancy.umn.edu/bitstream/handle/11299/167286/Borse_umn_0130M_15431.pdf
|
||||||
|
|
|
@ -1545,7 +1545,9 @@ sub save_stdin_stdout_stderr {
|
||||||
for my $fdno (1..61) {
|
for my $fdno (1..61) {
|
||||||
# /dev/fd/62 and above are used by bash for <(cmd)
|
# /dev/fd/62 and above are used by bash for <(cmd)
|
||||||
my $fh;
|
my $fh;
|
||||||
if(open($fh,">&=",$fdno)) {
|
# 2-argument-open is used to be compatible with old perl 5.8.0
|
||||||
|
# bug #43570: Perl 5.8.0 creates 61 files
|
||||||
|
if(open($fh,">&=$fdno")) {
|
||||||
$Global::fd{$fdno}=$fh;
|
$Global::fd{$fdno}=$fh;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
448
src/parallel.pod
448
src/parallel.pod
File diff suppressed because it is too large
Load diff
|
@ -133,7 +133,7 @@
|
||||||
.\" ========================================================================
|
.\" ========================================================================
|
||||||
.\"
|
.\"
|
||||||
.IX Title "PARALLEL_TUTORIAL 1"
|
.IX Title "PARALLEL_TUTORIAL 1"
|
||||||
.TH PARALLEL_TUTORIAL 1 "2014-10-31" "20141022" "parallel"
|
.TH PARALLEL_TUTORIAL 1 "2014-11-10" "20141022" "parallel"
|
||||||
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
|
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
|
||||||
.\" way too many mistakes in technical documents.
|
.\" way too many mistakes in technical documents.
|
||||||
.if n .ad l
|
.if n .ad l
|
||||||
|
@ -1688,8 +1688,8 @@ Output:
|
||||||
.Ve
|
.Ve
|
||||||
.PP
|
.PP
|
||||||
Note how job 1 and 2 were tried 3 times, but 0 was not retried because it had exit code 0.
|
Note how job 1 and 2 were tried 3 times, but 0 was not retried because it had exit code 0.
|
||||||
.SS "Limiting the ressources"
|
.SS "Limiting the resources"
|
||||||
.IX Subsection "Limiting the ressources"
|
.IX Subsection "Limiting the resources"
|
||||||
To avoid overloading systems \s-1GNU\s0 Parallel can look at the system load
|
To avoid overloading systems \s-1GNU\s0 Parallel can look at the system load
|
||||||
before starting another job:
|
before starting another job:
|
||||||
.PP
|
.PP
|
||||||
|
|
|
@ -59,7 +59,7 @@
|
||||||
<li><a href="#Timing">Timing</a></li>
|
<li><a href="#Timing">Timing</a></li>
|
||||||
<li><a href="#Progress">Progress</a></li>
|
<li><a href="#Progress">Progress</a></li>
|
||||||
<li><a href="#Termination">Termination</a></li>
|
<li><a href="#Termination">Termination</a></li>
|
||||||
<li><a href="#Limiting-the-ressources">Limiting the ressources</a></li>
|
<li><a href="#Limiting-the-resources">Limiting the resources</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#Remote-execution">Remote execution</a>
|
<li><a href="#Remote-execution">Remote execution</a>
|
||||||
|
@ -1261,7 +1261,7 @@
|
||||||
|
|
||||||
<p>Note how job 1 and 2 were tried 3 times, but 0 was not retried because it had exit code 0.</p>
|
<p>Note how job 1 and 2 were tried 3 times, but 0 was not retried because it had exit code 0.</p>
|
||||||
|
|
||||||
<h2 id="Limiting-the-ressources">Limiting the ressources</h2>
|
<h2 id="Limiting-the-resources">Limiting the resources</h2>
|
||||||
|
|
||||||
<p>To avoid overloading systems GNU Parallel can look at the system load before starting another job:</p>
|
<p>To avoid overloading systems GNU Parallel can look at the system load before starting another job:</p>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue