[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Transfer_output_rename

On Tue, Sep 16, 2014 at 04:06:50PM -0700, Dr. Harinder Singh Bawa wrote:
> Hi,
> If I use
> Jobs = 25
> getenv         = false
> executable     = SmallD3PD.sh
> output         = output/SmallD3PD.out.$(Process)
> error          = error/SmallD3PD.error.$(Process)
> log            = log/SmallD3PD.log
> arguments = $(Process) $(Jobs)
> should_transfer_files = YES
> when_to_transfer_output = ON_EXIT
> transfer_input_files = dijet.tgz,/tmp/x509up_u55261,inputFileListLarge
> transfer_output_remaps = "/tmp/results.root=results$(Process).root"
> +ProjectName = "atlas-org-fresnostate"
> queue $(Jobs)
> I get only on results.root and that is probably last one of my job.  Its
> because probably $Process is within "".
> If I remove "". it doesn't submitted.

I'm not sure exactly what you are trying to do, or why you are using the
remaps.  Could you explain a little more?  Naively, I assume you want to get
rid of the remaps and add this:

  transfer_output_files = results$(Process).root

This will bring back just the results<X>.root file for each job, and keep them
separate by preserving the file name (instead of copying over results.root each

If you are trying to do something different, please describe what you want and
I'd be happy to help write the correct submit file.