GuoKeCCC的个人博客分享 http://blog.sciencenet.cn/u/GuoKeCCC

博文

matlab无法打开并行

已有 4084 次阅读 2021-11-12 13:10 |个人分类:MATLAB|系统分类:科研笔记

【问题】输入 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.

【解决】

  1. 在matlab命令行窗口中运行distcomp.feature( 'LocalUseMpiexec', false );

  2. 将此命令添加到安装目录中的startup.m文件中。


参考链接:https://www.mathworks.com/matlabcentral/answers/196549-failed-to-start-a-parallel-pool-in-matlab2015a



https://m.sciencenet.cn/blog-3486942-1312108.html

上一篇:ArcGIS报错:The truth value of a raster is ambiguous
下一篇:CDO (Climate Data Operators)安装遇到的问题及解决

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-19 11:44

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部