how do I delete pre-existing jobs in parpool from remote cluster

15 ビュー (過去 30 日間)
Luca Rossi
Luca Rossi 2016 年 9 月 8 日
コメント済み: Davide Menzio 2022 年 6 月 4 日
Hi,
I am running a code in parallel on a remote cluster. I access the cores with
POOL = parpool('local',8);
but I keep on getting this message:
Starting parallel pool (parpool) using the 'local' profile ... [Warning: Found 1 pre-existing communicating job(s) created by pool that are pending or queued. You can use 'delete(myCluster.Jobs)' to remove all jobs created with profile local. To create 'myCluster' use 'myCluster = parcluster('local')'.] connected to 8 workers.
When I try to follow the suggestion in the warning I get another warning saying that they can't switch down the pre-existing job. I also tried with
p = gcp; delete(p.Jobs);
but it doesn't really work.
Any help would be greatly appreciated, thanks

回答 (1 件)

Thorsten
Thorsten 2016 年 9 月 8 日
編集済み: Thorsten 2016 年 9 月 8 日
Have you tried to exit Matlab and start over?
  1 件のコメント
Markus Tilichi
Markus Tilichi 2021 年 4 月 10 日
Have you tried turning it off and on again?

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

カテゴリ

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