-submit-job-from-previous-compilation-results
Specify that the analysis job must be resubmitted without recompilation
Syntax
-submit-job-from-previous-compilation-results
Description
-submit-job-from-previous-compilation-results
specifies that the
Polyspace® analysis must start after the compilation phase with compilation
results from a previous analysis. The option is primarily useful when offloading a
Polyspace analysis from desktops to remote servers. If a remote analysis stops
after compilation, for instance because of communication problems between the
server and client computers, use this option. Note that you use this option with
the commands in the desktop products (polyspace-bug-finder
and
polyspace-code-prover
(Polyspace Code Prover)) and
not the commands in the server products (polyspace-bug-finder-server
and polyspace-code-prover-server
(Polyspace Code Prover)).
When you perform a remote analysis:
On the local host computer, the Polyspace software performs code compilation and coding rule checking.
The analysis job is then submitted to the MATLAB® job scheduler on the head node of the MATLAB Parallel Server™ cluster.
The head node of the MATLAB Parallel Server cluster assigns the verification job to a worker node, where the remaining phases of the Polyspace analysis occur.
If an analysis stops after completing the first step and you restart the analysis, use this option to reuse compilation results from the previous analysis. You thereby avoid restarting the analysis from the compilation phase.
If previous compilation results do not exist in the current folder, an error occurs. Remove the option and restart analysis from the compilation phase.
If you are running an analysis from the user interface
(Polyspace desktop products only), on the Configuration pane, you can
enter this option in the Other field. See Other
.
Examples
Specify remote analysis with compilation results from a previous analysis:
Bug Finder:
polyspace-bug-finder -batch -scheduler localhost -submit-job-from-previous-compilation-results
Code Prover:
polyspace-code-prover -batch -scheduler localhost -submit-job-from-previous-compilation-results
Tips
You cannot submit analysis jobs to a remote cluster with Polyspace as You Code.