0

我尝试parpoolMATLAB 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);or distcomp.feature( 'LocalUseMpiexec', true)instartup.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)

我只在我的集群机器中收到这些错误。但是parpool在我的独立 PC 中启动运行良好。有没有办法纠正这个问题?

4

0 回答 0