Version 2 (modified by bas, 18 years ago) (diff) |
---|
AVAIL
The avail function is provided as conversion aid for scheduler written for early versions of PBS. The function uses pbs_rescquery and returns a string.
answer = pbs.avail(c, resource)
In
c::
Connection id
resource::
Rescource is a single 'node=specification' specification, eg: "nodes=1:infiband"
Out
answer::
There are three possible return values:
- yes
- the nodes to satisify the specification are currently available
- no
- The nodes are currently unavailable
- never
- The specification could never be satified