can't do parallel computing
Show older comments
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
Answers (1)
Edric Ellis
on 11 Dec 2014
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 Comments
AriadnaIvanovic
on 22 Jun 2018
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
on 17 Aug 2020
Edited: Steven Lord
on 17 Aug 2020
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
on 5 May 2021
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
on 18 Feb 2022
Thanks! I just had the same issue and this solved it.
Ravi Prakash
on 11 Apr 2023
Hi Edric, Thanks you very much. It worked.
Categories
Find more on Job and Task Creation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!