Mailing List Archives
Public Access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[HTCondor-users] Renaming input files on transfer
- Date: Tue, 27 May 2014 18:05:01 +0100
- From: Brian Candler <b.candler@xxxxxxxxx>
- Subject: [HTCondor-users] Renaming input files on transfer
Question: is there a way to rename input files when transferring them?
At the moment, all files listed in transfer_input_files get the basename
of the original file in the job's working directory. See
http://research.cs.wisc.edu/htcondor/manual/current/condor_submit.html
I found transfer_output_remaps but couldn't find anything equivalent for
input files (file_remaps is only for standard universe)
This leads to a couple of issues:
(1) Potential name clashes. e.g.
transfer_input_files = /foo/file1,/bar/file1
Or consider if a job writes "file1" as a temporary file, but this
happens to be the same as the name of an input file.
(2) Scripts need to parse the basename of files. e.g. when you write a
submit file you may have to do
executable = myscript
transfer_input_files = $1,$2
arguments = "'$(basename "$1")' '$(basename "$2")'
Any option I've overlooked?
Regards,
Brian.