diff --git a/CEP/Pipeline/recipes/sip/pipeline.cfg.CEP4.tmpl b/CEP/Pipeline/recipes/sip/pipeline.cfg.CEP4.tmpl index 138835c5bb1bfb60499add4a5e8a9410659fc61b..97703d3a145c61dfc7becc1ea9b8558c2d7e6d96 100644 --- a/CEP/Pipeline/recipes/sip/pipeline.cfg.CEP4.tmpl +++ b/CEP/Pipeline/recipes/sip/pipeline.cfg.CEP4.tmpl @@ -44,7 +44,7 @@ globalfs = yes # We take the following path to start a remote container: # -# [container] --SSH--> [host] --SRUN--> [worker node] --DOCKER--> [container] +# [container] --SRUN--> [worker node] --DOCKER--> [container] # # This path is needed because running SRUN from within the container needs a lot of cluster-specific infra # (SLURM config files, Munge keys, correct Munge user ID, munged). @@ -70,4 +70,4 @@ globalfs = yes # /bin/bash -c # # Required because the pipeline framework needs some bash functionality in the commands it starts. -cmdline = ssh -n -tt -x localhost srun --exclusive --ntasks=1 --cpus-per-task={nr_cores} --jobid={slurm_job_id} --job-name={job_name} docker-run-slurm.sh --rm -u {uid} -v /data:/data --net=host {docker_env} lofar-pipeline:${LOFAR_TAG} {command} +cmdline = srun --exclusive --ntasks=1 --cpus-per-task={nr_cores} --jobid={slurm_job_id} --job-name={job_name} docker-run-slurm.sh --rm -u {uid} -v /data:/data --net=host {docker_env} lofar-pipeline:${LOFAR_TAG} {command} diff --git a/MAC/Services/src/PipelineControl.py b/MAC/Services/src/PipelineControl.py index 5679178f5d16eaabfd8a524329066e740ce07113..ce5f9e06857b3256ef0fe364a9c64c83b43b027b 100755 --- a/MAC/Services/src/PipelineControl.py +++ b/MAC/Services/src/PipelineControl.py @@ -485,8 +485,7 @@ wget -O - -q "http://ganglia.control.lofar/ganglia/api/events.php?action=add&sta # run the pipeline runcmd docker-run-slurm.sh --rm --net=host \ -e LOFARENV={lofarenv} \ - -u $UID -e USER=$USER \ - -e HOME=$HOME -v $HOME/.ssh:$HOME/.ssh:ro \ + -v $HOME/.ssh:$HOME/.ssh:ro \ -e SLURM_JOB_ID=$SLURM_JOB_ID \ -v /data:/data \ {image} \