在MATLAB中启动Parpool

时间:2016-11-07 09:58:49

标签: matlab parallel-processing local matlabpool

我尝试在parpool中启动MATLAB 2015b。命令如下,

parpool('local',3);

此命令应分配3个工作人员。虽然我收到一条错误消息,指出无法启动parpool。错误消息如下,

 Error using parpool (line 94)
 Failed to start a parallel pool. (For information in addition to 
 the causing error, validate the profile 'local' in the Cluster Profile
 Manager.)

在(https://nl.mathworks.com/matlabcentral/answers/196549-failed-to-start-a-parallel-pool-in-matlab2015a)中发布了类似的查询。我按照相同的步骤,根据建议验证本地配置文件。

distcomp.feature( 'LocalUseMpiexec', false);中使用distcomp.feature( 'LocalUseMpiexec', true)startup.m并未带来任何改进。此外,在尝试验证local配置文件时,仍会显示如下错误消息,

VALIDATION DETAILS
Profile: local
Scheduler Type: Local

Stage: Cluster connection test (parcluster)
Status: Passed
Description:Validation Passed
Command Line Output:(none)
Error Report:(none)
Debug Log:(none)

Stage: Job test (createJob)
Status: Failed
Description:The job errored or did not reach state finished.
Command Line Output:
Failed to determine if job 24 belongs to this cluster because: Unable to 
read file 'C:\Users\varad001\AppData\Roaming\MathWorks\MATLAB 
\local_cluster_jobs\R2015b\Job24.in.mat'. No such file or directory..

Error Report:(none)
Debug Log:(none)

Stage: SPMD job test (createCommunicatingJob)
Status: Failed
Description:The job errored or did not reach state finished.
Command Line Output: 
Failed to determine if job 25 belongs to this cluster because: Unable to 
read file 'C:\Users\varad001\AppData\Roaming\MathWorks\MATLAB   
\local_cluster_jobs\R2015b\Job25.in.mat'. No such file or directory..

Error Report:(none)
Debug Log:(none)

Stage: Pool job test (createCommunicatingJob)
Status: Skipped
Description:Validation skipped due to previous failure.
Command Line Output:(none)
Error Report:(none)
Debug Log:(none)

Stage: Parallel pool test (parpool)
Status: Skipped
Description:Validation skipped due to previous failure.
Command Line Output:(none)
Error Report:(none)
Debug Log:(none)

我仅在群集计算机中收到这些错误。但是在我的独立PC中启动parpool非常有效。有没有办法纠正这个问题?

0 个答案:

没有答案