On 04/13/12 10:29, wattana wrote:
> Hi Greg!!
> Thanks for the answer!
>
> Yes, it seems that the location of the log file is the key of the
> problem...
>
> But I do not understand why I never had this problem before... I've
> rendered a lot of projects and never seen this problem...
The issue wouldn't come up unless you rendered
the same scene and same frame range with two active jobs
at the same time.
Usually people don't ever want to have two jobs running
the same scene/same frame range, as they'll overwrite
each others images (as well as logs), causing corruptions.
The only time I could see doing this for a desirable
purpose is if the two jobs were rendering different layers.
> I found a way to workaround it coding (a little bit) the maya_submit.pl
> file. Here's the change I've made:
> [..]
> $in{LogDirectory} = "$in{ScenePath}.$in{JobTitle}.log";
> [..]
>
> I've added "$in{JobTitle}" in the logdir creation. I've tested and worked
> fine.. Now is the responsability for whoever launches a job to keep
> different job names, but I always put in the scene name and the layer.
Yes, that should be fine.
But as you say, one would have to customize the job title,
because by default the job title will be based on the scene
filename, where you'll have the same issue again.
But one question: Are you in fact rendering
the same scene/same frame range at the same time?
Normally this is a bad thing, unless there's something
to keep their output separate (eg. rendering different layers).
If two jobs are actively rendering the same scene/same frames,
there's the chance they'll corrupt each other, or give a mix
of old and new renders, as well as wasting cpu.
If you resubmit the same scene/frame range, be sure
to dump any previous renders of the same scene that might
still be running, otherwise the two jobs will fight each other
for both images and logs. (I guess with your fix the logs won't
overwrite, but the data still will)
--
Greg Ercolano, erco@(email surpressed)
Seriss Corporation
Rush Render Queue, http://seriss.com/rush/
Tel: (Tel# suppressed)ext.23
Fax: (Tel# suppressed)
Cel: (Tel# suppressed)
|