MATLAB Answers

Why are credentials not properly cached when using option '-mjs-username' in such commands as 'polyspace​-jobs-mana​ger'?

3 views (last 30 days)
I am using Polyspace together with MATLAB Job Scheduler and I would like to have my credentials cached for subsequent use of such commands as 'polyspace-jobs-manager' and 'polyspace-code-prover'. When using the option '-mjs-username' along with the previous commands I am always asked to enter my credentials.
Why are credentials not properly cached when using option '-mjs-username' in such commands as 'polyspace-jobs-manager'?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 23 Jun 2021
The appropriate workflow in order to have the credentials cached when using the MATLAB Parallel Server along with Polyspace is to first open the Job Monitor interactively, then provide the necessary credentials and subsequently select the option "Forever on this computer", see the following screenshot,
Once you provide your credentials in the latter dialog with the latter option checked, namely "Forever on this computer", then next time you start the Job Monitor you should no longer be asked for the credentials neither from the Job Monitor for interactive use nor from the command line.

More Answers (0)

Tags

No tags entered yet.

Products


Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by