Parallel Computing - how to run jobs from clients on servers with the same version.

1 次查看(过去 30 天)
After submitting a batch, I try to retrieve the computed data using
j.fetchOutputs{:}
However, the system throws the following error:
Error using preCJSJob
This job was submitted with version 6.11 of the Parallel Computing Toolbox. However
the current MATLAB Distributed Computing Server is version 6.10. You must run jobs
from clients on servers with the same version.
How exactly do I run "jobs from clients on servers with the same version?"

回答(1 个)

Edric Ellis
Edric Ellis 2019-5-17
Firstly, you need to ensure that the correct version of MATLAB Distributed Computing Server (MDCS) is installed on your cluster. Then, you need to ensure that the ClusterMatlabRoot property is set up correctly to launch workers from the location of the matching version MDCS installation. So, you might need to do something like this
c = parcluster('myClusterProfile');
% Work out where R2017b has been installed on your cluster nodes, and then:
c.ClusterMatlabRoot = '/opt/MATLAB/R2017b';
% If that works, save the changes for later:
c.saveProfile();
If you do not have an R2017b installation available on the cluster, then you'll need to use an R2017a client MATLAB & Parallel Computing Toolbox.

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by