Parallel processing toobox not working on Ubuntu 18.04

I have installed Matlab R2018a on a fresh install of Ubuntu 18.04. I can't get the parallel processing toolbox to work.
It seems to be correctly installed:
But when I try to open the parallel pool, I get "undefined function or variable":
And if I open the parallel processing "Manage Clusters" box, The dialog gets stuck on "Loading Profiles...":
All other toolboxes are working fine. `Parfor` loops run through in series, as if they were a normal `for` loop.
Any ideas what the problem is?
Thanks

댓글 수: 6

Adam
Adam 2018년 9월 17일
편집: Adam 2018년 9월 17일
Do you have an active license for the toolbox?
Typing
license( 'test', 'Distrib_Computing_Toolbox' )
should return 1 if you do have an active license.
As Adam mentioned, if you installed parallel computing toolbox but do not have the license, the "parfor" loop till not execute since "parfor" checks for license before invoking workers.
Thanks - it is licensed:
license('test','Distrib_Computing_Toolbox')
ans =
1
Update: the toolbox is not listed under 'ver'! Why could this be?
>> ver
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.4.0.813654 (R2018a)
MATLAB License Number: 972477
Operating System: Linux 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64
Java Version: Java 1.8.0_144-b01 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.4 (R2018a)
Image Processing Toolbox Version 10.2 (R2018a)
Signal Processing Toolbox Version 8.0 (R2018a)
Statistics and Machine Learning Toolbox Version 11.3 (R2018a)
There are other toolboxes listed in your add-on explorer that also do not show up in ver.
Try
restoredefaultpath
rehash toolboxcache
Also, it's possible that the parallel computing toolbox is not installed correctly.
Can you please try to uninstall that toolbox (in Add-Ons->Manage Add-Ons-> Search for Parallel Computing Toolbox), then install that toolbox again (in Add-Ons->Get Add-Ons-> Search for Parallel Computing Toolbox)?

댓글을 달려면 로그인하십시오.

답변 (1개)

Sanjay Manohar
Sanjay Manohar 2018년 9월 25일
Thanks all, the commands
restoredefaultpath
rehash toolboxcache
solved the problem.

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

릴리스

R2018a

질문:

2018년 9월 17일

답변:

2018년 9월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by