next up previous contents
Next: Specifying the RAM disk 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. 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 2005-06-19