小编Ama*_*ppa的帖子

mpiexec因MPI init中止而失败

我试图在运行Ubuntu 11.04(Natty Narwhal)的64位机器上安装MPICH 2.我用了

sudo apt-get install mpich2
Run Code Online (Sandbox Code Playgroud)

首先,我惊讶地发现没有安装mpd.在查看Google时,我看到Hydra是新的默认包管理器.所以我试着运行我的MPI代码.我收到以下错误.

> -------------------------------------------------------------------------------------------
> [ip-10-99-75-58:02212] [[INVALID],INVALID] ORTE_ERROR_LOG: A
> system-required executable either could not be found or was not
> executable by this user in file
> ../../../../../../orte/mca/ess/singleton/ess_singleton_module.c at
> line 357 [ip-10-99-75-58:02212] [[INVALID],INVALID] ORTE_ERROR_LOG: A
> system-required executable either could not be found or was not
> executable by this user in file
> ../../../../../../orte/mca/ess/singleton/ess_singleton_module.c at
> line 230 [ip-10-99-75-58:02212] [[INVALID],INVALID] ORTE_ERROR_LOG: A
> system-required executable either could …
Run Code Online (Sandbox Code Playgroud)

mpich

11
推荐指数
2
解决办法
2万
查看次数

具有多个出口点的代码的循环复杂性

如何找到具有多个出口点的函数的圈复杂度?维基页面显示p-s + 2,其中p是决策点的数量,s是退出点的数量.

但是,不应该有更多的出口点增加圈复杂度,因为它可能导致更独立的路径?

干杯,

祖阿曼

cyclomatic-complexity

2
推荐指数
1
解决办法
1058
查看次数

标签 统计

cyclomatic-complexity ×1

mpich ×1