Difference between revisions of "Bestnode"
From MosixWiki
(New page: BESTNODE(M1) MOSIX Commands BESTNODE(M1) '''NAME''' BESTNODE - Select best node to run on '''SYNOPSIS''' bestnode [-u] [-n] [-G] [-w...) |
|||
(One intermediate revision by one user not shown) | |||
Line 21: | Line 21: | ||
that a new process is about to be started. | that a new process is about to be started. | ||
− | The -G argument widens the node selection to the whole grid - otherwise, | + | The -G argument widens the node selection to the whole multi-cluster grid |
− | + | - otherwise, only nodes within the local cluster are chosen (the local | |
− | + | partition, if the cluster is partitioned). | |
+ | |||
The -m{mb} argument narrows the selection to nodes that have at least mb | The -m{mb} argument narrows the selection to nodes that have at least mb | ||
Megabytes of free memory. | Megabytes of free memory. |
Latest revision as of 16:15, 4 February 2008
BESTNODE(M1) MOSIX Commands BESTNODE(M1) NAME BESTNODE - Select best node to run on SYNOPSIS bestnode [-u] [-n] [-G] [-w] [-m{mb}] DESCRIPTION Bestnode selects the best node to run a new job. Bestnode normally prints the selected node's IP address. If the -u argu- ment is used and the node has an associated MOSIX node number, bestnode prints its MOSIX node number instead. The selection is normally for the immediate sending of a job to the selected node by means other than mosrun(1) (such as "rsh", "ssh", or MPI). MOSIX is updated to assume that a new process will soon start on the selected node: when calling bestnode for any other purpose (such as information gathering), use the -n argument, to prevent misleading MOSIX that a new process is about to be started. The -G argument widens the node selection to the whole multi-cluster grid - otherwise, only nodes within the local cluster are chosen (the local partition, if the cluster is partitioned). The -m{mb} argument narrows the selection to nodes that have at least mb Megabytes of free memory. When the -w argument is used, bestnode waits until an appropriate node is found: otherwise, if no appropriate node is found, bestnode prints "0" and exits. SEE ALSO mosrun(1), mosix(7). MOSIX May 2006 MOSIX