Copy post job script to slave machines.

Hi,

I have written a post job script that I would like to accompany the submitted job and be copied to the slave machine that will eventually execute it. I would perfer not to save this to a network location since the script is created by the job and is very job specific. Is this possible?

Thanks

Yes, this is possible. You can just include your script as one of the auxiliary files being passed to deadlinecommand. Just add it as the last file in your command line.

Note that when your submitter is specifying the post job script in the job info properties, you should just specify the file name, and not the full path. When Deadline goes to run the script, if it’s not a full path, it will assume it’s in the local job folder on the slave (which will be the case because it’s being included as an auxiliary file).

Cheers,

  • Ryan