Skip to content
Snippets Groups Projects
Commit ce5053c6 authored by Felix Tomski's avatar Felix Tomski
Browse files

Do not buffer output of main job for srun modes

parent a39e2342
Branches
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ variables:
.local-template:
variables:
RUNNER_TAG: "custom2"
RUNNER_TAG: "ja664344"
.run-template:
stage: run
......
......@@ -192,14 +192,12 @@ class Slurm_Executor(Executor, ABC):
return scancel_out
def run_direct(self, params="", wrapper_add="", script=""):
out = self.execute(helper_script=f"{self.job.scripts_path}/xPipeHelper.sh",
self.execute(helper_script=f"{self.job.scripts_path}/xPipeHelper.sh",
allocator=self.get_srun_cmd(),
params=f'{self.get_default_params()} {params}',
target_script=script,
wrapper_add=wrapper_add, main_script=True,
text=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT).stdout
logging.debug(out)
return out
wrapper_add=wrapper_add, main_script=True)
return ''
def run_batched(self, params="", wrapper_add="", script=""):
sbatch_out = self.execute(helper_script=f"{self.job.scripts_path}/xPipeHelper.sh",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment