wiki:TorqueUsage/Functions/Avail

Version 1 (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 avail() routine uses pbs_rescquery() and returns a character string answer. connect is the

connection returned by pbs_connect(). resc is a single node=specification specification as dis- cussed above. If the nodes to satisify the specification are currently available, the return value is the character string yes . If the nodes are currently unavailable, the return is the character string no . If the specification could never be satified, the return is the string never . An error in the specification returns the character string ? .