can't do parallel computing
显示 更早的评论
Error using matlabpool (line 144) Failed to open matlabpool. (For information in addition to the causing error, validate the profile 'local' in the Cluster Profile Manager.)
Error in feaExtract_parallel (line 28) matlabpool local 12;
Error in run_vtln_all (line 2) feaExtract_parallel( '../list/transform.list', 12);
Caused by: Error using distcomp.interactiveclient/start (line 61) Failed to locate and destroy old interactive jobs. This is caused by: The storage metadata file does not exist or is corrupt
回答(1 个)
Edric Ellis
2014-12-11
You might need to clear out the "Storage Location" directory on disk - you can find this by executing:
c = parcluster('local')
d = c.JobStorageLocation
I would suggest deleting or renaming that directory - it should be re-created automatically for you.
5 个评论
AriadnaIvanovic
2018-6-22
Hi, I'm running a script in multiple jobs simultaneously in a SLURM cluster. If I delete that directory, would I lose the workers of different jobs? Thanks
Piyaliguha Dutta
2020-8-17
编辑:Steven Lord
2020-8-17
I deleted the latest folder and files created in the ../appdata/Roaming/Mathworks/Matlab/local_cluster_jobs/R2017b/ folder. Then ran validate on cluster profile. It ran fine. Now parpool is working
[SL: formatted text as text not code]
Caleb Davison
2021-5-5
THANK YOU! There were posts all over that I saw and this was the only one that had a solution that worked for me. When I emptied the contents of the ~/.matlab/local_cluster_jogs/r2019b/, I was then able to run parpool without issues.
Marcel Lamac
2022-2-18
Thanks! I just had the same issue and this solved it.
Ravi Prakash
2023-4-11
Hi Edric, Thanks you very much. It worked.
类别
在 帮助中心 和 File Exchange 中查找有关 Job and Task Creation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!