||
【问题】输入 p=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.
【解决】
在matlab命令行窗口中运行distcomp.feature( 'LocalUseMpiexec', false );
将此命令添加到安装目录中的startup.m文件中。
参考链接:https://www.mathworks.com/matlabcentral/answers/196549-failed-to-start-a-parallel-pool-in-matlab2015a
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-4-19 11:44
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社