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

19 次查看(过去 30 天)
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?

类别

Help CenterFile Exchange 中查找有关 Parallel Computing Fundamentals 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by