Hi
If I have 8 CPU cores and if I want to specify the specific number of CPU
cores to run the parallel command for example 5, is there any on how to do
it?
Just do
$ man parallel
and then search for "--jobs".
On Mon, Oct 24, 2016 at 12:34 PM, Samdani A wrote:
> Hi
>
> If I have 8 CPU cores and if I want to specify the specific number of CPU
> cores to run the parallel command for example 5, is there any on how to do
> it?
>
from the GNU parallel manual (https://www.gnu.org/software/parallel/man.html
):
*--jobs* *N**-j* *N**--max-procs* *N**-P* *N*
Number of jobslots on each machine. Run up to N jobs in parallel. 0 means
as many as possible. Default is 100% which will run one job per CPU core on
each machine.
If *--