Nsight systems iostream error

I’m trying to profile a python file on RTX A5000 using nsight systems. But I see the following error. Please advise. Thanks!

ERROR: /build/agent/work/20a3cfcd1c25021d/QuadD/Common/ProcessWaiter/Src/POSIX/ProcessWaiterImpl.cpp(318): Throw in function void QuadDCommon::ProcessWaiter::ProcessWaiterImpl::WriteTerminationStatusToFile(const QuadDCommon::ProcessWaiter::TerminationStatus&)
Dynamic exception type: boost::wrapexceptQuadDCommon::WriteStreamException
std::exception::what: WriteStreamException
[QuadDCommon::tag_message*] = Failed to write termination status to file
[QuadDCommon::tag_file_name*] = /tmp/nsys_termination_status_3913100
[QuadDCommon::tag_errno_text*] = Dynamic exception type: std::__ios_failure
std::exception::what: basic_ios::clear: iostream error

My command is:
nsys profile --stats=true python3 mypython.py

Let’s see what we can do to figure this out, can you tell me a little more about the system you were running? Your target OS and what version of Nsys you are using?

I’m running on the Ubuntu 20.04.6.
Nsight Systems version 2021.5.2.53. I have sudo permission.
The problem should be that the disk capacity used to generate nsys temporary files is insufficient?

Okay, that version of Nsys is almost 2 years old, so I am going to start by recommending you update.

It could be the size available for temp, or that temp is not writeable. How long is the application running for? If it is more than a couple of minutes, you should consider setting a delay or duration to reduce the amount of data. Pretty much all GPU loads have patterns of activity, and you only need to catch a couple of repeating cycles to determine what is wrong.