Shared cluster profiles between R2013b and R2012a

1 view (last 30 days)
Hi,
I am using R2013b on my PC and have created a cluster profile for parallel computing, and I now need to run it on a job server running R2012a. When I try to import my cluster profile in R2012a it gives me an error:
Error using matlab.internal.importSettings Details: Attribute 'anytype' is not declared for element 'key'.
Has the cluster profiles changed between these two versions, or am I experiencing another problem? if so how do I convert from one version to the other?
If that is impossible, how do I create a cluster profile on R2012a when I do not have a graphical interface for the job server?

Accepted Answer

Edric Ellis
Edric Ellis on 12 Sep 2014
You can create a cluster profile by creating the cluster object you wish to use manually from the command-line and then using saveAsProfile on the resulting cluster object.
Depending on what sort of cluster you're using, you might need to use one of the explicit cluster constructors. This page tells you about all the cluster types. For example, if you're using MJS, you might do this:
c = parallel.cluster.MJS('Host', 'headnode-name');
c.saveAsProfile('myMJS');

More Answers (0)

Community Treasure Hunt

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

Start Hunting!