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

Antworten (1)

Edric Ellis
Edric Ellis am 11 Dez. 2014

6 Stimmen

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 Kommentare

AriadnaIvanovic
AriadnaIvanovic am 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
Piyaliguha Dutta am 17 Aug. 2020
Bearbeitet: Steven Lord am 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
Caleb Davison am 5 Mai 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
Marcel Lamac am 18 Feb. 2022
Thanks! I just had the same issue and this solved it.
Ravi Prakash
Ravi Prakash am 11 Apr. 2023
Hi Edric, Thanks you very much. It worked.

Melden Sie sich an, um zu kommentieren.

Tags

Gefragt:

am 10 Dez. 2014

Kommentiert:

am 11 Apr. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by