Closed ooreilly closed 1 year ago
The "Saved Analysis folder exists" is verbose output from Omniperf indicating that its successfully detected some results that we've cached in your workloads folder. For example
This is more verbose output useful to the developer, but we can easily remove this if it makes things confusing. The -o
option is expecting you to pass a name for the output file. For example
omniperf analyze -p workloads/kernel/mi200/ -o my_output.txt
In your situation the IsADirectoryError occurred because -o
was expecting a filename or path with filename and you gave it a directory
@ooreilly let me know if you have any follow-up questions or comments. Otherwise, I'll mark this issue as closed. Thanks!
@coleramos425 Thanks for the clarifications. I think it could be enabled when pass -V. I don't see have that information is useful in general. Can you perform an analysis without having a saved folder?
You can close this ticket, and I will open a feature request for saving the output data in different formats.
Agreed. We'll move this into verbose output. Thanks for the suggestion!
And yes, you can perform analysis without having a saved analysis folder.
Why does
omniperf analysis
say:Saved Analysis folder exists
? The folder does not exist. If create the directory and rerun, I get:I guess that
omniperf
saysSaved analysis folder exists
because I pointed it to the existing workloadworkloads/kernel/mi200
.The output that I get via
-o
is the stdout? It would be helpful it the data was in say sqlite, json, or even Python pickle file. Such an option would facilitate further analysis.