When accessed remotely, nuc does not be working on non-interactive profile mode

Hello.

I’m suffering due to nsight compute 20.1 problem.

When I try to access remote container on non-interactive profile mode to profile, nsight compute is stuck in process launched state.

However, if I copy and paste this ncu profile command to container bash, then this is working correctly. Also, even if I have an interactive profile remotely, it works fine.

After running in remote non-interactive profile mode, ncu is running as a result of checking with top in the container. However, in nsight compute, it is still in the process launched state.

How can I solve this problem?

Help

Moved from CUPTI to Nsight Compute forum

What shell does your container use by default? Can you try to make bash the default shell, if it is not yet?
Please also provide more details at which point you see the profile launch to be stuck, e.g. the log from the Progress window can be helpful.

Hello.

The progress log is as follows.
When non-interactive profiling using Nsight Compute 20.1.2.4, NC is waiting for “Process launched” phase continuously.
But, this problem does not occur in Nsight Compute 19.4.

Checking file deployment: libInterceptorInjectionTarget.so

Checking file deployment: libTreeLauncherPlaceholder.so

Checking file deployment: libTreeLauncherTargetInjection.so

Checking file deployment: libTreeLauncherTargetUpdatePreloadInjection.so

Checking file deployment: TreeLauncherTargetLdPreloadHelper

Checking file deployment: libcuda-injection.so

Checking file deployment: libInterceptorInjectionTarget.so

Checking file deployment: libnvperf_host.so

Checking file deployment: libnvperf_target.so

Checking file deployment: libnvperfapi64.so

Checking file deployment: libNvSwCounterApi.so

Checking file deployment: libTreeLauncherPlaceholder.so

Checking file deployment: libTreeLauncherTargetInjection.so

Checking file deployment: libTreeLauncherTargetUpdatePreloadInjection.so

Checking file deployment: ncu

Checking file deployment: TreeLauncherSubreaper

Checking file deployment: TreeLauncherTargetLdPreloadHelper

Checking file deployment: ComputeWorkloadAnalysis.section

Checking file deployment: CPIStallBarrier.py

Checking file deployment: CPIStallDispatchStall.py

Checking file deployment: CPIStallDrain.py

Checking file deployment: CPIStallImcMiss.py

Checking file deployment: CPIStallLgThrottle.py

Checking file deployment: CPIStallLongScoreboard.py

Checking file deployment: CPIStallMathPipeThrottle.py

Checking file deployment: CPIStallMembar.py

Checking file deployment: CPIStallMioThrottle.py

Checking file deployment: CPIStallMisc.py

Checking file deployment: CPIStallNoInstructions.py

Checking file deployment: CPIStallNotSelected.py

Checking file deployment: CPIStallShortScoreboard.py

Checking file deployment: CPIStallSleeping.py

Checking file deployment: CPIStallTexThrottle.py

Checking file deployment: CPIStallWait.py

Checking file deployment: HighPipeUtilization.py

Checking file deployment: InstructionStatistics.section

Checking file deployment: IssueSlotUtilization.py

Checking file deployment: LaunchStatistics.py

Checking file deployment: LaunchStatistics.section

Checking file deployment: MemoryL2Compression.py

Checking file deployment: MemoryWorkloadAnalysis.section

Checking file deployment: MemoryWorkloadAnalysis_Chart.section

Checking file deployment: MemoryWorkloadAnalysis_Deprecated.section

Checking file deployment: MemoryWorkloadAnalysis_Tables.section

Checking file deployment: NvRules.py

Checking file deployment: Occupancy.section

Checking file deployment: SchedulerStatistics.section

Checking file deployment: SlowPipeLimiter.py

Checking file deployment: SourceCounters.section

Checking file deployment: SpeedOfLight.py

Checking file deployment: SpeedOfLight.section

Checking file deployment: SpeedOfLight_Roofline.py

Checking file deployment: SpeedOfLight_RooflineChart.section

Checking file deployment: ThreadDivergence.py

Checking file deployment: UncoalescedAccess.py

Checking file deployment: UncoalescedSharedAccess.py

Checking file deployment: WarpStateStatistics.section

Launching: /tmp/var/target/linux-desktop-glibc_2_11_3-x64/ncu (host: xxx.xxx.xxx.xxx)

Process launched