Hi!
We are doning some testings in Summus render and found the slaves use the maxwell gui licenses instead of node licenses.
Is there a way to force slaves read the maxwell node licenses?
By now we are adding the flag -cmd -node in each job to force slaves use the maxwell node licenses but sometimes we forget doong that so many times slaves lose teh license and do not render.
Could you confirm us the slaves using maxwell render get the GUI license instead of NODE license?
Thanks.
:-J
Thanks for bringing this to our attention. We didn’t realize that maxwell uses a GUI license in command line mode by default, so I can confirm that currently does not pass the “-node” argument. We’ll change this for the next release. By default, we will use the -node argument, and allow the Maxwell plugin to be configured to specify specific machines that should use an interactive license instead (we already do this for Nuke).
In the meantime, you can modify your existing Nuke plugin to hardcode the “-node” argument. Go to \your\repository\plugins\Nuke and open Nuke.py in a text editor. Find this section of code:
if self.Version >= 2:
verbosityValue = "4"
verbosity = GetPluginInfoEntryWithDefault( "Verbosity", "All" )
if verbosity == "None":
verbosityValue = "0"
elif verbosity == "Errors":
verbosityValue = "1"
elif verbosity == "Warnings":
verbosityValue = "2"
elif verbosity == "Info":
verbosityValue = "3"
elif verbosity == "All":
verbosityValue = "4"
arguments += " -verbose:" + verbosityValue
Just add the line arguments += " -node" after the list line:
if self.Version >= 2:
verbosityValue = "4"
verbosity = GetPluginInfoEntryWithDefault( "Verbosity", "All" )
if verbosity == "None":
verbosityValue = "0"
elif verbosity == "Errors":
verbosityValue = "1"
elif verbosity == "Warnings":
verbosityValue = "2"
elif verbosity == "Info":
verbosityValue = "3"
elif verbosity == "All":
verbosityValue = "4"
arguments += " -verbose:" + verbosityValue
arguments += " -node"
That should get you by for now!
Cheers,
- Ryan
I forget to say we are sending jobs via Maya-Maxwell plugin.
So the workarround we are using by now is adding the flag -node in the command line options.
Is there a way to change this as same in Nuke?
Go to \your\repository\plugins\MayaCmd and open MayaCmd.py in a text editor. Find this section of code:
elif( self.Renderer == "maxwell" ):
LogInfo( "Rendering with Maxwell." )
renLayerArg = "-l"
rendererArguments += " -r maxwell "
rendererArguments += " -nt " + GetPluginInfoEntryWithDefault( "MaxProcessors", "0" )
rendererArguments += BlankIfEitherIsBlank( " -rt ", GetPluginInfoEntryWithDefault( "MaxwellRenderTime", "" ) )
rendererArguments += BlankIfEitherIsBlank( " -sl ", GetPluginInfoEntryWithDefault( "MaxwellSamplingLevel", "" ) )
rendererArguments += BlankIfEitherIsBlank( " -x ", GetPluginInfoEntryWithDefault( "ImageWidth", "" ) )
rendererArguments += BlankIfEitherIsBlank( " -y ", GetPluginInfoEntryWithDefault( "ImageHeight", "" ) )
We’ll add one more line at the bottom, like this:
elif( self.Renderer == "maxwell" ):
LogInfo( "Rendering with Maxwell." )
renLayerArg = "-l"
rendererArguments += " -r maxwell "
rendererArguments += " -nt " + GetPluginInfoEntryWithDefault( "MaxProcessors", "0" )
rendererArguments += BlankIfEitherIsBlank( " -rt ", GetPluginInfoEntryWithDefault( "MaxwellRenderTime", "" ) )
rendererArguments += BlankIfEitherIsBlank( " -sl ", GetPluginInfoEntryWithDefault( "MaxwellSamplingLevel", "" ) )
rendererArguments += BlankIfEitherIsBlank( " -x ", GetPluginInfoEntryWithDefault( "ImageWidth", "" ) )
rendererArguments += BlankIfEitherIsBlank( " -y ", GetPluginInfoEntryWithDefault( "ImageHeight", "" ) )
rendererArguments += " -cmd -node"
I think that should do it.
Cheers,
- Ryan
That´s working fine.
Thanks a lot Ryan