This email from sgagrove@student.liverpool.ac.uk originates from outside Imperial. Do not click on links and attachments unless you recognise the sender. If you trust the sender, add them to your safe senders list to disable email stamping for this address.

 

Hi


Thanks that has now worked


Cheers 
Andrew


From: gridpp-dirac-users-bounces@imperial.ac.uk <gridpp-dirac-users-bounces@imperial.ac.uk> on behalf of Simon Fayer <simon.fayer05@imperial.ac.uk>
Sent: 28 December 2020 18:25:02
To: gridpp-dirac-users@imperial.ac.uk
Subject: Re: [Gridpp-Dirac-Users] SetOutputData help
 
Hi Andrew,

I think the problem is probably with the third argument: This expects just
a string rather than a list. The string should be a directory path and is
relative to your user directory, e.g.:

SetOutputData(['test.root'],['UKI-NORTHGRID-LIV-HEP-disk'],'prod/build4.4.3')

should write the output file to an LFN in the format:

/mu3e.org/user/<initial>/<username>/prod/biuld4.4.3/test.root

I think the only way to write to paths outside of the "user" area is to
call the data management tools (dirac-dms-add-file) directly from within
the job script.

Regards,
Simon


On Mon, Dec 28, 2020 at 06:15:57PM +0000, Groves, Andrew wrote:
> Hi
>
>
> Im trying to use the SetOutputData however im unsure how to use it.
>
> Im trying to use it as
>
> SetOutputData(['test.root'],['UKI-NORTHGRID-LIV-HEP-disk'],['/mu3e.org/prod/build4.4.3/test.root'])
>
>
> Where the first is the sandbox file location, the second is the disk and the third is where I want it saved in the dirac file catolog.
>
> However I seem to have it wrong?
>
>
> Thanks
>
> Andrew


--
_______________________________________________
Gridpp-Dirac-Users mailing list
Gridpp-Dirac-Users@imperial.ac.uk
https://mailman.ic.ac.uk/mailman/listinfo/gridpp-dirac-users