Polyspace Code Prover doesn't create a report after a remote execution via command line
Show older comments
I'm trying to run Polyspace Code Prover by command line in Windows. I create an "-options-file" to configure Polyspace. I'm using the option "-batch" and "-scheduler" to use a remote server. I'd like to have a report in a pdf format in a location that I want. To have this, I put at the end of my options file these lines:
# name of the report
-report-output-name test1_Code
# template provided by Polyspace
-report-template C:\Program Files\Polyspace\R2019b\toolbox\polyspace\psrptgen\templates\Developer.rpt
# choose wich extension for the report [HTML|PDF|Word]
-report-output-format PDF
-results-dir C:\Polyspace_Workspace\Results
After running the command "polyspace-code-prover -options-file <path>\myOptionsFile.txt" by command line, everything is going well (no error) and if I verify in Polyspace tool->Open Job Monitor I can see my task that is being executed. However, when I verify in the path of the result (C:\Polyspace_Workspace\Results\Polyspace-Doc), there isn't the .pdf file and if I open the "ps_results.pscp" with Polyspace it gives me this warning:

Does someone know how to generate the report when the remote server finishes the execution? I read this sentence that alarmed me:
"After the analysis, you might have to manually download the results from the cluster" at the link of the documentation https://it.mathworks.com/help/polyspace_code_prover_server/ref/runbugfinderorcodeproveranalysisonaremoteclusterbatch.html#bt51qas-2
Am I doing mistakes in creating the report? If further information is needed, I will provide it.
Thanks,
Alessandro
Accepted Answer
More Answers (0)
Categories
Find more on Troubleshooting in Polyspace Products for Ada in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!