[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



John,
 
OK, I have muddled through this and I am finally at a point where I am getting condor to render my Maya 6 scene file.  I have just one last problem (I hope).  Only the jobs that are submitted to my master computer return output.  The jobs that are sent to the slave computers return nothing.  The "log" log file does not indicate that there is anything wrong.  However, by continually opening and closing the "error" log file, I get the following messages alternatingly:
 
"Cannot create temp file "\.tmp""
 
and
 
"Starting "C:\Progra~1\Alias\Maya6.0\bin\mayabatch.exe""
 
I believe that as the jobs execute on the slave machines, the first message is returned and as the jobs execute on the master machine, the second message is returned.  When the first message is returned, no rendered image is output.  When the second message is returned, the appropriate rendred image is produced.  Therefore, when its all said and done, I only have about half of my rendered images and those images were all rendered from the master.
 
I'm not sure what the problem is.  I'm guessing something to do with the environment variables because other than that, the slave machines are identical to the master.  Any ideas on how to diagnose this problem or how to alleviate it would be greatly appreciated.  I'm attaching my submit file and batch file for your review.  Let me know if there is any other info that you would like me to send.
 
Thank you for your time.
 
-Mike
 
 

john@xxxxxxxxxx wrote:
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
> priori! ty 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

_______________________________________________
Condor-users mailing list
Condor-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/condor-users
## Location of Maya renderer
Executable = \\Anim1\RenderFarm\SampleJob\RenderThis.bat

## Environment variables needed to make renderer work
environment = USERPROFILE=\\Anim1\RenderFarm\UserProfile|HOME=\\Anim1\RenderFarm\Home|MAYA_LOCATION=C:\Progra~1\Alias\Maya6.0\bin|MAYA_ALT_EN=C:\FLEXlm\aw_STORM.dat|LM_LICENSE_FILE=C:\FLEXlm\aw_STORM.dat|TEMP=\\Anim1\RenderFarm\Temp|TMPDIR=\\Anim1\RenderFarm\Tmpdir|

## File name of output from renderer (STDOUT) or omit if no output is desired 
Output = cr.out.txt

## File name of condor log file or omit if no log is desired 
log = cr.log.txt

## File name of error output from renderer (STDERR) or omit if no error output is desired 
Error = cr.err.txt

## Windows NT jobs (currently) always run in vanilla universe
universe = vanilla

## Require windows NT 40 or 50 in order to run
requirements = (OpSys == "WINNT52")

## Only mail us on error
notification = Never

## Use variables in current environoment when rendering
getenv = false

transfer_input_files = \\Anim1\RenderFarm\SampleJob\Test1.mb

Arguments = -rd . -im Frame -s 1.0000 -e 1.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 2.0000 -e 2.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 3.0000 -e 3.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 4.0000 -e 4.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 5.0000 -e 5.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 6.0000 -e 6.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 7.0000 -e 7.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 8.0000 -e 8.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 9.0000 -e 9.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 10.0000 -e 10.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 11.0000 -e 11.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 12.0000 -e 12.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 13.0000 -e 13.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 14.0000 -e 14.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 15.0000 -e 15.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 16.0000 -e 16.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 17.0000 -e 17.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 18.0000 -e 18.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 19.0000 -e 19.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 20.0000 -e 20.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 21.0000 -e 21.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 22.0000 -e 22.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 23.0000 -e 23.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 24.0000 -e 24.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 25.0000 -e 25.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 26.0000 -e 26.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 27.0000 -e 27.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 28.0000 -e 28.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 29.0000 -e 29.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 30.0000 -e 30.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 31.0000 -e 31.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 32.0000 -e 32.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 33.0000 -e 33.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 34.0000 -e 34.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 35.0000 -e 35.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 36.0000 -e 36.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 37.0000 -e 37.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 38.0000 -e 38.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 39.0000 -e 39.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 40.0000 -e 40.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 41.0000 -e 41.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 42.0000 -e 42.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 43.0000 -e 43.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 44.0000 -e 44.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue


Arguments = -rd . -im Frame -s 45.0000 -e 45.0000 -b 1.0000 \\Anim1\RenderFarm\SampleJob\Test1.mb
Queue
set RenderDirectory=%2
Shift
shift
set ImageName=%2
shift
shift
set StartFrame=%2
shift
shift
set EndFrame=%2
shift
shift
set ByFrame=%2
shift
shift
set Filename=%1

Echo C:\Progra~1\Alias\Maya6.0\bin\render.exe -r sw -proj \\Anim1\RenderFarm\Project -rd %RenderDirectory% -of tif -fnc 3 -pad 4 -s %StartFrame% -e %EndFrame% -b %ByFrame% -n 1 %Filename%

Echo set ouput = 
set

C:\Progra~1\Alias\Maya6.0\bin\render.exe -r sw -proj \\Anim1\RenderFarm\Project -rd %RenderDirectory% -of tif -fnc 3 -pad 4 -s %StartFrame% -e %EndFrame% -b %ByFrame% -n 1 %Filename%

Rem I was using this line to paste into the cmd window manually.  This allows me to configure the flags manually.
REM C:\Progra~1\Alias\Maya6.0\bin\render.exe -r sw -proj \\Anim1\RenderFarm\Project -rd . -of tif -fnc 3 -pad 4 -s 1.0 -e 45.0 -b 1 -n 1 \\Anim1\RenderFarm\SampleJob\Test1.mb