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

23 Ansichten (letzte 30 Tage)
Jean Paul
Jean Paul am 30 Mai 2019
Kommentiert: Antonios Armaou am 18 Nov. 2021
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).

Antworten (2)

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

Enrique Rodriguez Sebastian
Enrique Rodriguez Sebastian am 21 Jul. 2021
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?

Kategorien

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

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by