from pbs_ifl import * except: pass # Set global hook_config_filename parameter. hook_config_filename = None try: import os if "PBS_HOOK_CONFIG_FILE" in os.environ: hook_config_filename = os.environ["PBS_HOOK_CONFIG_FILE"] except: pass # Set global pbs_conf parameter. pbs_conf = _pbs_v1.get_pbs_conf() # # get_local_nodename: returns the name of the current host as it would appear # as a vnode name. This is usually the short form of the # hostname. def get_local_nodename(): return (_pbs_v1.get_local_host_name()) # # pbs_statobj: general-purpose function that connects to server named # 'connect_server' or if None, use "localhost", and depending # on 'type', then performs pbs_statjob(), ps_statque(), # pbs_statresv(), pbs_statvnode(), or pbs_statserver(), and
from pbs_ifl import * except: pass # Set global hook_config_filename parameter. hook_config_filename = None try: import os if "PBS_HOOK_CONFIG_FILE" in os.environ: hook_config_filename = os.environ["PBS_HOOK_CONFIG_FILE"] except: pass # Set global pbs_conf parameter. pbs_conf = _pbs_v1.get_pbs_conf() # # get_local_nodename: returns the name of the current host as it would appear # as a vnode name. This is usually the short form of the # hostname. def get_local_nodename(): return(_pbs_v1.get_local_host_name()) # # pbs_statobj: general-purpose function that connects to server named # 'connect_server' or if None, use "localhost", and depending # on 'type', then performs pbs_statjob(), ps_statque(), # pbs_statresv(), pbs_statvnode(), or pbs_statserver(), and # returning results in a new object of type _job, _queue,