Using and Administering
This subroutine, available to any user, returns
information about all of nodes known by the negotiator daemon.
LoadLeveler API library libllapi.a
#include "llapi.h"
int ll_get_nodes(LL_get_nodes_info *ptr);
- ptr
- Specifies the pointer to the LL_get_nodes_info structure that
was allocated by the caller. The LL_get_nodes_info members
are:
- int version_num
- Represents the version number of the LL_start_job_info
structure.
- int numNodes
- Represents the number of entries in the NodeList array.
- LL_node **NodeList
- Represents the pointer to an array of LL_node
structures. The LL_node structure is defined in
llapi.h.
The LL_get_node_info structure contains an
array of LL_job structures indicating each node in the LoadLeveler
system.
This subroutines returns a value of zero when
successful. Otherwise, it returns an integer value defined in the
llapi.h file.
- -1
- There is an error in the input parameter.
- -2
- The API cannot connect to the central manager.
- -3
- The API cannot allocate memory.
- -4
- A configuration error occurred.
Makefiles and examples which use this subroutine are
located in the samples/llsch subdirectory of the release
directory.
Subroutines: ll_free_jobs,
ll_free_nodes, ll_get_jobs.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]