Dynamic number of tasks per nodes
Some users may want to have say one task per gpu on a node, but the number of gpus may change from node to node. For this reason we should turn the static number of tasks per nodes into a command that allows to set the number of tasks depending on the node capacity.