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!