Input File Transfer via HTCondor


Due to the distributed configuration of the OSG, more often than not, your jobs will need to bring along a copy (i.e. transfer a copy) of data, code, packages, software, etc. from the login node where the job is submitted to the execute node where the job will run. This requirement applies to any and all files that are needed to successfully execute and complete your job.

This guide will describe steps and important considerations for transferring your files that are <100MB
via the HTCondor submit file.

Important Considerations

As described in the Introduction to Data Management on OSG Connect any data, files, or even software that is <100MB should be staged in your /home directory on your login node. Files in your /home directory can be transferred to jobs via your HTCondor submit file.

Transfer Files From /home Using HTCondor

To transfer files from your /home directory use the transfer_input_files statement in your HTCondor submit file. For example:

transfer_input_files = my_data.csv

Multiple files can be specified using a comma-separated list, for example:

transfer_input_files = my_data.csv, my_software.tar.gz,

When using transfer_input_files to transfer files located in /home, keep in mind that the path to the file is relative to the location of the submit file. If you have files located in a different /home subdirectory, we recommend specifying the full path to those files, which is also a matter of good practice, for exmaple: transfer_input_files = /home/username/path/to/my_software.tar.gz Where username refers to your OSG Connect username.


This page was updated on Oct 28, 2020 at 17:22 from start/data/