parallel: Detection of CPU on Tru64.

This commit is contained in:
Ole Tange 2013-12-06 00:21:21 +01:00
parent 6a71285bb6
commit fbfd7d3bf7
10 changed files with 79 additions and 19 deletions

2
NEWS
View file

@ -51,7 +51,7 @@
* GNU Parallel was cited in: Investigating speaker gender using rhythm
metrics in Arabic dialects
http://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=6602389&url=http%3A%2F%2Fieeexplore.ieee.org%2Fxpls%2Fabs_all.jsp%3Farnumber%3D6602389
http://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=6602389
* GNU Parallel was cited in: Tiedon erist ̈minen ja visualisointi a
lastensuojelun asiakaskertomuksista

View file

@ -201,13 +201,49 @@ cc:Sandro Cazzaniga <kharec@mandriva.org>,
Ryoichiro Suzuki <ryoichiro.suzuki@gmail.com>,
Jesse Alama <jesse.alama@gmail.com>
Subject: GNU Parallel 20131222 ('Yutu' 玉兔) released
Subject: GNU Parallel 20131222 ('Yutu' 玉兔 eller Mandela) released
GNU Parallel 20131222 ('Yutu' 玉兔) has been released. It is
GNU Parallel 20131222 ('Yutu' 玉兔 eller Mandela) has been released. It is
available for download at: http://ftp.gnu.org/gnu/parallel/
New in this release:
* GNU Parallel was cited in: Variational Message-Passing: Extension to
Continuous Variables and Applications in Multi-Target Tracking
http://www.ics.uci.edu/~ajfrank/pubs/thesis.pdf
* GNU Parallel was cited in: Genome Assembly: Scaffolding Guided by
Related Genomes
https://www.duo.uio.no/handle/10852/37431
* GNU Parallel was cited in: Metagenomic analysis of Mariana Trench
sediment samples
http://repositorio.ul.pt/handle/10451/9436
* GNU Parallel was cited in: Diacritization, automatic segmentation
and labeling for Levantine Arabic speech
http://ieeexplore.ieee.org/xpl/articleDetails.jsp?tp=&arnumber=6642556
* GNU Parallel was cited in: Investigation of emotion classification
using speech rhythm metrics
http://ieeexplore.ieee.org/xpl/articleDetails.jsp?tp=&arnumber=6642591
* GNU Parallel was cited in: A Rhythm-Based Analysis of Arabic Native
and Non-Native Speaking Styles
http://www.ijsps.com/uploadfile/2013/1128/20131128014413279.pdf
* GNU Parallel was cited in: Evolutionary optimization of wetlands
design
http://dl.acm.org/citation.cfm?id=2480400
* GNU Parallel was cited (unfortunately with wrong citation) in:
RDBMS vs NoSQL: Performance and Scaling Comparison
http://www.epcc.ed.ac.uk/sites/default/files/Dissertations/2012-2013/RDBMS%20vs%20NoSQL%20-%20Performance%20and%20Scaling%20Comparison.pdf
* GNU Parallel was used (without proper citation) in: Comprehensive
Analysis Pipeline for Discovery of Human Genetic Variation
http://www.google.com/patents/US20130311106
* Using GNU Parallel to create a SVM classifier
http://ivanyu.me/blog/2013/12/01/parallel/

View file

