can't do parallel computing

3 views (last 30 days)
Leo Lin
Leo Lin on 18 Oct 2012
hello everybody,
I have a problem with parallel computing. I can't open matlabpool. When I type matlabpool 6, I got the following.
Can somebody take a look? Thanks in advance.
Warning: Unable to read the required metadata file
/home/r/.matlab/local_cluster_jobs/R2012a/matlab_metadata.mat
> In distcomp.filestorage.pSetStorageLocation at 117
In distcomp.abstractstorage.abstractstorage at 12
In distcomp.filestorage.filestorage at 50
In CJSCluster>CJSCluster.CJSCluster at 332
In Local.Local>Local.Local at 257
In parcluster at 51
In ProfileConfigHelper>ProfileConfigHelper.buildScheduler at 76
In MatlabpoolHelper>MatlabpoolHelper.parseMatlabpoolInputs at 220
In MatlabpoolHelper>MatlabpoolHelper.parseInputsAndCheckOutputsForFunction at 100
In matlabpool at 130
stopped.
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.)
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

Accepted Answer

Jason Ross
Jason Ross on 18 Oct 2012
Edited: Jason Ross on 18 Oct 2012
  • Take a look in that directory and see if the file is there.
  • Check the permissions on the directory and the file to make sure you can read and write there.
  • Move the file aside (e.g. mv matlab_metadata.mat matlab_metadata.mat.old) and try to open matlabpool again. You might see a warning like "file is missing ... re-creating it")
  • Running validation might tell you more.

More Answers (1)

Leo Lin
Leo Lin on 19 Oct 2012
great! it works now. thank you so much, Jason!
I moved the file aside, and ran parallel validation.

Tags

Community Treasure Hunt

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

Start Hunting!