ID 506631 - AIR nodes will error on CentOS minimal installs, when there are no CUDA libraries present or is missing files.

Follow

Problem summary
AIR nodes will error on CentOS minimal installs, when there are no CUDA libraries present or where there are missing files for the node.
For example, Nuke will throw the following error when creating a Deblur, Upscale or Inference node:
RuntimeError: libcuda.so.1: cannot open shared object file: No such file or directory
 
Customer reported version
N/A
 
Customer reported platform
N/A
 
Steps to reproduce
 
1) In order to reproduce this issue, you will need a CentOS 7 minimal install, without any CUDA libraries present.
 
2) Launch Nuke:
/usr/local/Nuke13.1v3/Nuke13.1 -t
 
3) Run the following commands, to create a Deblur node:
import nukenuke.createNode("Deblur")
NOTE: You can replace "Deblur" with "Upscale" or "Inference" and see the same issue.
 
In addition to the above, the error for a missing file appears as: "ERROR: Inference21: 'Inference': unknown command. This is most likely from a corrupt .nk file, or from a missing or unlicensed plug-in. Can't render from that Node.":

 
Expected behavior
As the AIR nodes should be able to be processed on the CPU, they should not require additional CUDA libraries. Additionally, for the Inference node missing a file, the script should error stating the cat file is not selected, not the node doesn't exist:

 
Actual behavior
Creating AIR nodes on CentOS minimal installs, when there are no CUDA libraries present, will result in the following error:
RuntimeError: libcuda.so.1: cannot open shared object file: No such file or directory
 
Workaround
There is no available workaround at this time.
 
Reproduced by Support in:
Nuke 13.1v3 - Linux CentOS 7 (minimal)
Nuke 13.1v1 - Linux CentOS 7 (minimal) - REGRESSION
 
Unable to reproduce bug in:
Nuke 13.0v7 - Linux CentOS 7 (minimal)
 
Earliest version tested
Nuke 13.0v7 - This issue doesn't appear in this version and has regressed
 

    We're sorry to hear that

    Please tell us why