cea-hpc/clustershell — Issue #161: nodeset: --autostep default value
Author: thiell
Created: 2012-03-03 16:49:00+00:00
State: open
Labels: Scripts

We could provide a default autostep value when only {{{--autostep}}} option is specified. A first idea is to set this value to the total number of nodes, so that only global autostep factorization will take place, so for example:
{{{
$ nodeset --autostep -f node6 node2 node4 node8
node[2-8/2]

$ nodeset --autostep -f node6 node2 node4 node8 node11
node[2,4,6,8,11]
}}}

Another solution is to set a default autostep value in relation to the number of nodes n, for example n/3, or also to set a fixed autostep default value (eg. 5) ?