next up previous contents
Next: Defining node properties Up: Configuration Previous: NODECLASS syntax   Contents


Creating node sub-classes

Any time a `.' occurs in the name of a class, a subclass is implicitly created (see section 4.4). If no NODECLASS* directive is present for the parent class, the subclass can still operate. For a cluster of 64 nodes, named cn1 through cn64, if half use gigabit ethernet (gige) and the other half use myrinet, classes for each type of interconnect could be subclassed from a common `compute' class as follows:

NODECLASS_REGEXP cn$\backslash$d+ compute
NODECLASS_RANGE cn[1-32] compute.gige
NODECLASS_RANGE cn[33-64] compute.myri



root 2017-02-23