From 52434b6eb8d5e61f5409139424dc8790406ab26c Mon Sep 17 00:00:00 2001 From: Adrian Schmitz <a.schmitz@itc.rwth-aachen.de> Date: Mon, 9 Oct 2023 15:45:20 +0200 Subject: [PATCH] HOTFIX: remove redundant and broken jobid callbacks for slurm Signed-off-by: Adrian Schmitz <a.schmitz@itc.rwth-aachen.de> --- core/modes/slurm/shared.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/modes/slurm/shared.py b/core/modes/slurm/shared.py index 1215f60..50166d3 100644 --- a/core/modes/slurm/shared.py +++ b/core/modes/slurm/shared.py @@ -53,7 +53,7 @@ class SingleSlurmJobAcrossStages(Slurm, ABC): logging.info(f'Using slurm_job_id={self.slurm_job_id}, could find {self.slurm_jobid_file}') tmp_dir_srun_out = self.executor.management_handler(helper_script=f"{self.job.scripts_path}/runHelper.sh", - wrapper_add=f'--jobid {self.slurm_job_id} /usr/bin/printenv TMP').split('\n') + wrapper_add=f'/usr/bin/printenv TMP').split('\n') logging.debug(f'srun tmp_dir output (unfitered): {tmp_dir_srun_out}') ignores = ['error', 'slurmstepd'] self.tmp_dir = [x for x in tmp_dir_srun_out if all(s not in x for s in ignores)] @@ -69,7 +69,6 @@ class SingleSlurmJobAcrossStages(Slurm, ABC): additional_env.append(f"{k}={v}") if len(additional_env) != 0: parameters += f' --export=' + ",".join(additional_env) - parameters += f' --jobid={self.slurm_job_id}' return parameters def get_simple_run_wrapper(self): -- GitLab