parpool() (R2014a) fails on Linux

5 次查看(过去 30 天)
bge
bge 2015-7-17
评论: emjey 2019-10-4
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
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

Richa Gupta
Richa Gupta 2015-7-20
Can you provide the complete error message? Are you able to validate the profile successfully? Also, did you start MATLAB with -"nojvm" option?
  3 个评论
Walter Roberson
Walter Roberson 2015-7-23
Have you tried to validate your cluster profile?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Parallel Computing Fundamentals 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by