@ -3384,6 +3384,8 @@ sub no_of_cpus {
$no_of_cpus = no_of_cpus_openserver();
} elsif ($^O eq 'irix') {
$no_of_cpus = no_of_cpus_irix();
} elsif ($^O eq 'dec_osf') {
$no_of_cpus = no_of_cpus_tru64();
} else {
$no_of_cpus = (no_of_cpus_gnu_linux()
|| no_of_cpus_freebsd()
@ -3397,6 +3399,7 @@ sub no_of_cpus {
|| no_of_cpus_qnx()
|| no_of_cpus_openserver()
|| no_of_cpus_irix()
|| no_of_cpus_tru64()
);
}
if($no_of_cpus) {
@ -3437,6 +3440,8 @@ sub no_of_cores {
$no_of_cores = no_of_cores_openserver();
} elsif ($^O eq 'irix') {
$no_of_cores = no_of_cores_irix();
} elsif ($^O eq 'dec_osf') {
$no_of_cores = no_of_cores_tru64();
} else {
$no_of_cores = (no_of_cores_gnu_linux()
|| no_of_cores_freebsd()
@ -3450,6 +3455,7 @@ sub no_of_cores {
|| no_of_cores_qnx()
|| no_of_cores_openserver()
|| no_of_cores_irix()
|| no_of_cores_tru64()
);
}
if($no_of_cores) {
@ -3749,6 +3755,24 @@ sub no_of_cores_irix {
return $no_of_cores;
}
sub no_of_cpus_tru64 {
# Returns:
# Number of physical CPUs on Tru64
# undef if not Tru64
my $no_of_cpus =
(`sizer -pr`);
return $no_of_cpus;
}
sub no_of_cores_tru64 {
# Returns:
# Number of CPU cores on Tru64
# undef if not Tru64
my $no_of_cores =
(`sizer -pr`);
return $no_of_cores;
}
sub sshcommand {
my $self = shift;
if (not defined $self->{'sshcommand'}) {
@ -4428,8 +4452,7 @@ sub sshlogin_wrap {
my $wd = ::shell_quote_file($self->workdir());
$remote_pre .= ::shell_quote_scalar("mkdir -p ") . $wd .
::shell_quote_scalar("; cd ") . $wd .
::shell_quote_scalar(qq{ || sh -c 'echo "$Global::progname: Error: cannot cd to $wd" 1>&2' }.
"&& exit 255; ");
::shell_quote_scalar(qq{ || exit 255;});
}
$self->{'sshlogin_wrap'} =
($pre

View file

@ -1,5 +1,7 @@
#!/bin/bash
rm -f ~/.parallel/will-cite
echo '### Test stdin goes to first command only ("-" as argument)'
cat >/tmp/parallel-script-for-script <<EOF
#!/bin/bash

View file

@ -2,6 +2,8 @@
# Test xargs compatibility
rm -f ~/.parallel/will-cite
echo '### Test -p --interactive'
cat >/tmp/parallel-script-for-expect <<_EOF
#!/bin/bash

View file

@ -3,13 +3,10 @@ OK
### --wd no-such-dir
mkdir: cannot create directory /no-such-dir: Permission denied
bash: line 0: cd: /no-such-dir: No such file or directory
parallel: Error: cannot cd to /no-such-dir
Exit code 1
mkdir: cannot create directory /no-such-dir: Permission denied
bash: line 0: cd: /no-such-dir: No such file or directory
parallel: Error: cannot cd to /no-such-dir
Exit code 1
mkdir: cannot create directory /no-such-dir: Permission denied
bash: line 0: cd: /no-such-dir: No such file or directory
parallel: Error: cannot cd to /no-such-dir
Exit code 1

View file

@ -1,5 +1,5 @@
### Test stdin goes to first command only ("-" as argument)
When using GNU Parallel to process data for publication please cite:
When using programs that use GNU Parallel to process data for publication please cite:
O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
;login: The USENIX Magazine, February 2011:42-47.
@ -13,7 +13,7 @@ via first cat
cat -
via pseudotty
### Test stdin goes to first command only ("cat" as argument)
When using GNU Parallel to process data for publication please cite:
When using programs that use GNU Parallel to process data for publication please cite:
O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
;login: The USENIX Magazine, February 2011:42-47.

View file

@ -13,7 +13,7 @@ centos3.tange.dk O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
centos3.tange.dk OK_if_no_perl_warnings
centos3.tange.dk This helps funding further development; and it won't cost you a cent.
centos3.tange.dk To silence this citation notice run 'parallel --bibtex' once or use '--no-notice'.
centos3.tange.dk When using GNU Parallel to process data for publication please cite:
centos3.tange.dk When using programs that use GNU Parallel to process data for publication please cite:
centos5.tange.dk
centos5.tange.dk
centos5.tange.dk
@ -23,7 +23,7 @@ centos5.tange.dk O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
centos5.tange.dk OK_if_no_perl_warnings
centos5.tange.dk This helps funding further development; and it won't cost you a cent.
centos5.tange.dk To silence this citation notice run 'parallel --bibtex' once or use '--no-notice'.
centos5.tange.dk When using GNU Parallel to process data for publication please cite:
centos5.tange.dk When using programs that use GNU Parallel to process data for publication please cite:
freebsd7.tange.dk
freebsd7.tange.dk
freebsd7.tange.dk
@ -33,7 +33,7 @@ freebsd7.tange.dk O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
freebsd7.tange.dk OK_if_no_perl_warnings
freebsd7.tange.dk This helps funding further development; and it won't cost you a cent.
freebsd7.tange.dk To silence this citation notice run 'parallel --bibtex' once or use '--no-notice'.
freebsd7.tange.dk When using GNU Parallel to process data for publication please cite:
freebsd7.tange.dk When using programs that use GNU Parallel to process data for publication please cite:
redhat9.tange.dk
redhat9.tange.dk
redhat9.tange.dk
@ -43,4 +43,4 @@ redhat9.tange.dk O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
redhat9.tange.dk OK_if_no_perl_warnings
redhat9.tange.dk This helps funding further development; and it won't cost you a cent.
redhat9.tange.dk To silence this citation notice run 'parallel --bibtex' once or use '--no-notice'.
redhat9.tange.dk When using GNU Parallel to process data for publication please cite:
redhat9.tange.dk When using programs that use GNU Parallel to process data for publication please cite:

View file

@ -46,7 +46,7 @@ Error:
sql [-hnr] [--table-size] [--db-size] [-p pass-through] [-s string] dburl [command]
### Test dburl :
Error:
: is not defined in /home/tange/.sql/aliases /home/tange/.dburl.aliases /etc/sql/aliases /home/tange/bin/dburl.aliases /home/tange/bin/dburl.aliases.dist
: is not defined in /home/tange/.sql/aliases /home/tange/.dburl.aliases /etc/sql/aliases /usr/local/bin/dburl.aliases /usr/local/bin/dburl.aliases.dist
sql [-hnr] [--table-size] [--db-size] [-p pass-through] [-s string] dburl [command]
### Test oracle with multiple arguments on the command line

View file

@ -1,6 +1,6 @@
### Test -p --interactive
spawn /tmp/parallel-script-for-expect
When using GNU Parallel to process data for publication please cite:
When using programs that use GNU Parallel to process data for publication please cite:
O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
;login: The USENIX Magazine, February 2011:42-47.
@ -14,7 +14,7 @@ sleep 0.1; echo opt-p 2 ?...n
sleep 0.1; echo opt-p 3 ?...y
opt-p 1
opt-p 3
When using GNU Parallel to process data for publication please cite:
When using programs that use GNU Parallel to process data for publication please cite:
O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
;login: The USENIX Magazine, February 2011:42-47.
@ -199,7 +199,7 @@ xargs Expect: 3 1 2
1
2
parallel Expect: 3 1 via psedotty 2
When using GNU Parallel to process data for publication please cite:
When using programs that use GNU Parallel to process data for publication please cite:
O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
;login: The USENIX Magazine, February 2011:42-47.
@ -217,7 +217,7 @@ xargs Expect: 1 3 2
3
2
parallel Expect: 1 3 2 via pseudotty
When using GNU Parallel to process data for publication please cite:
When using programs that use GNU Parallel to process data for publication please cite:
O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
;login: The USENIX Magazine, February 2011:42-47.