matlabpool error Parallel Computing Toolbox

I have R2012a installed on 64bit PC. I added the Parallel Computing Toolbox but i cannot start a matlabpool. When I type ver i don't see the PCT as being installed. But across the top I see Parallel as a header menu.
I simply want to run a parfor loop at this point.
I'm either doing something wrong or something isn't set up properly. How do I check?
Thank you

8 Commenti

'ver' would be the first place. If it's not listed in the output, it's not seen as part of the install.
When you try and start a matlabpool, what actually happens? Does it hang? Do you get an error?
Try:
rehash toolboxcache
ver
Does it show up?
It does not recognize matlabpool:
EDU>> matlabpool
Undefined function or variable 'matlabpool'.
When i reinstall matlab i have the following products to install:
MATLAB 7.14
Simulink 7.9
Control System Toolbox 9.3
DSP System Toolbox 8.2
Image Processing Toolbox 6.2
Parallel Computing Toolbox 6.0
Signal Processing Toolbox 6.17
Simulink Control Design 3.5
Statistics Toolbox 8.0
Symbolic Math Toolbox 5.8
However, after the installation, when i type ver i have
MATLAB Version: 7.14.0.739 (R2012a)
MATLAB License Number: STUDENT
Operating System: Microsoft Windows 7 Version 6.1 (Build 7601: Service Pack 1)
Java Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode
------------------------------------------------------------------------------------------------
MATLAB Version 7.14 (R2012a)
Simulink Version 7.9 (R2012a)
Control System Toolbox Version 9.3 (R2012a)
Image Processing Toolbox Version 8.0 (R2012a)
Optimization Toolbox Version 6.2 (R2012a)
Signal Processing Toolbox Version 6.17 (R2012a)
Symbolic Math Toolbox Version 5.8 (R2012a)
mGstat Toolbox Version 0.1 Feb 18,
EDU>>
@Sean
I tried rehash
toolboxcache
ver
but i get the same as posted.
Alright, then trY:
restoredefaultpath;
rehash toolboxcache
Then
matlabpool open
@Sean
That did something. Now I have
Starting matlabpool using the 'local' profile ...
How long does this usually take? And what is it trying to do?
Thank you
That message is telling you that MATLAB is starting a pool of workers. When you use parfor after the above finishes executing, those are the workers amongst which your job will be distributed.
@Shashank Ok - but it's been "Starting a pool of workers" for over an hour now and nothing is happening. Am I supposed to check something else?
Thanks

Accedi per commentare.

 Risposta accettata

Valentin
Valentin il 22 Feb 2013
Modificato: Valentin il 22 Feb 2013
NFR - I think my problem is solved. Thanks to those who helped. I had to do the following:
1. Uninstall R2012a and also deleting any files remaining in Program Files (x86)/Matlab that were not removed by the Matlab uninstall
2. Install Java 7 update 15
3. Install Matlab R2012a with Parallel Computing Toolbox (PCT)
4. start Matlab - type ver in command window and see that all my toolboxes show up (including PCT)
5. check Parallel > Manage Cluster Profiles menu. Click Validate (everything passes)
6. type matlabpool in command window and core cluster starts up (3 seconds)
7. check bottom right corner of Matlab window to see the cluster indicator icon is active (not grayed out).
From the PCT - Cluster Profiles Help notes it was useful to read that: "You cannot run a profile validation if you already have a MATLAB pool open"

Più risposte (1)

Walter Roberson
Walter Roberson il 21 Feb 2013
You have the software installed, but not licensed. Somehow.
You should contact Mathworks Support.

1 Commento

Thank you. I have contacted them. So far their best response has been to reinstall. The most useful response for me has been from Sean (see Comments). The PCT is listed after following his steps.

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by