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

16 views (last 30 days)
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).

Answers (2)

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

Enrique Rodriguez Sebastian
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?

Categories

Find more on Parallel Computing Fundamentals in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!