SBL_Hosts

SBL_Hosts returns a list of nodes in a SHRIMP multicomputer.

Synopsis:

error = SBL_Hosts(int *nhosts, NodeId **hostIds)

Parameters:

OUT int *nhosts: returns number of hosts.

OUT NodeId **hostIds: returns nhosts host ids.

Description:

SBL_Hosts returns nodes of multicomputer machine.

Once a program is started, nodes should not be added or deleted.

The hostIds array should not be freed or written by the user program.

Return Values:

SBL_Hosts returns 0 on success or negative error code on failure.
Copyright (c) 1995, Princeton University