Usage:
:: current object-name
Available In:
Cluster, Node, Partition, Network
The current command changes the current context to the context of the object specified by object-name. The target object must exist. That is, if it is a partition, you must already have used the create command to create it. If the target object is a cluster, node, or network interface, it must have been created by the CRE.
The following example changes the current context from the general Node context to the context of a specific node, node1.
[node0] Node:: current node1 [node0] N(node1)::
If the name of the target object does not conflict with an mpadmin command, you can omit the current command. This is illustrated by the following example, where node1 is the name of the target object.
[node0] Node:: node1[node0] N(hpc-node1)::
This works even when the object is in a different context.
[node0] Partition:: node1[node0] N(node1)::
The current command must be used when the name of the object is the same as an mpadmin command. For example, if you have a partition named Partition, its name conflicts with the command Partition. In this case, to make the object Partition the current context, you would need to include the current command to make it clear that the Partition term refers to the object and is not an invocation of the command.