2011-07-20 23:58:23 +00:00
|
|
|
echo '### Test if we can deal with output > 4 GB'
|
|
|
|
### Test if we can deal with output > 4 GB
|
|
|
|
echo | niceload --io 9 -H parallel -q perl -e '"\$a=\"x\"x1000000;for(0..4300){print \$a}"' | md5sum
|
2010-09-14 19:00:20 +00:00
|
|
|
46a318993dfc8e2afd71ff2bc6f605f1 -
|
2011-07-20 23:58:23 +00:00
|
|
|
echo '### Test {#}'
|
|
|
|
### Test {#}
|
|
|
|
seq 1 10 | parallel -k echo {#}
|
|
|
|
1
|
|
|
|
2
|
|
|
|
3
|
|
|
|
4
|
|
|
|
5
|
|
|
|
6
|
|
|
|
7
|
|
|
|
8
|
|
|
|
9
|
|
|
|
10
|
|
|
|
echo '### Test --seqreplace and line too long'
|
|
|
|
### Test --seqreplace and line too long
|
|
|
|
seq 1 100 | stdout parallel -k --seqreplace I echo $(perl -e 'print "I"x130000') \|wc
|
|
|
|
1 1 130001
|
|
|
|
1 1 130001
|
|
|
|
1 1 130001
|
|
|
|
1 1 130001
|
|
|
|
1 1 130001
|
|
|
|
1 1 130001
|
|
|
|
1 1 130001
|
|
|
|
1 1 130001
|
|
|
|
parallel: Command line too long (260009 >= 131071) at number 9: 10...
|
|
|
|
echo '### Test of --retries on unreachable host'
|
|
|
|
### Test of --retries on unreachable host
|
|
|
|
seq 2 | stdout parallel -k --retries 2 -v -S 4.3.2.1,: echo
|
|
|
|
ssh: connect to host 4.3.2.1 port 22: Connection timed out
|
2012-08-08 16:38:29 +00:00
|
|
|
parallel: Warning: Could not figure out number of cpus on 4.3.2.1 (). Using 1.
|
2011-07-20 23:58:23 +00:00
|
|
|
echo 1
|
|
|
|
1
|
|
|
|
echo 2
|
|
|
|
2
|