can't do parallel computing

16 ビュー (過去 30 日間)
Leo Lin
Leo Lin 2012 年 10 月 18 日
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

採用された回答

Jason Ross
Jason Ross 2012 年 10 月 18 日
編集済み: Jason Ross 2012 年 10 月 18 日
  • 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.

その他の回答 (1 件)

Leo Lin
Leo Lin 2012 年 10 月 19 日
great! it works now. thank you so much, Jason!
I moved the file aside, and ran parallel validation.
  1 件のコメント
Jason Ross
Jason Ross 2012 年 10 月 19 日
No problem!

サインインしてコメントする。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by