question

Siddhartha Basu avatar image
Siddhartha Basu asked ·

KtoA - Deadline plugin and environment variables error

Have been trying to send Katana batch render to deadline with Arnold as the renderer. Have set plugin path as launchKtoA.sh and set environment variable in the job properties. Nothing seems to work. not sure where I'm going wrong.

Working in a Linux environment.

Screenshots attached.

Does anyone have experience with this? Any help appreciated. Thanks!

katanadeadline
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Pal Mezei avatar image
Pal Mezei answered ·

Hi!

LaunchKtoa.sh won't work, because it's not passing arguments to the katana executable; it's something we should improve. You can fix this by changing the last line of LaunchKtoa.sh in your Katana installation folder from

katana

to

katana "$@"


Otherwise you can set the environment variables by hand and use the katana executable. This means, adding the ktoa folder to KATANA_RESOURECES, the bin subfolder of the ktoa folder to PATH and set the DEFAULT_RENDERER to arnold. You can find more information about the env vars we use here . KTOA_ROOT is just an env var that the LaunchKtoA.sh is using for improving readability. Sorry, I can't be more help with Deadline, as I don't have much experience setting it up.


Cheers,

Pal.

1 comment Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Hi Pal,

Thanks for your suggestions. I'll chek and report back.


Thanks!

0 Likes 0 · ·
Siddhartha Basu avatar image
Siddhartha Basu answered ·

Hi Pal,

Your suggestion of modifying the last line of the launchKtoA.sh to pass all arguments worked as you said it would.

I am now able to render KtoA scenes on the farm. Tested both Linux and Windows envs.


Many thanks for your support. Much appreciated!!!


Cheers!
1 comment Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Great! Thanks for letting us know. :)

0 Likes 0 · ·
Pal Mezei avatar image
Pal Mezei answered ·

Just wanted to let you know, the changes to the launch scripts will be included in the next KtoA release. And better handling of the KATANA_RESOURCES and FNPXR_PLUGINPATH env var.

1 comment Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Look forward to it. Thank you very much for your effort. Cheers!

0 Likes 0 · ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.