Esempio n. 1
0
 def __init__(self, config, wmsName=None):
     LocalWMS.__init__(self,
                       config,
                       wmsName,
                       submitExec=utils.resolveInstallPath('sbatch'),
                       statusExec=utils.resolveInstallPath('sacct'),
                       cancelExec=utils.resolveInstallPath('scancel'))
Esempio n. 2
0
 def __init__(self, config, name):
     LocalWMS.__init__(self,
                       config,
                       name,
                       submitExec=utils.pathShare('gc-host.sh'),
                       statusExec=utils.resolveInstallPath('ps'),
                       cancelExec=utils.resolveInstallPath('kill'))
Esempio n. 3
0
 def __init__(self, config, name):
     LocalWMS.__init__(self,
                       config,
                       name,
                       submitExec=utils.resolveInstallPath('job_submit'),
                       statusExec=utils.resolveInstallPath('job_queue'),
                       cancelExec=utils.resolveInstallPath('job_cancel'))
Esempio n. 4
0
 def __init__(self, config, name):
     LocalWMS.__init__(self,
                       config,
                       name,
                       submit_exec=get_path_share('gc-host.sh'),
                       check_executor=CheckJobsMissingState(
                           config, HostCheckJobs(config)),
                       cancel_executor=HostCancelJobs(config))
Esempio n. 5
0
 def __init__(self, config, name):
     LocalWMS.__init__(self,
                       config,
                       name,
                       submitExec=utils.resolveInstallPath('bsub'),
                       cancelExecutor=LSF_CancelJobs(config),
                       checkExecutor=CheckJobsMissingState(
                           config, LSF_CheckJobs(config)))
Esempio n. 6
0
 def __init__(self, config, name):
     LocalWMS.__init__(self,
                       config,
                       name,
                       submitExec=utils.pathShare('gc-host.sh'),
                       checkExecutor=CheckJobsMissingState(
                           config, Host_CheckJobs(config)),
                       cancelExecutor=Host_CancelJobs(config))
Esempio n. 7
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 !'))
Esempio n. 8
0
	def __init__(self, config, name, checkExecutor, cancelExecutor, nodesFinder, queuesFinder):
		LocalWMS.__init__(self, config, name,
			submitExec = utils.resolveInstallPath('qsub'),
			checkExecutor = checkExecutor, cancelExecutor = cancelExecutor,
			nodesFinder = nodesFinder, queuesFinder = queuesFinder)
		self._shell = config.get('shell', '', onChange = None)
		self._account = config.get('account', '', onChange = None)
		self._delay = config.getBool('delay output', False, onChange = None)
		self._softwareReqs = config.getLookup('software requirement map', {}, single = False, onChange = None)
Esempio n. 9
0
	def __init__(self, config, name):
		LocalWMS.__init__(self, config, name,
			submitExec = utils.resolveInstallPath('qsub'),
			statusExec = utils.resolveInstallPath('qstat'),
			cancelExec = utils.resolveInstallPath('qdel'))
		self._shell = config.get('shell', '', onChange = None)
		self._account = config.get('account', '', onChange = None)
		self._delay = config.getBool('delay output', False, onChange = None)
		self._softwareMap = config.getDict('software requirement map', {}, onChange = None)
Esempio n. 10
0
	def __init__(self, config, name, check_executor, cancel_executor, nodes_finder, queues_finder):
		LocalWMS.__init__(self, config, name,
			submit_exec=resolve_install_path('qsub'),
			check_executor=check_executor, cancel_executor=cancel_executor,
			nodes_finder=nodes_finder, queues_finder=queues_finder)
		self._shell = config.get('shell', '', on_change=None)
		self._account = config.get('account', '', on_change=None)
		self._delay = config.get_bool('delay output', False, on_change=None)
		self._software_req_lookup = config.get_lookup('software requirement map', {},
			single=False, on_change=None)
Esempio n. 11
0
 def __init__(self, config, name):
     LocalWMS.__init__(self,
                       config,
                       name,
                       submitExec=utils.resolveInstallPath('qsub'),
                       statusExec=utils.resolveInstallPath('qstat'),
                       cancelExec=utils.resolveInstallPath('qdel'))
     self._shell = config.get('shell', '', onChange=None)
     self._account = config.get('account', '', onChange=None)
     self._delay = config.getBool('delay output', False, onChange=None)
     self._softwareReqs = config.getLookup('software requirement map', {},
                                           single=False,
                                           onChange=None)
Esempio n. 12
0
 def __init__(self, config, name, check_executor, cancel_executor,
              nodes_finder, queues_finder):
     LocalWMS.__init__(self,
                       config,
                       name,
                       submit_exec=resolve_install_path('qsub'),
                       check_executor=check_executor,
                       cancel_executor=cancel_executor,
                       nodes_finder=nodes_finder,
                       queues_finder=queues_finder)
     self._shell = config.get('shell', '', on_change=None)
     self._account = config.get('account', '', on_change=None)
     self._delay = config.get_bool('delay output', False, on_change=None)
     self._software_req_lookup = config.get_lookup(
         'software requirement map', {}, single=False, on_change=None)
Esempio n. 13
0
	def __init__(self, config, name):
		LocalWMS.__init__(self, config, name,
			submitExec = utils.pathShare('gc-host.sh'),
			statusExec = utils.resolveInstallPath('ps'),
			cancelExec = utils.resolveInstallPath('kill'))
Esempio n. 14
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 !'))
Esempio n. 15
0
	def __init__(self, config, name):
		LocalWMS.__init__(self, config, name,
			submitExec = utils.resolveInstallPath('bsub'),
			statusExec = utils.resolveInstallPath('bjobs'),
			cancelExec = utils.resolveInstallPath('bkill'))
Esempio n. 16
0
	def __init__(self, config, name):
		LocalWMS.__init__(self, config, name,
			submitExec = utils.pathShare('gc-host.sh'),
			checkExecutor = CheckJobsMissingState(config, Host_CheckJobs(config)),
			cancelExecutor = Host_CancelJobs(config))
Esempio n. 17
0
	def __init__(self, config, name):
		LocalWMS.__init__(self, config, name,
			submitExec = utils.resolveInstallPath('bsub'),
			cancelExecutor = LSF_CancelJobs(config),
			checkExecutor = CheckJobsMissingState(config, LSF_CheckJobs(config)))
Esempio n. 18
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 !'))
Esempio n. 19
0
	def __init__(self, config, name):
		LocalWMS.__init__(self, config, name,
			submitExec = utils.resolveInstallPath('job_submit'),
			statusExec = utils.resolveInstallPath('job_queue'),
			cancelExec = utils.resolveInstallPath('job_cancel'))
Esempio n. 20
0
	def __init__(self, config, name):
		LocalWMS.__init__(self, config, name,
			submit_exec=resolve_install_path('bsub'),
			cancel_executor=LSFCancelJobs(config),
			check_executor=CheckJobsMissingState(config, LSFCheckJobs(config)))
Esempio n. 21
0
	def __init__(self, config, name):
		LocalWMS.__init__(self, config, name,
			submit_exec=get_path_share('gc-host.sh'),
			check_executor=CheckJobsMissingState(config, HostCheckJobs(config)),
			cancel_executor=HostCancelJobs(config))