matlabpool line 134 error.

4 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( at com.mathworks.jmi.MatlabLooper.sendMatlabMessage( at com.mathworks.jmi.Matlab.mtFeval( at com.mathworks.jmi.MatlabWorker.feval( at com.mathworks.toolbox.distcomp.ui.profile.model.MatlabProfileManager$2.runOnMatlabThread( at com.mathworks.jmi.MatlabWorker$ at com.mathworks.jmi.NativeMatlab.dispatchMTRequests(
I'm running 2012b, on a system running windows XP, this is the output of my ver command:
------------------------------------------------------------------------------------------------ MATLAB Version: (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
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?

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 =
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!