如果我正常运行Matlab,那么gcp
命令会导致正常创建并行池。
如果我从Java的matlabcontrol
运行相同的Matlab,那么gcp
命令不能用于以下错误:
>> gcp
Starting parallel pool (parpool) using the 'InTheMoon' profile ...
Error using parallel.internal.pool.PoolArrayManager.getOrAutoCreateWithCleanup (line 51)
Failed to start a parallel pool. (For information in addition to the causing error, validate the profile 'InTheMoon' in the Cluster Profile Manager.)
Error in gcp (line 33)
aPool = parallel.internal.pool.PoolArrayManager.getOrAutoCreateWithCleanup();
Caused by:
Error using parallel.internal.pool.InteractiveClient/start (line 326)
Failed to start pool.
Error using parallel.Job/submit (line 304)
All dimension arguments must be greater than zero
51 throw(err);
如果我从群集设置对话框执行“验证”,则会发生同样的错误。没有提供额外的综合信息。
这可能是我不理解的一些路径或配置问题。