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

Answers (1)

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

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
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]
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.
Thanks! I just had the same issue and this solved it.
Hi Edric, Thanks you very much. It worked.

Sign in to comment.

Tags

Asked:

on 10 Dec 2014

Commented:

on 11 Apr 2023

Community Treasure Hunt

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

Start Hunting!