Cannot get the correct file '_ncu_report.so' when using Nsight Compute python api

I want to use Nsight Compute python report interface to customize the processing of file ‘*.ncu-rep’, so I following the manual to import ‘ncu_report’. In x86-64 platform, it should be:

ncu_report_path = '/usr/local/cuda-12.8/nsight-compute-2025.1.1/extras/python'
sys.path.append(ncu_report_path)

But in Jetson orin nx, I can not find the dir in /usr/local/cuda-12.x/, x can be 4, 6 and 8.
So I try to find dir like extras/python, and finally I get the correct dir, as following:

ncu_report_path = '/opt/nvidia/nsight-compute/2025.1.1/extras/python'
sys.path.append(ncu_report_path)

But when I execute the script, something went wrong:
image
then I check the file ‘_ncu_report.so’:

bash> file /opt/nvidia/nsight-compute/2025.1.0/extras/python/_ncu_report.so

get:
image
The file ‘_ncu_report.so’ is a x86-64 ELF. So where can I get the correct aarch64 file ‘_ncu_report.so’?
Thank you.

Hi,

Confirmed that we also see the same behavior in our environment (x86-64 ELF).
Need to check this with our internal team. Will provide more info with you later.

Thanks.

Thank you.

Hi,

We are still discussing this issue with our internal team.

Do you have a hard requirement to run it on the device?
If not, you can use it on the host system to unblock your task first.

Thanks.

Thank you, I will use it on the host system.😊

Hi,

Here are some updates from our internal team.

The Python report interface(PRI) doesn’t support the Jetson platform yet but we do have a plan to enable it.
Currently, please run it on the host device instead.

Thanks.

1 Like

I got it. Thank you.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.