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

19 Ansichten (letzte 30 Tage)
Luca Rossi
Luca Rossi am 8 Sep. 2016
Kommentiert: Davide Menzio am 4 Jun. 2022
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

Antworten (1)

Thorsten
Thorsten am 8 Sep. 2016
Bearbeitet: Thorsten am 8 Sep. 2016
Have you tried to exit Matlab and start over?

Kategorien

Mehr zu Parallel Computing Fundamentals finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by