Skip to content
Snippets Groups Projects
Commit 0e3f279f authored by James Alexander Clark PhD's avatar James Alexander Clark PhD
Browse files

Merge branch 'no-exe-transfer' into 'master'

Never transfer executables when using file transfers: executables will always...

See merge request !119
parents 95e2ff69 6cf9b838
No related branches found
No related tags found
1 merge request!119Never transfer executables when using file transfers: executables will always...
Pipeline #65890 passed
......@@ -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
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment