How do I mix two versions of Polyspace on the same cluster?

3 views (last 30 days)
I have two versions of Polyspace, for example R2013b and R2014a. And I would like them to coexist them on the same cluster.
For example, I have a Desktop with R2013b and one Desktop with R2014a. How can I use the two products on the same job scheduler?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 18 Jan 2024
Edited: MathWorks Support Team on 1 Mar 2024
The answer depends on the version of Polyspace that you want to have on the server.
Starting in R2019a, submission from multiple Polyspace versions to a server is possible, but when you offload an analysis using a Polyspace desktop product installation, the server must run the analysis using a Polyspace server product installation from the same release. For documentation on the configuration process, please refer to the following link:
From R2016b to R2018b, MATLAB Parallel Server and Polyspace are still able to handle more than one version, but the configuration process is somewhat different. For details please refer to the following documentation:
Please run the below command in the MATLAB R2018b command window to get the release specific documentation
web(fullfile(docroot, 'codeprover/gs/set-up-polyspace-analysis-on-remote-server.html'))
Prior to R2016b
 it is not possible to use MATLAB Parallel Server cluster using MATLAB Job Scheduler (MJS) to serve two versions of Polyspace. MATLAB Parallel Server does not support mixing different releases of MATLAB. The head node, the worker nodes, and the MATLAB client must all be using the same release of MATLAB.
A release mismatch between MATLAB and MATLAB Parallel Server will result in an error similar to this one:
ERROR: Error: Cannot instantiate Polyspace cluster
Check the -scheduler option validity or your default cluster profile
You are running version 6.3 of the Parallel Computing Toolbox. There are no MJS clusters running the correct version on {cluster}.
MJS cluster "PolyspaceR2014aJobManager" on your_cluster_here is running version 6.4.
In this case, you must use a third-party scheduler such as HPC (Windows) or PBS (Linux) to support multiple releases of post-R2013b Polyspace on the same cluster.
Please refer to MATLAB Parallel Server documentation for more information on managing third-party job schedulers within MATLAB Parallel Server:
: Starting in R2019a the following name changes occurred:
  • MATLAB Distributed Computing Server was renamed to MATLAB Parallel Server 
  • mdce_def was renamed to mjs_def
  • mdce binary was renamed to mjs
Please follow the below link to search for the required information regarding the current release:

More Answers (0)


Find more on Introduction to Installation and Licensing in Help Center and File Exchange



No release entered yet.

Community Treasure Hunt

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

Start Hunting!