What are the default Command Line Options being used while Submitting Job to Deadline?
Do you plan to show these (based on options chosen in the UI on previous tab) as a non-editable field, so the user can see which arguments and command will be used? I personally think it would be tremendously helpful.
ALso, is there currently an area where a set of additional -args might be placed so they are applied by default to every Maya submit?
Repeating that process per shot is a bit of a pain, especially for the artists (non-technical users).
These are printed in the slave log during rendering, and you can see them in the job logs by right-clicking on the job and selecting Job Reports → View Log Reports. The arguments are built up based on the settings submitted with the job.
Likely not, since they are already shown in the render log during rendering. As mentioned above, the arguments are built up based on submission settings, among other things, and displaying them accurately could be a problem. Also, they would be quite long, and wouldn’t fit well into a text field.
You have two options. You could modify the maya submission script (\your\repository\submission\maya\SubmitMayaToDeadline.mel) to set the additional command line arguments on submission, or you could modify the maya plugin (\your\repository\plugins\MayaCmd\MayaCmd.py) to append the additional command arguments to the render arguments.
Hope this helps!
To tag on to that. I am looking to add the -mm 1 to some of my maya mental ray jobs on a per job basis. The FAQ says there is a “Additional Arguments” field in the “maya” tab of the job properties but it doesn’t seem to exist. Was the feature taken out? or even more frightful, have i gone blind?
running version 3.033353
cheers,
Bruce
Hey Bruce,
This option wasn’t intentionally taken out, so that was our goof. The options are actually missing because of some minor changes we made to the job properties code. Open the file \your\repository\plugins\MayaCmd\MayaCmd.options, and find this text:
[code][CommandLineOptions]
Type=string
Label=Additional Arguments
Category=Command Line
Description=Additional command line arguments that are sent to Maya
Index=0
Required=false
DisableIfBlank=false
DefaultValue=
[UseOnlyCommandLineOptions]
Type=boolean
Label=Use Only Additional Arguments
Category=Command Line
Index=1
Description=Uses only the Additional Arguments when checked (appends the Command Line Options to the other options when unchecked)
Required=false
DisableIfBlank=false[/code]
Switch it with this text:
[code][ProjectPath]
Type=folder
Label=Project Path
Category=Render Options
Index=5
Description=The path to the Maya project folder
Required=false
DisableIfBlank=true
[CommandLineOptions]
Type=string
Label=Additional Arguments
Category=Command Line
Description=Additional command line arguments that are sent to Maya
Index=0
Required=true
DisableIfBlank=false
DefaultValue=[/code]
Now save the file, and the option should be there the next time you view the job properties. Note that this option isn’t available if you are using the MayaBatch plugin option during submission, since that plugin doesn’t use the command line renderer. So make sure to have this option disabled if you want to use the custom argument feature.
The next release will include this fix, and we thank you for pointing it out!
Cheers,
Thanks russell, worked great. Is there any hope that this option will be available in the submition mel script as well? it’s kinda a pain to try to run over and try to catch the job, put in the -mm 1 argument before it grabs my machine to render the first packet.
Just a one thing on my wish list for deadline.
Cheers,
B
Cool, glad to hear it! We’ll add the option to specify command line options in the mel script for the next release (should be in March). In the meantime, you can submit the job suspended, then resume it from the Monitor after tweaking the command line option.
Cheers,