MATLAB并行工具箱虽然没有进行深入研究,但是parfor的易用性和威力还是很诱人的。
但是2015a版的在win7系统(我试了好几台电脑)上parpool起不来,
报如下错误
>>
parpool Starting parallel pool (parpool) using the
'local' profile ... Error using parpool (line
103)Failed to start a parallel pool. (For information in addition
to the causing error, validate the profile'local' in the Cluster
Profile Manager.)Caused by:Error using
parallel.internal.pool.InteractiveClient>iThrowWithCause
(line 667)Failed to initialize the interactive session.Error using
parallel.internal.pool.InteractiveClient>iThrowIfBadParallelJobStatus
(line 768)The interactive communicating job failed with no
message.
同样的安装文件在win8.1上安装就没有任何问题。
后来用matlab自带的工具测试了一下原来是spmd功能打不开,如下图