Closed
Description
The new multi-slot worker will, by default, use all cores available on the machine. This is likely to cause overload problems when applied by the unwitting user, or when the worker is deployed on a batch node where it has not been allocated all of the cores.
To avoid these cases, modify the new multi-slot work_queue_worker to assume it has one core by default, unless overridden by --cores N or --cores all (which uses all cores on the machine).
Then, modify sge_submit_workers, so that the user can select the number of cores per batch job, which should in turn be passed to qsub and the --cores option to work_queue_worker. This will make it easy to robustly deploy M workers with N cores each.