添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

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

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.