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

Load custom shell rc file in internal slurm jobs

Otherwise gitlab-runner may not be available to upload artifacts.
parent 78f8c2fb
No related branches found
No related tags found
No related merge requests found
......@@ -163,6 +163,7 @@ class Slurm_Executor(Executor, ABC):
allocator=self.get_srun_cmd(),
params=f'--jobid={self.simple_job_id} {self.get_default_params()} {params}',
wrapper_add=wrapper_add,
pre_exec_scripts=[self.job.shell_config],
target_script=script, install_env=install_env,
text=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT).stdout
logging.debug(management_out)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment