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

Re: [HTCondor-users] Transfer_output_rename



Hi Zach

Eventually this is what I had to do in the end. To do this, I had to change my executable script to produce the output according to the jobs name. result1.root, result2.root ,...

Before this, I had only result.root in every node. Thats why I was trying to use transfer remaps.

But Now, I modified my exe script and got result1.root, result2.root ...etc in the respective nodes and am happily using

transfer_output_files=results.${Process}.root


thanks

Harinder


On Mon, Sep 29, 2014 at 12:11 PM, Zachary Miller <zmiller@xxxxxxxxxxx> wrote:
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
time).

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.


Cheers,
-zach

_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/



--
Dr. Harinder Singh Bawa

ÂÂÂÂÂÂÂÂÂÂ Â Â ÂÂÂ Â Â Â Â Â Â Â Â Â Â Â Â
[web][facebook][youtube][twitter]
California State University, Fresno Logo