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

Re: [Condor-users] Maya 6.0; render.exe; mayabatch.exe; job never finishes



for maya to work you need to setup the maya environment variables for the
condor user since it is always made and destroyed and is not a permanent
account.

set your executable as a bat file...

then set the maya environment
variables..scripts..icons..plusing..projectdir..i forget what they
are..its in the manual...

then on the last line is the actual render command...

if you use mapped drives instead of unc you need to mount the netwaork
share too..via the proper commadn in the bat file.

I've gotten maya 6 and 6.01 to work well with condor on mac,linux and
windows.

JW
3D Artist



> System Details:
> Condor 6.6.9
> Windows Server 2003 SP1
> I created a "RenderThis.bat" file that contains the following:
>
>     C:\Progra~1\Alias\Maya6.0\bin\mayabatch.exe -render c:\dump\Test1.mb
>
> Running this batch file from a cmd window works fine.  The images render
> just as expected.  Now I create my condor submit file "RenderThis.sub" (I
> used the printname example .sub file as a template) and it contains the
> following:
>
>     universe = vanilla
>     environment = path=c:\WINDOWS\system32
>     executable = RenderThis.bat
>     output = RenderThis.out
>     error = RenderThis.err
>     log = RenderThis.log
>     queue
>
> I submit the job to condor with this command:
>
>     condor_submit RenderThis.sub
>
> condor_status reports that vm1's "State" is "Claimed" and "Activity" is
> "Busy".  RenderThis.log reports the following:
>
>     000 (005.000.000) 04/25 12:36:44 Job submitted from host:
> <10.100.6.240:2205>
>     ...
>     001 (005.000.000) 04/25 12:36:49 Job executing on host:
> <10.100.6.240:2204>
>     ...
>     006 (005.000.000) 04/25 12:36:57 Image size of job updated: 46888
>     ...
>
> condor_q -analyze returns this:
>
>     -- Submitter: anim1 : <10.100.6.240:2205> : anim1
>      ID      OWNER            SUBMITTED     RUN_TIME ST PRI SIZE CMD
>     ---
>     005.000:  Request is being serviced
>
>     1 jobs; 0 idle, 1 running, 0 held
>
> I also noticed that there is a new cmd.exe process running under the
> username "condor-reuse-vm1".
>
> When running the batch file, the process takes about 5 seconds to
> complete.  The scene is a simple 5 frame animation of a ball moving,
> nothing else.
>
> Everything is local.  I have the Maya render.exe on the C drive.  I have
> the Maya binary on the C drive.  I have condor on the C drive.  The
> process condor-reuse-vm1 is running on the local computer.
>
> I have tried changing the priority of the job to +20.  The user Effective
> priority is 0.92.
>
> The problem is that the process never completes (I have let it run at
> least 3 days) and the images are never rendered.  Can I render Maya binary
> files using this method?  Why does the job never end?
>
> I have also tried substituting the batch file line with this:
>
>     C:\Progra~1\Alias\Maya6.0\bin\render.exe -r mr Test1.mb
>
> this produced the same results.
>
> Help!
>
> -Mike
>
>
> _______________________________________________
> Condor-users mailing list
> Condor-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users