Four days ago I logged on to a bare metal instance at AWS (Ubuntu 18.04) and ran a series of hardware analyses with VTune Analyzer 2020. The analyses were all successful and they created subfolders (automatically by default) in the folder where the program is located -- for example, r000hs and r000mc. I downloaded them to my local Windows box and analyzed them in the desktop GUI version of VTune.
Today I logged back on after making a few changes to the program to do the same set of analyses again, but this time I got "Intel VTune 2020 failed to create a result directory."
My command string from four days ago does not specify a result directory:
vtune -collect hotspots -knob sampling-mode=sw -- /opt/P01_SH/_C_wrapper/Call_Function.exe
When I got the error today, I added an explicit result directory:
vtune -collect hotspots -knob sampling-mode=sw -result-dir=/opt/P01_SH/Program_Folder_01/r001hs/ -- /opt/P01_SH/_C_wrapper/Call_Function.exe
But in both cases I got the error "failed to create a result directory." I got the same error with identical command strings for memory access, memory consumption and system overview.
The server configuration is the same as it was four days ago, and the only change is that the program to profile has changed a small amount.
I renamed the folders from four days ago to prevent a name conflict. I have read/write/execute permissions on all folders.
Thanks for any help with this problem.
Thanks for reaching out to us. Could you please provide us with below details
1)Could you please recheck if you are trying to profile the application as root(ie is with all permissions)
2)If yes could you verify if you are able to profile any other application using vtune in your system currently. My suggestion would be to try profiling the matrix sample application available with vtune. You can find the matrix application in the below path
3)Could you also provide us with the output of the below command
Thanks for your reply. Further analysis suggests that this problem is with AWS and not with VTune. I am getting disk space errors, which is why it can't create a new output folder. I have more disk space than I have used, so I've opened a ticket with AWS. If the problem still appears to be VTune I can post back with an update.
ubuntu@ip-172-31-7-28:~$ vtune --version
Intel(R) VTune(TM) Profiler 2020 (build 605129) Command Line Tool
Copyright (C) 2009-2019 Intel Corporation. All rights reserved.
Thanks once again.