Commit graph

1658 commits

Author SHA1 Message Date
Ole Tange bbb1662979 Man page updated 2010-05-31 01:35:52 +02:00
Ole Tange fd44e4c793 --use-cpus-instead-of-cores implemented with unittests.
More unittests for remote usage (--trc, myssh, and newline files)
2010-05-31 00:30:01 +02:00
Ole Tange ca4e58fbaf Added warning if --trc/--transfer/--return without -S.
Added warning if --transfer and file unreadable.
Unittest of transfering of filename with \n passes.
2010-05-28 00:34:00 +02:00
Ole Tange 55fa0189fb Bug and stress fixes for --sshlogin. Better unittests. 2010-05-27 08:09:28 +02:00
Ole Tange 26868cdc4f src/parallel: --trc works for minimal examples. 2010-05-24 02:48:40 +02:00
Ole Tange fc7fba878b src/parallel: Number of remote CPUs now detected.
Potential bug: If max_command_length is different on the machines.
2010-05-17 08:41:28 +02:00
Ole Tange d26f62a363 src/parallel: sshlogin now passes unittest.
Number of jobs to run on remote hosts is calculated wrongly.
2010-05-16 15:46:32 +02:00
Ole Tange c027f36ccf src/parallel: Bugs conserning filehandles for sshlogin - passes unittest 2010-05-16 14:31:19 +02:00
Ole Tange e28d0baf98 src/parallel: Now passes unittest. 2010-05-16 13:26:17 +02:00
Ole Tange 81afee89ee src/parallel: Minimal sshlogin working - does not pass unittest! 2010-05-16 12:57:49 +02:00
Ole Tange 34ed3a0ae6 src/parallel: refactor: xargs_computations 2010-05-15 23:41:56 +02:00
Ole Tange 3ab7103c70 src/parallel:parse_options refactoring 2010-05-15 23:17:39 +02:00
Ole Tange 4d4cd03a0d tests-to-run/test15.sh: Race condition would give false positive. Fixed. 2010-05-15 15:49:38 +02:00
Ole Tange 65b073c7c4 src/parallel: Better examples 2010-05-13 15:41:52 +02:00
Ole Tange d7be89d786 parallel.html: Added build target 2010-04-28 13:37:34 +02:00
Ole Tange 2b48b700c9 More thorough documentation of releasing a new version 2010-04-27 00:52:13 +02:00
Ole Tange 00d9382abd First GNU release done 2010-04-26 13:24:56 +02:00
Ole Tange ed2dfb1043 Name change: Parallel is now GNU Parallel.
Basic structure for sshlogin and sshloginfile.
2010-04-22 01:23:00 +02:00
Ole Tange 495d8bc0bd Wrote missing man for xargs compatability.
Fixed bug in --arg-file.
Implemented --show-limits.
2010-04-21 21:28:00 +02:00
Ole Tange 3e50ba19cf Automake cleanup (as per recommendations from automake@gnu.org) 2010-04-20 09:21:23 +02:00
Ole Tange ddcd70d47b Documentation license update 2010-04-20 08:27:53 +02:00
Ole Tange 84cc81a5d8 Renamed back to parallel. 2010-04-19 09:20:50 +02:00
Ole Tange 1a0103da04 Minor cleanup 2010-04-19 09:07:12 +02:00
Ole Tange 3fa2a4a8d4 Implemented automake
Prepared for name change to 'par'
2010-04-18 16:18:31 +02:00
Ole Tange e90e412282 Makefile: Added clean target
test16: Added unittest of {.}
2010-04-13 23:44:02 +02:00
Ole Tange a8c29c8f33 --extensionreplace implemented
A few bugs around {} fixed
2010-04-13 22:59:39 +02:00
Ole Tange 8873273a92 parallel: Implemented --number-of-cpus and --number-of-cores
Prepared man-page for parallel remote execution
2010-04-13 16:05:21 +02:00
Ole Tange 6db05dc16e Man pages update.
Small unittest change
2010-03-06 10:11:11 +01:00
Ole Tange 0214645ed9 parallel: Bug fix: If replace string contains regexp special char it should be escaped.
Most xargs options implemented with unittest - though still undocumented
2010-02-04 00:54:06 +01:00
Ole Tange f5cca23204 parallel: faster is_acceptable_command_line_length
most xargs options implemented but untested and undocumented
2010-02-03 18:28:04 +01:00
Ole Tange 2280fd8215 parallel: Made options compatible with xargs: -x -> -m, -s -> --silent 2010-02-03 16:32:36 +01:00
Ole Tange aaa69ffa1b parallel: Converted to Getopt::Long. Implemented -TERM for shutdown. 2010-02-03 15:23:20 +01:00
Ole Tange 495293ccc4 parallel: kill -USR1 now lists running jobs on STDERR 2010-01-29 09:50:39 +01:00
Ole Tange fcfc9f6d70 parallel: Implemented replacement string -I similar to xargs -I 2009-11-10 15:14:15 +01:00
Ole Tange 5059b5453a SIGUSR1 tells parallel to wait for running jobs to finish, but not start new jobs.
Lazy evaluation of max_length_of_command_line and no_of_cpus
2009-10-26 12:22:21 +01:00
Ole Tange 2d930320ad Added -k: Keep sequence of output same as the order of input.
If jobs 1 2 3 4 end in the sequence 3 1 4 2 the output will still be 1 2 3 4.
2009-09-04 07:23:57 +02:00
Ole Tange 84118cb14b Makefile updated with new dir
Documentation changes
2009-08-28 10:39:54 +02:00
Ole Tange 9d593557ce Fixed:
echo a | parallel -qX echo  "'"{}"' "
Trailing \ in regex m/\'{}\'\/ at /home/tange/bin/parallel line 479, <STDIN> line 1.

echo a | parallel -qX echo  "'{}'"
<<infinite loop>>
2009-08-26 14:33:14 +02:00
Ole Tange ae9ed6753c Bug fix: output bigger than 4 GB causes out of memory 2009-06-07 23:29:42 +02:00
Ole Tange 04ac9f3c02 Fixed problem with empty line as input 2009-04-27 14:05:56 +02:00
Ole Tange b60b16779e Bug fix:
-j 1 ran 2 jobs. Should of course only run 1 job
2009-04-04 11:33:42 +02:00
Ole Tange d78f8539f9 Implemented -X.
Fixed bug with -x:
  If the command line had more than one {} it could result in a too
  long line
2009-03-16 08:58:39 +01:00
Ole Tange b166d16217 Cleanup of warnings 2009-03-12 16:35:05 +01:00
Ole Tange f38da581b7 Better unittest for -x 2009-03-12 03:07:08 +01:00
Ole Tange cc478161e3 Unittest for -x works 2009-02-18 07:28:00 +01:00
Ole Tange 409f6acd77 parallel -x supported 2009-02-18 06:45:59 +01:00
Ole Tange aa43823d12 When computing needed number of processes take '-x' into account and
not only look at number of args
2009-02-18 06:13:30 +01:00
Ole Tange de39f81033 Process limit detected. Passes unittest 2009-02-18 05:35:09 +01:00
Ole Tange 8202ef3a11 Prepared for limiting to max proc (not only files)
This still does not work if -j 0 and #files_available > 2*#procs_available
So it fails one unittest
2009-02-18 02:57:38 +01:00
Ole Tange d5e29c73a2 Preparations for option -x 2009-02-17 04:58:13 +01:00