Parallel processing toobox not working on Ubuntu 18.04
Show older comments
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 Comments
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.
Ming Yue
on 20 Sep 2018
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.
Sanjay Manohar
on 21 Sep 2018
Sanjay Manohar
on 21 Sep 2018
Walter Roberson
on 21 Sep 2018
There are other toolboxes listed in your add-on explorer that also do not show up in ver.
Try
restoredefaultpath
rehash toolboxcache
Ming Yue
on 21 Sep 2018
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)?
Answers (1)
Sanjay Manohar
on 25 Sep 2018
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!