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

[Condor-users] Maya Rendering: Condor_exec weirdness with our batch



Greetings once again!

 

This is the error we are getting:

 

More than one scene file specified: /mnt/holdusers/home/lookout/g2/goodings/condor_jobs/429_sphere-2434/source_files/sphere.mb and /home/condor/local.shasta/execute/dir_7149/condor_exec.exe/tmp/home/condor/local.shasta/execute/dir_7149/condor_exec.exe

 

Here is our batch script that runs to execute our Maya jobs:

 

#!/bin/bash

shift

HOMEROOT=$0

shift

USERNAME=$0

shift

RESOURCEPATH=$0

shift

/mnt/ics-render/software/linux/maya-6.0/bin/mayaSWrender $* $HOMEROOT$HOME$RESOURCEPATH

Shift

 

The reason for this is that we have a different path to the homeroot depending upon the user that is submitting. We have to generate this path every time we submit a job.

 

Here is the job description file:

 

# sphere

Universe = vanilla

Executable = /hold/condor_job/RenderThis.$$(OpSys).bat

environment = $$(ENVIRONMENT)

log = crW.log

error = crW.err

output = crW.out

notification = Never

requirements = (OpSys == "LINUX") && (Arch == "INTEL") && (Machine == "shasta.ics.purdue.edu")

initialdir=/home/lookout/g2/goodings/condor_jobs/429_sphere-2434

should_transfer_files = ALWAYS

WhenToTransferOutput = ON_EXIT_OR_EVICT

Arguments = -rd . -s 1 -e  1 -b 1.0000 /mnt/holdusers/home/lookout/g2/goodings/condor_jobs/429_sphere-2434/source_files/sphere.mb

Queue

 

 

Thanks for any help,

 

Lee