parpool does not open.

7 ビュー (過去 30 日間)
Arabarra
Arabarra 2020 年 2 月 24 日
コメント済み: Andrew Eck 2024 年 3 月 13 日
Hi,
Since a couple of weeks and out of a sudden, I cannot use Parallel Toolbox utilities on any of my Linux workstations.
maybe somebody can suggest something we didn't try. What we have tried till now:
  • We have excluded it is a licence problem (together witht the support team)
  • Deleting folders under ~/.matlab
  • Reinstalling Matlab
  • Using the option set distcomp.feature('LocalUseMpiexec') to false (or true)
  • startup.m and .bashrc have been cleaned
When I open it, it takes hours to open (if it opens at all). If I control+C the command, I get the following:
>> tic;a=parpool(16,'SpmdEnabled',true);toc
Starting parallel pool (parpool) using the 'local' profile ...
Operation terminated by user during parallel.internal.getJavaFutureResult (line 15)
In parallel.internal.pool.InteractiveClient/waitForSessionCreation (line 649)
sessionFuture, 1, java.util.concurrent.TimeUnit.SECONDS);
In parallel.internal.pool.InteractiveClient/start (line 356)
obj.Session = obj.waitForSessionCreation(sessionFuture, connectionCounter,
...
In parallel.Pool>iStartClient (line 796)
spmdInitialized = client.start(poolType , numWorkers, cluster, ...
In parallel.Pool.hBuildPool (line 585)
iStartClient(client, 'pool', cluster, guiMode, supportRestart, argsList);
In parallel.internal.pool.doParpool (line 18)
pool = parallel.Pool.hBuildPool(constructorArgs{:});
In parpool (line 98)
pool = parallel.internal.pool.doParpool(varargin{:});
Somebody has an idea what I could check or try?
thanks,
Daniel
  4 件のコメント
Raymond Norris
Raymond Norris 2021 年 2 月 17 日
Please contact Technical Support (support@mathworks.com) to resolve this.
Andrew Eck
Andrew Eck 2024 年 3 月 13 日
For other folks who stumble on this, I had a seemingly identical issue in Windows, and have a possible workaround for that case.
Same issue, trying to create a parpool hung seemingly indefinitely, and pausing would show that an exception was being thrown in parallel.internal.getJavaFutureResult
But, if I closed MATLAB and reopened with the 'Run As Administrator' option, parpool created within seconds without any issue.
Unclear a) why this is the case, b) how to fix so that admin privilege not needed, or c) how applicable it would be for Linux folks with the same issue

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeParallel Computing Fundamentals についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by