我刚刚开始使用并行计算工具包,每当我调用matlabpool open
时,我都会收到以下错误:
??? Error using ==> matlabpool at 127
The interactive parallel job errored with the following message:
Unable to get version information from job. This probably means
that the job was created in a client MATLAB prior to the R2009a
general release, or that the jobdata files of the job are corrupt
我的MATLAB版本是2010a,它是最近安装的。我以前没有对配置进行任何更改,所以它应该是默认配置。当我进入配置管理器并验证本地配置时,我得到了以下结果:
**Find Resource**: Passed
**Distributed Job**: Failed
Details:
Stage: Distributed Job
Status: Failed
Description: The job in the given stage completed, but reported failed due to a task failure.
Command Line Output: (none)
Error Report:
Unable to get version information from job. This probably means
that the job was created in a client MATLAB prior to the R2009a
general release, or that the jobdata files of the job are corrupt
Debug Log:
LOG FILE OUTPUT:
MATLAB is running in headless mode. Figure windows will not be displayed.
To get started, type one of these: helpwin, helpdesk, or demo.
For product information, visit www.mathworks.com.
»
**Parallel Job**: Failed
Details:
Stage: Parallel Job
Status: Failed
Description: The job in the given stage completed, but reported failed due to a task failure.
Command Line Output: (none)
Error Report:
Unable to get version information from job. This probably means
that the job was created in a client MATLAB prior to the R2009a
general release, or that the jobdata files of the job are corrupt
Unable to get version information from job. This probably means
that the job was created in a client MATLAB prior to the R2009a
general release, or that the jobdata files of the job are corrupt
Unable to get version information from job. This probably means
that the job was created in a client MATLAB prior to the R2009a
general release, or that the jobdata files of the job are corrupt
Debug Log:
LOG FILE OUTPUT:
[0] MATLAB is running in headless mode. Figure windows will not be displayed.
[2] MATLAB is running in headless mode. Figure windows will not be displayed.
[1] MATLAB is running in headless mode. Figure windows will not be displayed.
[1]
[1] To get started, type one of these: helpwin, helpdesk, or demo.
[1] For product information, visit www.mathworks.com.
[1]
[1] » [0]
[0] To get started, type one of these: helpwin, helpdesk, or demo.
[0] For product information, visit www.mathworks.com.
[0]
[2]
[2] To get started, type one of these: helpwin, helpdesk, or demo.
[2] For product information, visit www.mathworks.com.
[2]
[0] » [2] »
**Matlabpool**: Skipped
我在其他地方读到命令distcomp.feature( 'LocalUseMpiexec', false )
对一些人有效,但它对我没有影响,同样的测试失败,报告了同样的错误。
以前有人见过这个吗?
这看起来真的很奇怪,我以前从未见过这种故障(而且我可能比大多数人更多地使用本地调度程序)。我唯一能建议的是,您可以吹走本地调度器的DataLocation
的全部内容。您可能还需要检查DataLocation是否指向旧位置。您可以执行以下操作:
s = findResource( 'scheduler', 'Configuration', 'local' );
s.DataLocation % navigate to this directory, delete all contents
% now, restart MATLAB
如果没有帮助,我建议联系The MathWorks安装支持。