parpool warning: A task was unexpectedly found in state: Unavailable.

조회 수: 13 (최근 30일)
Jean Paul
Jean Paul 2019년 5월 30일
댓글: Antonios Armaou 2021년 11월 18일
The program still works correctly, but I cannot explai the warning
Starting parallel pool (parpool) using the 'local' profile ...
Warning: A task was unexpectedly found in state: Unavailable.
> In parallel.cluster.Local/deriveJobStateFromTasks (line 29)
In parallel.cluster.Local/getJobState (line 179)
In parallel.cluster.CJSCluster/hGetJobState (line 358)
In parallel.internal.cluster.CJSJobMixin/hGetStateEnum (line 144)
In parallel.Job/get.StateEnum (line 238)
In parallel.Job/get.State (line 230)
In parallel.internal.customattr.CustomGetSet>iVectorisedGetHelper (line 128)
In parallel.internal.customattr.CustomGetSet>@(a,b,c)iVectorisedGetHelper(obj,a,b,c) (line 102)
In parallel.internal.customattr.CustomGetSet/doVectorisedGet (line 103)
In parallel.internal.customattr.CustomGetSet/hVectorisedGet (line 76)
In parallel.internal.customattr.GetSetImpl>iAccessProperties (line 322)
In parallel.internal.customattr.GetSetImpl>iGetAllPropertiesVec (line 264)
In parallel.internal.customattr.GetSetImpl.getImpl (line 133)
In parallel.internal.customattr.CustomGetSet>iHetFunGetFunction (line 154)
In parallel.internal.customattr.CustomGetSet>@(o)iHetFunGetFunction(o,props) (line 139)
In parallel.internal.cluster.hetfun (line 46)
In parallel.internal.customattr.CustomGetSet>iHetFunGetProperty (line 139)
In parallel.internal.customattr.CustomGetSet/get (line 38)
In parallel.internal.pool.InteractiveClient/pRemoveOldJobs (line 476)
In parallel.internal.pool.InteractiveClient/start (line 317)
In parallel.Pool>iStartClient (line 796)
In parallel.Pool.hBuildPool (line 585)
In parallel.internal.pool.doParpool (line 18)
In parpool (line 98)
In utils.SERVER (line 5)
Connected to the parallel pool (number of workers: 32).

답변 (2개)

Mirko Job
Mirko Job 2019년 9월 16일
You have to delete the folder "local_scheduler_data" from "C:\Users\[your pc]\AppData\Roaming\MathWorks\MATLAB"

Enrique Rodriguez Sebastian
Enrique Rodriguez Sebastian 2021년 7월 21일
Hi all!
I have similar warning:
Warning: A task was unexpectedly found in state: Unavailable.
> In parallel.cluster.Local/deriveJobStateFromTasks (line 29)
In parallel.cluster/Local/getJobState (line 174)
In parallel.cluster/CJSCluster/hGetJobState (line 375)
In parallel.internal.cluster/CJSJobMixin/hGetStateEnum (line 175)
In parallel.Job.get.StateEnum (line 242)
In parallel.Job.get.State (line 234)
In parallel.internal.customattr.CustomGetSet>iVectorisedGetHelper (line 128)
In parallel.internal.customattr.CustomGetSet>@(a,b,c)iVectorisedGetHelper(obj,a,b,c) (line 102)
In parallel.internal.customattr/CustomGetSet/doVectorisedGet (line 103)
In parallel.internal.customattr/CustomGetSet/hVectorisedGet (line 76)
In parallel.internal.customattr.GetSetImpl>iAccessProperties (line 322)
In parallel.internal.customattr.GetSetImpl>iGetAllPropertiesVec (line 264)
In parallel.internal.customattr/GetSetImpl/getImpl (line 133)
In parallel.internal.customattr.CustomGetSet>iHetFunGetFunction (line 154)
In parallel.internal.customattr.CustomGetSet>@(o)iHetFunGetFunction(o,props) (line 139)
In parallel.internal.cluster.hetfun (line 46)
In parallel.internal.customattr.CustomGetSet>iHetFunGetProperty (line 139)
In parallel.internal.customattr/CustomGetSet/get (line 38)
In parallel.internal.pool/InteractiveClient/pRemoveOldJobs (line 468)
In parallel.internal.pool/InteractiveClient/start (line 311)
In parallel.internal.pool.AbstractClusterPool>iStartClient (line 826)
In parallel.internal.pool/AbstractClusterPool/hBuildPool (line 596)
In parallel.internal.pool.doParpool (line 20)
In parpool (line 122)
In parallel.internal.pool/PoolArrayManager/getOrAutoCreateWithCleanup (line 58)
In pctTryCreatePoolIfNecessary (line 28)
In parallel_function (line 418)
But I couldn´t find the folder "local_scheduler_data" from "C:\Users\[your pc]\AppData\Roaming\MathWorks\MATLAB"
In that path I have: local_cluster_jobs, R2020a and R2020a_licenses folders
What can I do to solve it?

카테고리

Help CenterFile Exchange에서 Parallel Computing Fundamentals에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by