parpool() (R2014a) fails on Linux

When executing the command parpool() from the MATLAB prompt, with or without arguments, the following error occurs:
Undefined variable "com" or class "com.mathworks.toolbox.distcomp.pmode.SessionInfo.NULL_SESSION_INFO".
Error in parpool (line 96) sessionInfo = com.mathworks.toolbox.distcomp.pmode.SessionInfo.NULL_SESSION_INFO;
The error message seems to be helpless. How can I fix it?

2 件のコメント

Edric Ellis
Edric Ellis 2015 年 7 月 20 日
This looks like an installation problem. I suggest contacting MathWorks support.
Eric Sillekens
Eric Sillekens 2017 年 10 月 4 日
編集済み: Eric Sillekens 2017 年 10 月 4 日
Did you start matlab with the -nojvm option, I got the same error when staring matlab using "matlab -nodisplay -nojvm"and and starting matlab using "matlab -nodisplay" solved it for me.

サインインしてコメントする。

回答 (2 件)

Rafnuss
Rafnuss 2015 年 12 月 9 日

6 投票

I had the same problem when using (as documented here) :
matlab -nojvm -nodisplay -nosplash
But I manage to make it work without the -nojvm
matlab -nodisplay -nosplash

1 件のコメント

Edric Ellis
Edric Ellis 2015 年 12 月 11 日
Parallel Computing Toolbox requires the JVM...

サインインしてコメントする。

Richa Gupta
Richa Gupta 2015 年 7 月 20 日

0 投票

Can you provide the complete error message? Are you able to validate the profile successfully? Also, did you start MATLAB with -"nojvm" option?

3 件のコメント

bge
bge 2015 年 7 月 22 日
編集済み: Walter Roberson 2015 年 7 月 23 日
Here are more details with R2015a. The following is a screen capture:
>> p=parpool('local',2)
Starting parallel pool (parpool) using the 'local' profile ...
Error using parpool (line 103)
Failed to start a parallel pool. (For information in addition to the causing error, validate the profile
'local' in the Cluster Profile Manager.)
Caused by:
Error using parallel.internal.pool.InteractiveClient>iThrowWithCause (line 667)
Failed to initialize the interactive session.
Error using parallel.internal.pool.InteractiveClient>iThrowIfBadParallelJobStatus (line 768)
The interactive communicating job failed with no message.
>> ver
----------------------------------------------------------------------------------------------------
MATLAB Version: 8.5.0.197613 (R2015a)
MATLAB License Number: ••••••
Operating System: Linux 2.6.32-504.12.2.el6.x86_64 #1 SMP Wed Mar 11 22:03:14 UTC 2015 x86_64
Java Version: Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
----------------------------------------------------------------------------------------------------
...
Parallel Computing Toolbox Version 6.6 (R2015a)
...
Walter Roberson
Walter Roberson 2015 年 7 月 23 日
Have you tried to validate your cluster profile?

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeParallel Computing Fundamentals についてさらに検索

質問済み:

bge
2015 年 7 月 17 日

コメント済み:

2019 年 10 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by