Error starting parallel pool

12 views (last 30 days)
MatlabNinja
MatlabNinja on 5 Jun 2017
Commented: Raymond Norris on 2 Nov 2020
Hi I am getting following error when I start parallel pool. Any insight would be appreciated.
Starting parallel pool (parpool) using the 'local' profile ... Warning: Unable to calculate the dependencies of the files: C:\Program Files\MATLAB\R2017a\toolbox\distcomp\@distcomp\nop.m
because: Unexpected Standard exception from MEX file. What() is:fl:filesystem:AccessDenied
  1 Comment
Walter Roberson
Walter Roberson on 5 Jun 2017
You appear to have a corrupt installation, at least in the matter of the security permissions on various files or directories. I would recommend uninstalling the Parallel Computing Toolbox and reinstalling it.

Sign in to comment.

Answers (1)

Lionel Trebuchon
Lionel Trebuchon on 2 Nov 2020
It is painful to have this warning and to always come back to this very thread. It seems like the warning is a "symptom" of slow startup. I can only write down the different tests that have been made. The workers appea in admin center, and all I am trying to do is the following:
cluster = parcluster('IRAMP_MDCS_TRAIN');
p = parpool(cluster, 1)
On worker server client node:
  1. command prompt: mdce stop -> mdce uninstall -> mdce install -> mdce start
  2. command prompt (as Administrator): mdce stop -> mdce uninstall -> mdce install -> mdce start
On head node:
  1. Make more workers (on worker server client) available than needed.
  2. Make workers available on head node instead of worker server client.
The toolboxes available on the head node are many, on the worker server client node, apart from the basics: database + datafeed, distcomp, stats
  1 Comment
Raymond Norris
Raymond Norris on 2 Nov 2020
Just want to make one observation. The OP is using the local scheduler ("using the 'local' profile") . Lionel's comments are in regards to the MJS scheduler (admin center, mdce, etc.).

Sign in to comment.

Categories

Find more on Startup and Shutdown 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!