diff --git a/refactored/da/platform/hc3.py b/refactored/da/platform/hc3.py index 7f320b08649fd011c886f92dcd7b0d87ce896cfd..057c54dbe382957234facf72a0fac0cc63e94607 100644 --- a/refactored/da/platform/hc3.py +++ b/refactored/da/platform/hc3.py @@ -205,7 +205,9 @@ class HC3PlatForm(PlatForm): if not block: # this is a servant job. # wait > 30, so the cluster does not think that we are a rabid job chain on a rampage. - time.sleep(32) # see what happens, if you watch people too closely? :) + pass + # correction: Always wait, since the cluster calls us rabid. + time.sleep(32) # see what happens, if you watch people too closely? :) out = subprocess.check_output(cmd) jobidx = out.index("Job ") jobid = int(out[jobidx+4:out.index(" ", jobidx+5)]) @@ -221,7 +223,7 @@ class HC3PlatForm(PlatForm): return 0 - def SubmitJob(self,jobfile,joblog=None,block=False,shell=True): + def SubmitJob(self,jobfile,joblog=None,block=False,shell=False): """ :param jobfile: a string with the filename of a jobfile to run :param joblog: a string with the filename of a logfile to write run output to