GNU Parallel: Difference between revisions

Added a remark about the use of the --jobs option for the Gnu Parallel command.
(Created page with "== Introduction == [http://www.gnu.org/software/parallel/ GNU Parallel] is a tool for running many sequential tasks at the same time on one or more nodes. It is useful for run...")
 
(Added a remark about the use of the --jobs option for the Gnu Parallel command.)
Line 2: Line 2:
[http://www.gnu.org/software/parallel/ GNU Parallel] is a tool for running many sequential tasks at the same time on one or more nodes. It is useful for running a large number of sequential tasks, especially if they are short or variable duration, as well as when doing a parameter sweep. We will only cover the basic options here, for more advanced usage, please see the [http://www.gnu.org/software/parallel/man.html official documentation].
[http://www.gnu.org/software/parallel/ GNU Parallel] is a tool for running many sequential tasks at the same time on one or more nodes. It is useful for running a large number of sequential tasks, especially if they are short or variable duration, as well as when doing a parameter sweep. We will only cover the basic options here, for more advanced usage, please see the [http://www.gnu.org/software/parallel/man.html official documentation].


By default, <tt>parallel</tt> will run as many tasks as the number of cores on the node, therefore maximizing resource usage. When a task finishes, a new task will automatically be started by <tt>parallel</tt>.
By default, <tt>parallel</tt> will run as many tasks as the number of cores on the node, therefore maximizing resource usage. You can change this behaviour using the option <tt>--jobs</tt> followed by the number of simultaneous tasks that Gnu Parallel should run. When a task finishes, a new task will automatically be started by <tt>parallel</tt>.


== Basic Usage ==
== Basic Usage ==
Bureaucrats, cc_docs_admin, cc_staff
2,306

edits