Matlab doesn't recognize parpool function

5 vues (au cours des 30 derniers jours)
Dimitri
Dimitri le 26 Nov 2013
I am using Matlab R2013a with Parallel Computing Toolbox:
>> ver
-------------------------------------------------------------------------------------------------
MATLAB Version: 8.1.0.604 (R2013a)
MATLAB License Number: XXXXXX
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) 64-Bit Server VM mixed mode
-------------------------------------------------------------------------------------------------
MATLAB Version 8.1 (R2013a)
.....
Parallel Computing Toolbox Version 6.2 (R2013a)
.....
I was trying to run a parallel pool locally employing parpool('local') command, and got error message:
>> parpool('local')
Undefined function 'parpool' for input arguments of type 'char'.
Apparently, Matlab can not find this function:
>
> which parpool
'parpool' not found
I checked a current search path. The Parallel Computing Toolbox was there:
>> path
MATLABPATH
....
C:\Program Files\MATLAB\R2013a\toolbox\distcomp
C:\Program Files\MATLAB\R2013a\toolbox\distcomp\distcomp
C:\Program Files\MATLAB\R2013a\toolbox\distcomp\user
C:\Program Files\MATLAB\R2013a\toolbox\distcomp\mpi
C:\Program Files\MATLAB\R2013a\toolbox\distcomp\parallel
C:\Program Files\MATLAB\R2013a\toolbox\distcomp\parallel\util
C:\Program Files\MATLAB\R2013a\toolbox\distcomp\lang
C:\Program Files\MATLAB\R2013a\toolbox\distcomp\cluster
C:\Program Files\MATLAB\R2013a\toolbox\distcomp\gpu
C:\Program Files\MATLAB\R2013a\toolbox\distcomp\array
C:\Program Files\MATLAB\R2013a\toolbox\distcomp\pctdemos
...
So, I am wondering, how to fix this issue.
Can someone help me?
Regards
Dimitri

Réponses (1)

Edric Ellis
Edric Ellis le 27 Nov 2013
PARPOOL was introduced in R2013b to replace MATLABPOOL. In R2013a and earlier, use MATLABPOOL.

Catégories

En savoir plus sur Parallel Computing Fundamentals dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by