parpool() (R2014a) fails on Linux

5 Ansichten (letzte 30 Tage)
bge
bge am 17 Jul. 2015
Kommentiert: emjey am 4 Okt. 2019
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 Kommentare
Edric Ellis
Edric Ellis am 20 Jul. 2015
This looks like an installation problem. I suggest contacting MathWorks support.
Eric Sillekens
Eric Sillekens am 4 Okt. 2017
Bearbeitet: Eric Sillekens am 4 Okt. 2017
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.

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Rafnuss
Rafnuss am 9 Dez. 2015
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 Kommentar
Edric Ellis
Edric Ellis am 11 Dez. 2015
Parallel Computing Toolbox requires the JVM...

Melden Sie sich an, um zu kommentieren.


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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Parallel Computing Fundamentals finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by