MATLAB Answers

matlabpool line 134 error.

5 views (last 30 days)
I'm experiencing an issue with initialising parallel computing on my computer.
when i try to start matlabpool the following error occurs:
Error using matlabpool (line 134) Failed to convert value stored in Settings for property JobStorageLocation to a datalocation.
Caused by: Index exceeds matrix dimensions.
The parallel cluster profile manager can't find any profiles, but if i create a new one, it verifies as working okay (it doesn't if i try to use it) The job monitor can see the profiles, but shows the same error if i try to use it.
when i click on the parallel section of the toolstrip the following error throws to the command line:
com.mathworks.jmi.MatlabException: Failed to convert value stored in Settings for property JobStorageLocation to a datalocation. at com.mathworks.jmi.NativeMatlab.SendMatlabMessage(Native Method) at com.mathworks.jmi.NativeMatlab.sendMatlabMessage(NativeMatlab.java:219) at com.mathworks.jmi.MatlabLooper.sendMatlabMessage(MatlabLooper.java:120) at com.mathworks.jmi.Matlab.mtFeval(Matlab.java:1540) at com.mathworks.jmi.MatlabWorker.feval(MatlabWorker.java:197) at com.mathworks.toolbox.distcomp.ui.profile.model.MatlabProfileManager$2.runOnMatlabThread(MatlabProfileManager.java:88) at com.mathworks.jmi.MatlabWorker$2.run(MatlabWorker.java:79) at com.mathworks.jmi.NativeMatlab.dispatchMTRequests(NativeMatlab.java:364)
I'm running 2012b, on a system running windows XP, this is the output of my ver command:
------------------------------------------------------------------------------------------------ MATLAB Version: 8.0.0.783 (R2012b) MATLAB License Number: XXXXXX Operating System: Microsoft Windows XP x64 Version 5.2 (Build 3790: Service Pack 2) Java Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot™ Client VM mixed mode ------------------------------------------------------------------------------------------------ MATLAB Version 8.0 (R2012b) Curve Fitting Toolbox Version 3.3 (R2012b) Optimization Toolbox Version 6.2.1 (R2012b) Parallel Computing Toolbox Version 6.1 (R2012b) Statistics Toolbox Version 8.1 (R2012b)
I have already tried updating (and then reverting) my java install and reinstalling matlab from scratch. along with the steps in http://mathworks.com/support/bugreports/919688
By using the command line to change the default cluster profile, i can get the matlabpool working, but cluster profile manager still does not work. i think the local profile is corrupted or something, but i don't know how to fix this.
Has anyone else experienced a similar error in the past?
Thanks,

  0 Comments

Sign in to comment.

Accepted Answer

Thomas Ibbotson
Thomas Ibbotson on 11 Mar 2013
It's possible that you have ended up with a corrupt profile somehow. We can try cleaning it up and see if that helps.
In MATLAB type:
>> prefdir
which on my machine gives:
ans =
C:\Users\tibbotso\AppData\Roaming\MathWorks\MATLAB\R2012b
Navigate to that directory and in it you should find a 'parallel.settings' file. Delete that and try again.

  1 Comment

Peter Edwards
Peter Edwards on 11 Mar 2013
That fixed it, thank you for your help.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by