Problem with matlabpool - Error in matlabpool (line 127)
Show older comments
Hi everyone
I can’t open matlabpool, when I try I get the following error message:
>> matlabpool open
The class "parallel.internal.apishared.ProfileConfigHelper" is undefined. Perhaps Java is not running.
Error in matlabpool (line 127) pch = ProfileConfigHelper.buildDefault();
I’ve check for specific Java feature and they are available in the current MATLAB session so it seems to me that java is running (see below)
I am running matlab R2012b (see full version below) in a linux computer cluster; nevertheless I am only trying to run it locally in a node with several cores. In my attempt to solve this problem I have been searching the web and it seems that there are some issues regarding Parallel Computing Toolbox and java but I can’t find a solution for my problem. Is anyone familiar with this? Any help will be appreciated Many thanks in advance.
>> javachk('awt')
ans =
0x1 struct array with fields: message identifier
>> javachk('jvm')
ans =
0x1 struct array with fields: message identifier
>> javachk('swing')
ans =
0x1 struct array with fields: message identifier
>> javachk('desktop')
ans =
0x1 struct array with fields: message identifier
>> ver ------------------------------------------------------------------------------------------------------- MATLAB Version: 8.0.0.783 (R2012b) Operating System: Linux 2.6.18-92.1.13.el5 #1 SMP Wed Sep 24 19:32:05 EDT 2008 x86_64 Java Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot™ 64-Bit Server VM mixed mode ------------------------------------------------------------------------------------------------------- MATLAB Version 8.0 (R2012b) MATLAB Compiler Version 4.18 (R2012b) Multi-Parametric Toolbox Version 2.6.2 (R2006b) Optimization Toolbox Version 6.2.1 (R2012b) Parallel Computing Toolbox Version 6.1 (R2012b) Symbolic Math Toolbox Version 5.9 (R2012b) YALMIP Version 3 (R14SP3)
Answers (1)
Shashank Prasanna
on 4 Jun 2013
0 votes
Navigate to Parallel on the toolstrip > Manage Cluster Profiles
Confirm that you see 'local' and any other profiles you may have created and validate them by checking the green check mark. What you do see? Does it error?
2 Comments
Shashank Prasanna
on 6 Jun 2013
That seems to be like corrupt installation of Parallel Computing Toolbox. There should always be a local profile which you cannot delete. Try reinstalling the toolbox.
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!