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?

카테고리

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