PBS_RESCRESERVE
Issue a request to the batch server to reserve specified resources.
result, resource_id = pbs.pbs_rescreserve(c, resources, size)
In
c::
Connection id
resources::
Resources is a list of one or more strings specifying the resources to be queried. At the present time the only resources which may be specified is "nodes". It may be specified as:
- 'nodes'
- 'nodes='
- 'nodes=specification'
size::
Is the is the number of strings in resources, eg: len(resources)
Out
result::
If non-zero an error has occured.
resource_id:
If requesty is successful, a resource handle will be returned in resource_id.
Example
c = pbs.pbs_connect(pbs.pbs_default()) resources = [] resources.appened('nodes=1') result, resource_id = pbs.pbs_rescreserve(c, resources, len(resources))
Last modified 17 years ago
Last modified on 09/19/06 10:04:27