From 6cf9b8386022924e9709dbbf75164ba8e8152ab6 Mon Sep 17 00:00:00 2001 From: James Clark <james.clark@ligo.org> Date: Fri, 7 Jun 2019 08:02:41 -0700 Subject: [PATCH] Never transfer executables when using file transfers: executables will always be linked to libraries in shared or distributed filesystems anyway so shipping out the executable makes no sense. --- BayesWaveUtils/bayeswave_pipe/bayeswave_pipe_utils.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/BayesWaveUtils/bayeswave_pipe/bayeswave_pipe_utils.py b/BayesWaveUtils/bayeswave_pipe/bayeswave_pipe_utils.py index cf763ae8..917b2d80 100644 --- a/BayesWaveUtils/bayeswave_pipe/bayeswave_pipe_utils.py +++ b/BayesWaveUtils/bayeswave_pipe/bayeswave_pipe_utils.py @@ -929,6 +929,7 @@ def condor_job_config(job_type, condor_job, config_parser): if config_parser.getboolean('condor', 'transfer-files'): print("Configuring file transfers for {}".format(job_type), file=sys.stdout) condor_job.add_condor_cmd('should_transfer_files', 'YES') + condor_job.add_condor_cmd("transfer_executable", False) if job_type == 'bayeswave': condor_job.add_condor_cmd('when_to_transfer_output', 'ON_EXIT_OR_EVICT') else: @@ -950,11 +951,6 @@ def condor_job_config(job_type, condor_job, config_parser): condor_job.add_condor_cmd('stream_output', True) condor_job.add_condor_cmd('stream_error', True) - if config_parser.getboolean('condor', 'cvmfs-containers') or \ - config_parser.getboolean('engine','use-singularity'): - condor_job.add_condor_cmd("transfer_executable", False) - - # # OSG specific configuration # -- GitLab