Пример #1
0
 def __init__(self, config, name):
     LocalWMS.__init__(self,
                       config,
                       name,
                       submit_exec=resolve_install_path('sbatch'),
                       check_executor=CheckJobsMissingState(
                           config, SLURMCheckJobs(config)),
                       cancel_executor=CancelJobsWithProcessBlind(
                           config, 'scancel', unknown_id='not in queue !'))
Пример #2
0
 def __init__(self, config, name):
     cancelExecutor = CancelJobsWithProcessBlind(
         config,
         'qdel',
         fmt=lambda wmsIDs: lmap(self._fqid, wmsIDs),
         unknownID='Unknown Job Id')
     PBSGECommon.__init__(self,
                          config,
                          name,
                          cancelExecutor=cancelExecutor,
                          checkExecutor=CheckJobsMissingState(
                              config, PBS_CheckJobs(config, self._fqid)))
     self._nodes_finder = PBS_Discover_Nodes(config)
     self._queues_finder = PBS_Discover_Queues(config)
     self._server = config.get('server', '', onChange=None)
Пример #3
0
 def __init__(self, config, name):
     cancel_executor = CancelJobsWithProcessBlind(
         config,
         'qdel',
         fmt=lambda wms_id_list: lmap(self._fqid, wms_id_list),
         unknown_id='Unknown Job Id')
     PBSGECommon.__init__(self,
                          config,
                          name,
                          cancel_executor=cancel_executor,
                          check_executor=CheckJobsMissingState(
                              config, PBSCheckJobs(config, self._fqid)),
                          nodes_finder=PBSDiscoverNodes(config),
                          queues_finder=PBSDiscoverQueues(config))
     self._server = config.get('server', '', on_change=None)
Пример #4
0
 def __init__(self, config, name):
     cancelExecutor = CancelJobsWithProcessBlind(
         config,
         'qdel',
         fmt=lambda wmsIDs: [str.join(',', wmsIDs)],
         unknownID=['Unknown Job Id'])
     PBSGECommon.__init__(self,
                          config,
                          name,
                          cancelExecutor=cancelExecutor,
                          checkExecutor=CheckJobsMissingState(
                              config, GridEngine_CheckJobs(config)),
                          nodesFinder=GridEngine_Discover_Nodes(config),
                          queuesFinder=GridEngine_Discover_Queues(config))
     self._project = config.get('project name', '', onChange=None)
     self._configExec = utils.resolveInstallPath('qconf')
Пример #5
0
 def __init__(self, config, name):
     cancel_executor = CancelJobsWithProcessBlind(
         config,
         'qdel',
         fmt=lambda wms_id_list: [str.join(',', wms_id_list)],
         unknown_id='Unknown Job Id')
     PBSGECommon.__init__(self,
                          config,
                          name,
                          cancel_executor=cancel_executor,
                          check_executor=CheckJobsMissingState(
                              config, GridEngineCheckJobs(config)),
                          nodes_finder=GridEngineDiscoverNodes(config),
                          queues_finder=GridEngineDiscoverQueues(config))
     self._project = config.get('project name', '', on_change=None)
     self._config_exec = resolve_install_path('qconf')
Пример #6
0
	def __init__(self, config):
		CancelJobsWithProcessBlind.__init__(self, config, 'kill', ['-9'], unknownID = 'No such process')
Пример #7
0
 def __init__(self, config):
     CancelJobsWithProcessBlind.__init__(self, config, 'arckill')
Пример #8
0
 def __init__(self, config):
     CancelJobsWithProcessBlind.__init__(
         self, config, 'glite-ce-job-purge',
         ['--noint', '--logfile', '/dev/stderr'])
Пример #9
0
	def __init__(self, config):
		CancelJobsWithProcessBlind.__init__(self, config, 'bkill', unknownID = 'is not found')
Пример #10
0
	def __init__(self, config, name):
		LocalWMS.__init__(self, config, name,
			submitExec = utils.resolveInstallPath('job_submit'),
			checkExecutor = CheckJobsMissingState(config, JMS_CheckJobs(config)),
			cancelExecutor = CancelJobsWithProcessBlind(config, 'job_cancel', unknownID = 'not in queue !'))
Пример #11
0
 def __init__(self, config):
     CancelJobsWithProcessBlind.__init__(self,
                                         config,
                                         'kill', ['-9'],
                                         unknownID='No such process')
Пример #12
0
	def __init__(self, config):
		CancelJobsWithProcessBlind.__init__(self, config, 'arckill')
Пример #13
0
	def __init__(self, config):
		CancelJobsWithProcessBlind.__init__(self, config,
			'glite-ce-job-cancel', ['--noint', '--logfile', '/dev/stderr'])
Пример #14
0
 def __init__(self, config):
     CancelJobsWithProcessBlind.__init__(self,
                                         config,
                                         'bkill',
                                         unknownID='is not found')