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

Re: [Condor-users] Directory mapping in job description file

> Hello again...
> I have some directory paths in the arguments of my job description file
> that need to be dynamically changed depending upon the operating system
> that the render will execute on. I was looking into macro substitution,
> but can't find help on defining my own attributes.... is there a way to
> do this?

Just put +varName = value in the submit file or put
varName = value in condor_config.local and add to
the STARTD_EXPR (depending if you want vars from
machine or from job perspective)

> Is there a better way?

My suggestion is to strip the dependencies of the file and
transfer them along with it. I'm doing that in the GUI
(will be released later today or tomorrow) + it's also
done in the maya_render example on the condor site.

> Essentially, I need a path for linux and a separate path for windows.
> Ie:
> Render -s 1 -e 1 /mnt/maya/files/render.mb
> Vs
> Render -s 1 -e 1 //mydrive.net/maya/files/render.mb
> I greatly appreciate any help.


- Filip