Error starting parallel pool

12 ビュー (過去 30 日間)
MatlabNinja 2017 年 6 月 5 日
コメント済み: Raymond Norris 2020 年 11 月 2 日
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 件のコメント
Walter Roberson
Walter Roberson 2017 年 6 月 5 日
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.


回答 (1 件)

Lionel Trebuchon
Lionel Trebuchon 2020 年 11 月 2 日
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 件のコメント
Raymond Norris
Raymond Norris 2020 年 11 月 2 日
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.).



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!

Translated by