Hi Mick, Thanks for your quick response. I have tried the following: TRANSFER_OUTPUT_FILES = A/myfile.txt, B/myfile.txt TRANSFER_OUTPUT_REMAPS = âA/myfile.txt=a_file.txt;B/myfile.txt=b_file.txtâ However, it looks to me that the myfile.txt was transferred back to the submit machine first, then the remap logic applied to it. Because of the file name collision, condor only transferred
back one myfile.txt, so TRANSFER_OUTPUT_REMAPS = âA/myfile.txt=a_file.txt;B/myfile.txt=b_file.txtâ did not work.
Due to some reasons, I do not have control over how files are created or named on the execute machine. Can condor rename the file before transferring it back? Or can condor only transfer
the directory with just selective files under it? Thanks a lot! Best, Bowen From:
HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> on behalf of "Mick T." <timony@xxxxxxxxxxxxxxxxxxx> I think you need to remove the backslashes, and replace TRANSFER_OUTPUT_FILES = A/myfile.txt/, B/myfile.txt/ with TRANSFER_OUTPUT_FILES = A/myfile.txt, B/myfile.txt Tho' that may put the files in the current directory and overwrite one of the files with the other. So you may want to use the transfer_output_remaps option, or easier still rename both files so there's name collision. "When a path to an output file or directory is specified, it specifies the path to the file on the execute side. As a destination on the submit side, the file is placed in the
job's initial working directory, and it is named using the base name of the original path. For example, path/to/output_file becomes output_file in
the job's initial working directory. The name and path of the file that is written on the submit side may be modified by using transfer_output_remaps. Note that
this remap function only works with files but not with directories." Cheers! -- Mick Timony On Wed, Aug 30, 2017 at 12:20 PM, Dan, Bowen <bowen.dan@xxxxxxxx> wrote:
|