cc_staff
318
edits
No edit summary |
No edit summary |
||
Line 47: | Line 47: | ||
Note that there is no command-argument given to parallel. This usage mode can be particularly useful if the sub-jobs contain symbols that are special to gnu parallel, or the sub-command are to contain a few commands (e.g. <code>cd dir1 && ./executable</code>). | Note that there is no command-argument given to parallel. This usage mode can be particularly useful if the sub-jobs contain symbols that are special to gnu parallel, or the sub-command are to contain a few commands (e.g. <code>cd dir1 && ./executable</code>). | ||
Here is an example how to run a job | Here is an example how to run a SLURM job using GNU parallel. The list of commands in <code>my_commands.txt</code> will be run sequentially using 4 CPUs. As soon as one command completes, a new one will be started to maintain the total of 4 commands running at the same time, until the list is exhausted. | ||
<tabs> | <tabs> |