We are using Lightwave and the submission script (in Lscript) to submit a scene file to Deadline. However we recently ran into a plugin that requires us to enable the Reload Plugin Between Tasks in order for it to render properly. Is there a way for us to set this flag upon submission rather than manually editing the job property setting or editing the .job file in the repository?
On that same note, what is the proper way to set the Pre Job Script field as well?
Thanks,
Chris Peterson
Hi Chris,
You can edit the Lightwave submission script to include this in the job info file (the first file submitted with the job, that defines the plugin, frames, pool, group, etc):
ForceReloadPlugin=true
You could also just disable screamernet mode. With this mode disabled, Deadline will just launch a typical LW command line for each task, so LW is getting restarted each task.
To set the Pre Job Script field, you can add this to your submission script:
PreJobScript=<path to script>
Cheers,