Hello!
I have this problem with Naiad, that it doesnt recognize the simulated task is done when you generate a mesh. Instead, the simulation fails and it starts again but, really its there in the output path.
The workarround now is to set the Repository Option of the jobs part, to mark the task as FAIL in the first error… but we have to change it again each time anybody wants to render a CGI job.
The question is…
Is there a way to make a pre-render script, that checks if the output file is in the directory before the simulation starts? Kind of the “skip rendered frames” of softimage.
Cheers!
C.
Can you post an error report from the Naiad job? Maybe there is something that Deadline could parse and then mark the job as complete in this case.
Thanks!
Yes! Here it is… its a License error… But the soft works great with the UI. I will post the error part only… if you need the entire log just tell me.
Cheers!
C.
=======================================================
Error Message
Exception during render: An error occurred in RenderTasks(): NAIAD ERROR: Error checking out license: LM-X Error: (Internal: 429 Feature: NAIAD)
en Deadline.Plugins.ScriptPlugin.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage)
=======================================================
and the log finishes like this…
0: STDOUT: ***** NAIAD ERROR: Error checking out license: LM-X Error: (Internal: 429 Feature: NAIAD)
0: STDOUT: [NETWORK] 6200@localhost - (Err: 15) Unable to connect to license server
0: STDOUT: For further information go to x-formation.com
0: STDOUT: Naiad: Simulation ended on Fri Aug 30 17:37:39 2013
=======================================================
Error Type
RenderPluginException
=======================================================
Error Stack Trace
en Deadline.Plugins.Plugin.RenderTask(String taskId, Int32 startFrame, Int32 endFrame)
en Deadline.Slaves.SlaveRenderThread.RenderCurrentTask(TaskLogWriter tlw)
Yeah, the full log might be helpful.
In theory, we could probably add a submission option to ignore this specific error, but I’m curious if there is anything else in the log we should be looking for.
Thanks!
No… nothing else… all the other log is the normal Naiad Load text… all the ops load.
here it is…
It would be very good to add a “skip renderer ( or simulated ) frame” check, on the submission of all plugins!
C.
=======================================================
Error Message
Exception during render: An error occurred in RenderTasks(): NAIAD ERROR: Error checking out license: LM-X Error: (Internal: 429 Feature: NAIAD)
en Deadline.Plugins.ScriptPlugin.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage)
=======================================================
Slave Log
0: Task timeout is 1200 seconds (Regular Task Timeout)
0: Loaded job: CHOCOKRISPIS3 (Simulation Job) (999_050_999_6aa275e3)
0: INFO: StartJob: initializing script plugin Naiad
0: INFO: Any stdout that matches the regular expression “NAIAD ERROR.*” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “Solving frame ([0-9]+)” will be handled as appropriate
0: INFO: About: Naiad Plugin for Deadline
0: Plugin rendering frame(s): 194
0: INFO: Job mode: Simulation
0: INFO: Stdout Handling Enabled: True
0: INFO: Popup Handling Enabled: False
0: INFO: Using Process Tree: True
0: INFO: Hiding DOS Window: True
0: INFO: Creating New Console: False
0: INFO: Render Executable: “C:\Program Files\Exotic Matter\Naiad 0.6.1\bin\naiad.exe”
0: INFO: Naiad file: //jagger/DATABASES/NAIAD_DEADLINE/CHOCOKRISPIS3.ni
0: INFO: Start frame: 194
0: INFO: End frame: 194
0: INFO: Threads: 0 (uses default)
0: INFO: Verbose: enabled
0: INFO: Render Argument: “//jagger/DATABASES/NAIAD_DEADLINE/CHOCOKRISPIS3.ni” --frames 194 194 --verbose
0: INFO: Startup Directory: “C:\Program Files\Exotic Matter\Naiad 0.6.1\bin”
0: INFO: Process Priority: BelowNormal
0: INFO: Process Affinity: default
0: INFO: Process is now running
0: STDOUT: Naiad Command-Line Client
0: STDOUT: Copyright © 2009-2011 Exotic Matter AB.
0: STDOUT: Naiad: Scanning C:\Program Files\Exotic Matter\Naiad 0.6.1\server\standard-sig …
0: STDOUT: Naiad: Compiled SIG: Body
0: STDOUT: Naiad: Loaded Body Signature ‘Body’
0: STDOUT: Naiad: Compiled SIG: Camera
0: STDOUT: Naiad: Loaded Body Signature ‘Camera’
0: STDOUT: Naiad: Compiled SIG: Field-Fire
0: STDOUT: Naiad: Loaded Body Signature ‘Field-Fire’
0: STDOUT: Naiad: Compiled SIG: Field-Gas
0: STDOUT: Naiad: Loaded Body Signature ‘Field-Gas’
0: STDOUT: Naiad: Compiled SIG: Field-Smoke
0: STDOUT: Naiad: Loaded Body Signature ‘Field-Smoke’
0: STDOUT: Naiad: Compiled SIG: Field
0: STDOUT: Naiad: Loaded Body Signature ‘Field’
0: STDOUT: Naiad: Compiled SIG: Mesh
0: STDOUT: Naiad: Loaded Body Signature ‘Mesh’
0: STDOUT: Naiad: Compiled SIG: Particle-Liquid
0: STDOUT: Naiad: Loaded Body Signature ‘Particle-Liquid’
0: STDOUT: Naiad: Compiled SIG: Particle
0: STDOUT: Naiad: Loaded Body Signature ‘Particle’
0: STDOUT: Naiad: Compiled SIG: Rigid-Body
0: STDOUT: Naiad: Loaded Body Signature ‘Rigid-Body’
0: STDOUT: Naiad: Compiled SIG: Volume
0: STDOUT: Naiad: Loaded Body Signature ‘Volume’
0: STDOUT: Naiad: Scanning C:\Program Files\Exotic Matter\Naiad 0.6.1\server\user-sig …
0: STDOUT: Naiad: Compiled SIG: NOT-Mesh
0: STDOUT: Naiad: Loaded user body code: NOT-Mesh
0: STDOUT: Naiad: Loaded Body Signature ‘NOT-Mesh’
0: STDOUT: Naiad: Scanning C:\Program Files\Exotic Matter\Naiad 0.6.1\server\body-io …
0: STDOUT: Naiad: Arnold BeginPlugin called
0: STDOUT: Naiad: Loaded body-io plugin: ass
0: STDOUT: Naiad: Loaded body-io plugin: bgeo
0: STDOUT: Naiad: Loaded body-io plugin: obj
0: STDOUT: Naiad: Loaded body-io plugin: prt
0: STDOUT: Naiad: Vrmesh BeginPlugin called
0: STDOUT: Naiad: Loaded body-io plugin: vrmesh
0: STDOUT: Naiad: Vrscene BeginPlugin called
0: STDOUT: Naiad: Loaded body-io plugin: vrscene
0: STDOUT: Exotic Matter’s Naiad Dynamics Server (0.6.1.43) Running.
0: STDOUT: Listening to the Naiad Interface (Ni) Revision 1.
0: STDOUT: The Naiad Interface is Copyright 2009-2011 Exotic Matter AB.
0: STDOUT: Naiad: Simulation Context Count: 1
0: STDOUT: Naiad: Naiad is happy to discover 12 processor cores on this machine.
0: STDOUT: Naiad: Scanning C:\Program Files\Exotic Matter\Naiad 0.6.1\server\standard-ops …
0: STDOUT: Naiad: Compiled op: Acceleration
0: STDOUT: Naiad: Compiled op: Aerodynamics
0: STDOUT: Naiad: Compiled op: Body-Read
0: STDOUT: Naiad: Compiled op: Body-Terminal
0: STDOUT: Naiad: Compiled op: Body-Write
0: STDOUT: Naiad: Compiled op: Boundary-Layer
0: STDOUT: Naiad: Compiled op: Box-Mesh
0: STDOUT: Naiad: Compiled op: Buoyancy
0: STDOUT: Naiad: Compiled op: Channel-Filter
0: STDOUT: Naiad: Compiled op: Channel-Rename
0: STDOUT: Naiad: Compiled op: Channel-Split
0: STDOUT: Naiad: Compiled op: Clone
0: STDOUT: Naiad: Compiled op: Combust
0: STDOUT: Naiad: Compiled op: Distance-Mesh
0: STDOUT: Naiad: Compiled op: Distance-Tet
0: STDOUT: Naiad: Compiled op: Drag
0: STDOUT: Naiad: Compiled op: Dynamics
0: STDOUT: Naiad: Compiled op: Emp-Read
0: STDOUT: Naiad: Compiled op: Emp-Terminal
0: STDOUT: Naiad: Compiled op: Emp-Write
0: STDOUT: Naiad: Compiled op: Field-Add
0: STDOUT: Naiad: Compiled op: Field-Blur
0: STDOUT: Naiad: Compiled op: Field-Channel
0: STDOUT: Naiad: Compiled op: Field-Constant-Float
0: STDOUT: Naiad: Compiled op: Field-Constant-Vector
0: STDOUT: Naiad: Compiled op: Field-Depth
0: STDOUT: Naiad: Compiled op: Field-Distance-Difference
0: STDOUT: Naiad: Compiled op: Field-Distance-Intersection
0: STDOUT: Naiad: Compiled op: Field-Distance-Sphere
0: STDOUT: Naiad: Compiled op: Field-Distance-Union
0: STDOUT: Naiad: Compiled op: Field-Dot
0: STDOUT: Naiad: Compiled op: Field-Export
0: STDOUT: Naiad: Compiled op: Field-Gradient
0: STDOUT: Naiad: Compiled op: Field-Mask
0: STDOUT: Naiad: Compiled op: Field-Max
0: STDOUT: Naiad: Compiled op: Field-Min
0: STDOUT: Naiad: Compiled op: Field-Multiply
0: STDOUT: Naiad: Compiled op: Field-Nel-Channel
0: STDOUT: Naiad: Compiled op: Field-Nel
0: STDOUT: Naiad: Compiled op: Field-Noise
0: STDOUT: Naiad: Compiled op: Field-Particle-Splat
0: STDOUT: Naiad: Compiled op: Field-Redistance
0: STDOUT: Naiad: Compiled op: Field-Scale
0: STDOUT: Naiad: Compiled op: Field-Vortex
0: STDOUT: Naiad: Compiled op: Filter
0: STDOUT: Naiad: Compiled op: Force
0: STDOUT: Naiad: Compiled op: Friction
0: STDOUT: Naiad: Compiled op: Global
0: STDOUT: Naiad: Compiled op: HD
0: STDOUT: Naiad: Compiled op: Hydrodynamics
0: STDOUT: Naiad: Compiled op: Isolate
0: STDOUT: Naiad: Compiled op: Join
0: STDOUT: Naiad: Compiled op: Liquid-Emit-Distance
0: STDOUT: Naiad: Compiled op: Mesh-Decimate
0: STDOUT: Naiad: Compiled op: Mesh-Merge
0: STDOUT: Naiad: Compiled op: Mesh-Normals
0: STDOUT: Naiad: Compiled op: Mesh-Read
0: STDOUT: Naiad: Compiled op: Mesh-Smooth
0: STDOUT: Naiad: Compiled op: Mesh-Volume
0: STDOUT: Naiad: Compiled op: Null
0: STDOUT: Naiad: Compiled op: Particle-Age
0: STDOUT: Naiad: Compiled op: Particle-Channel
0: STDOUT: Naiad: Compiled op: Particle-Detail
0: STDOUT: Naiad: Compiled op: Particle-Disperse
0: STDOUT: Naiad: Compiled op: Particle-Emit-Distance
0: STDOUT: Naiad: Compiled op: Particle-Emit-Nel
0: STDOUT: Naiad: Compiled op: Particle-Emit-Point
0: STDOUT: Naiad: Compiled op: Particle-Flow-Distance
0: STDOUT: Naiad: Compiled op: Particle-Fuse
0: STDOUT: Naiad: Compiled op: Particle-Herd
0: STDOUT: Naiad: Compiled op: Particle-Id
0: STDOUT: Naiad: Compiled op: Particle-Killmask
0: STDOUT: Naiad: Compiled op: Particle-Killplane
0: STDOUT: Naiad: Compiled op: Particle-Merge
0: STDOUT: Naiad: Compiled op: Particle-Mesh3
0: STDOUT: Naiad: Compiled op: Particle-Mesh4
0: STDOUT: Naiad: Compiled op: Particle-Nel-Channel
0: STDOUT: Naiad: Compiled op: Particle-Nel-Kill
0: STDOUT: Naiad: Compiled op: Particle-Read
0: STDOUT: Naiad: Compiled op: Particle-Snap-Distance
0: STDOUT: Naiad: Compiled op: Particle-Splash-Emit
0: STDOUT: Naiad: Compiled op: Particle-Transport
0: STDOUT: Naiad: Compiled op: Particle-Volume
0: STDOUT: Naiad: Compiled op: Particle-Wet-Emit
0: STDOUT: Naiad: Compiled op: Point-Channel
0: STDOUT: Naiad: Compiled op: Point-Nel-Channel
0: STDOUT: Naiad: Compiled op: Property
0: STDOUT: Naiad: Compiled op: Select
0: STDOUT: Naiad: Compiled op: Sphere-Mesh
0: STDOUT: Naiad: Compiled op: Sphere-Volume
0: STDOUT: Naiad: Compiled op: Swirl
0: STDOUT: Naiad: Compiled op: Switch
0: STDOUT: Naiad: Compiled op: Terminal
0: STDOUT: Naiad: Compiled op: Tet-Mesh
0: STDOUT: Naiad: Compiled op: Tile-Expand
0: STDOUT: Naiad: Compiled op: Tile-Killmask
0: STDOUT: Naiad: Compiled op: Tile-Refine
0: STDOUT: Naiad: Compiled op: Triangle-Nel-Channel
0: STDOUT: Naiad: Compiled op: Velocity-Emit
0: STDOUT: Naiad: Scanning C:\Program Files\Exotic Matter\Naiad 0.6.1\server\user-ops …
0: STDOUT: Naiad: Compiled op: Arnold-ASS-ASCII-Write
0: STDOUT: Naiad: Compiled op: Arnold-ASS-Write
0: STDOUT: Naiad: Compiled op: Arnold-Implicit
0: STDOUT: Naiad: Compiled op: Arnold-Mesh
0: STDOUT: Naiad: Compiled op: Arnold-Particle
0: STDOUT: Naiad: Compiled op: Arnold-Render
0: STDOUT: Naiad: Compiled op: Camera-Scope
0: STDOUT: Naiad: Compiled op: Delight-Mesh
0: STDOUT: Naiad: Compiled op: Delight-Particle
0: STDOUT: Naiad: Compiled op: Delight-Rib-Write
0: STDOUT: Naiad: Compiled op: Ghost-Scope
0: STDOUT: Naiad: Compiled op: Iso-Scope
0: STDOUT: Naiad: Compiled op: Mesh-Scope
0: STDOUT: Naiad: Compiled op: NOT-Deform
0: STDOUT: Naiad: Compiled op: NOT-Ocean
0: STDOUT: Naiad: Compiled op: Ortho-Camera-Scope
0: STDOUT: Naiad: Compiled op: Particle-Scope
0: STDOUT: Naiad: Compiled op: Renderman-Mesh
0: STDOUT: Naiad: Compiled op: Renderman-Particle
0: STDOUT: Naiad: Compiled op: Renderman-Rib-Write
0: STDOUT: Naiad: Compiled op: Streamline-Scope
0: STDOUT: Naiad: Compiled op: Tile-Scope
0: STDOUT: Naiad: Loaded user op code: Arnold-ASS-ASCII-Write
0: STDOUT: Naiad: Loaded user op code: Arnold-ASS-Write
0: STDOUT: Naiad: Loaded user op code: Arnold-Implicit
0: STDOUT: Naiad: Loaded user op code: Arnold-Mesh
0: STDOUT: Naiad: Loaded user op code: Arnold-Particle
0: STDOUT: Naiad: Loaded user op code: Arnold-Render
0: STDOUT: Naiad: Loaded user op code: NOT
0: STDOUT: Naiad: Resetting op ‘Global’
0: STDOUT: Naiad: Parsing NI file //jagger/DATABASES/NAIAD_DEADLINE/CHOCOKRISPIS3.ni…
0: STDOUT: Naiad: Op ‘Camera-Scope’ activated
0: STDOUT: Naiad: Op ‘emp-terminal-2’ activated
0: STDOUT: Naiad: Setting Thread Count: 8
0: STDOUT: Naiad: Logfile: \Jagger\databases\NAIAD_DEADLINE\CHOCOKRISPIS3log
0: STDOUT: Naiad: Project: \Jagger\databases\NAIAD_DEADLINE
0: STDOUT: Naiad: Simulation started on Fri Aug 30 17:37:34 2013
0: STDOUT: Naiad: Resetting op ‘Camera-Scope’
0: STDOUT: Naiad: Resetting op ‘Global’
0: STDOUT: Naiad: Resetting op ‘emp-read’
0: STDOUT: Naiad: Resetting op ‘emp-terminal-2’
0: STDOUT: Naiad: Resetting op ‘mesh-normals’
0: STDOUT: Naiad: Resetting op ‘mesh-scope-2’
0: STDOUT: Naiad: Resetting op ‘particle-mesh4’
0: STDOUT: Naiad: Resetting op ‘particle-scope-1’
0: STDOUT: ***** NAIAD ERROR: Error checking out license: LM-X Error: (Internal: 429 Feature: NAIAD)
0: STDOUT: [NETWORK] 6200@localhost - (Err: 15) Unable to connect to license server
0: STDOUT: For further information go to x-formation.com
0: STDOUT: Naiad: Simulation ended on Fri Aug 30 17:37:39 2013
=======================================================
Error Type
RenderPluginException
=======================================================
Error Stack Trace
en Deadline.Plugins.Plugin.RenderTask(String taskId, Int32 startFrame, Int32 endFrame)
en Deadline.Slaves.SlaveRenderThread.RenderCurrentTask(TaskLogWriter tlw)
Thanks!
The thing is that we need to know where the Naiad output is going to support something like this directly in Deadline. Unfortunately, we don’t have that information for Naiad. I wonder if Naiad has any command line arguments to skip existing frames like other renderers do. We don’t have Naiad licenses at this time to test anything, but perhaps you could share the Naiad command line arguments with us? I imagine they would be in the Naiad documentation. If they’re not, you should be able to print them out by running this in a command prompt:
"C:\Program Files\Exotic Matter\Naiad 0.6.1\bin\naiad.exe" --help
We can look at the command line arguments to see if we can do what you need “properly”. Otherwise, I think we’ll just have to add an “Ignore Licensing Error” option to the submitter, and have Deadline not fail on that licensing error message.
Cheers,
No options availables Russell.
We have to go for the ignore license error thing.
Do you think you can help us to add the lines to the submitter?
Cheers!
C.
Thanks for checking.
We should be able to help out here. It’s going to require changes to both the submitter and Deadline’s Naiad plugin. Which version of Deadline are you running?
Thanks! I’ve attached two files here.
-
Go to \your\repository\scripts\Submission\NaiadSubmission and make a backup copy of NaiadSubmission.py. Then unzip NaiadSubmission.zip to this folder.
-
Go to \your\repository\plugins\Naiad and make a backup copy of Naiad.py and Naiad.options. Then unzip Naiad.zip to this folder.
The next time to open up the Naiad submitter, you should see an “ignore Licensing Errors” checkbox next to the Frames Per Task box. When this option is enabled, the Naiad plugin for Deadline will check any error messages to see if they contain the text “Error checking out license”, and will ignore it if it does.
Give this a try and let us know if it helps. If Deadline still fails the job, send us a new log and we’ll take a look.
Thanks!