Hello
I think i have an infinite loop running in a worker. Each time i try to cancel it, PCT crashes. When i restart parallel pool with :
if isempty(gcp('nocreate')) p = parpool(1);else p = gcp('nocreate');end
and then i ask for jobs with :
p.Cluster.Jobs
which gives :
ans = Job Properties: ID: 1 Type: concurrent Username: blafa State: running SubmitDateTime: 02-Apr-2019 14:49:24 StartDateTime: 02-Apr-2019 14:49:33 Running Duration: 0 days 0h 14m 47s NumWorkersRange: [1 1] AutoAttachFiles: true Auto Attached Files: List files AutoAddClientPath: true AttachedFiles: {} AdditionalPaths: 9 paths Associated Tasks: Number Pending: 0 Number Running: 1 Number Finished: 0 Task ID of Errors: [] Task ID of Warnings: []
when i try to cancel it, PCT crashes :
p.Cluster.Jobs.cancelThe client lost connection to worker 1. This might be due to network problems, or the interactive communicating job might haveerrored.
Best Answer