Parallel

From Free Software Directory
This is the approved revision of this page; it is not the most recent. View the most recent revision.
Jump to: navigation, search

[edit]

GNU Parallel

https://www.gnu.org/software/parallel/
execute jobs parallel with one or more computers

Parallel is a shell tool for executing jobs in parallel using one or more computers.

A job is can be a single command or a small script that has to be run for each of the lines in the input. The typical input is a list of files, a list of hosts, a list of users, a list of URLs, or a list of tables. A job can also be a command that reads from a pipe. GNU Parallel can then split the input and pipe it into commands in parallel. If you use xargs and tee today you will find GNU Parallel very easy to use as GNU Parallel is written to have the same options as xargs. If you write loops in shell, you will find GNU Parallel may be able to replace most of the loops and make them run faster by running several jobs in parallel. GNU Parallel can even replace nested loops.

GNU Parallel makes sure output from the commands is the same output as you would get had you run the commands sequentially. This makes it possible to use output from GNU Parallel as input for other programs.

For each line of input, GNU Parallel will execute command with the line as arguments. If no command is given, the line of input is executed. Several lines will be run in parallel. GNU Parallel can often be used as a substitute for xargs or cat Pipe.pngbash.

The GNU Parallel distribution also includes an 'sql' script which aims to give a simple, unified interface for accessing databases through all the different databases' command line clients, and a 'niceload' script to slow down or suspend a program if system activity is above a given threshold.

Documentation

https://www.gnu.org/software/parallel/parallel_tutorial.html

Screencasts videos https://commons.wikimedia.org/wiki/GNU_parallel

Heckert gnu.small.png This is a GNU package:parallel

Download

https://ftp.gnu.org/gnu/parallel/parallel-20180422.tar.bz2

version 20180422 (stable)
released on 22 April 2018



User level

Intermediate

Microblog

Identica.png https://twitter.com/GnuParallel


gnuparallel@tange.dk

VCS Checkout

Categories

Related Projects





This entry (in part or in whole) was last reviewed on 1 May 2018.



Entry























"User" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.




"GNU" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.


"Debian" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.


"Gentoo" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.










Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.