Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(5) | Call(3) | Derive(0) | Import(2)
src/e/a/easybuild-framework-1.12.1/easybuild/tools/pbs_job.py easybuild-framework(Download)
pbs_import_failed = None try: from PBSQuery import PBSQuery import pbs KNOWN_HOLD_TYPES = [pbs.USER_HOLD, pbs.OTHER_HOLD, pbs.SYSTEM_HOLD]
log = fancylogger.getLogger('pbs_job.get_ppn') pq = PBSQuery() node_vals = pq.getnodes().values() # only the values, not the names interesting_nodes = ('free', 'job-exclusive',)
src/e/a/easybuild-framework-HEAD/easybuild/tools/pbs_job.py easybuild-framework(Download)
pbs_import_failed = None try: from PBSQuery import PBSQuery import pbs KNOWN_HOLD_TYPES = [pbs.USER_HOLD, pbs.OTHER_HOLD, pbs.SYSTEM_HOLD]
log = fancylogger.getLogger('pbs_job.get_ppn') pq = PBSQuery() node_vals = pq.getnodes().values() # only the values, not the names interesting_nodes = ('free', 'job-exclusive',)
src/p/i/pipeline2.0-HEAD/lib/python/queue_managers/pbs.py pipeline2.0(Download)
node: The name of the node that the next job should be submitted to. """ batch = PBSQuery.PBSQuery() nodes = batch.getnodes_with_property(self.property) max_cpus_free = -1