Skip to content

Exercise 2b: Supress Output File Transportation

In the case where the transfer_output_files command is equal to an empty string, the files that the executable creates are NOT transferred back to the submission machine. Only the log, output and error file will be transferred back.

Using the same script.sh script and submit discrtion file exercise2a.sub from exercise 2a, replace 'transfer_output_files = file2.txt' with 'transfer_output_files = "" '.


    executable              = script.sh
    arguments               = $(ClusterId)$(ProcId)
    output                  = output/ex_02.$(ClusterId).$(ProcId).out
    error                   = error/ex_02.$(ClusterId).$(ProcId).err
    log                     = log/ex_02.$(ClusterId).log

    transfer_output_files   = ""
    queue

Execute condor_submit exercise2a.sub command to submit the job.

After the execution has completed, no file will have been transferred back to the submission directory.