我正在使用 here 中的示例作为 MATLAB 2014b 中的“使用 MapReduce 计算平均值”。当我运行示例时,出现以下错误:
Starting parallel pool (parpool) using the 'local' profile ... Error using mapreducer (line 96) Failed to start a parallel pool. (For information in addition to the causing error, validate the profile 'local' in the Cluster Profile Manager.)
Error in gcmr (line 34) mr = mapreducer();
Error in mapreduce (line 94) mrcer = gcmr();
Error in MapReduceFunction (line 10) meanDelay = mapreduce(ds, @Mapper1, @Reducer1);
Caused by: Error using parallel.internal.pool.InteractiveClient/start (line 329) Failed to start pool. Error using parallel.Job/submit (line 304) All dimension arguments must be greater than zero
我检查了'local'配置文件,它有一些问题如下图:
我们如何解决这个问题?
最佳答案
在使用 MATLAB 并解决问题后,我找到了解决方案。出现此验证错误的原因多种多样。其中一种解决方案如下:
(1) Run the following MATLAB commands in order:
rehash toolboxcache;
restoredefaultpath;
savepath
(2) Restart MATLAB and try the validation again.
关于matlab - 无法使用 MATLAB MapReducer 2014b 中的 'local' 配置文件启动并行池,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27984963/