首页 > 解决方案 > 分段错误(核心转储) Openmpi.4.0.0

问题描述

我安装了 Open MPI 4.0.0,似乎还可以。但是当我尝试在示例文件中运行示例 hello_c 时,它不起作用。我把终端

 mpirun -np 4 hello_c

我得到以下错误:

[gabriel-Inspiron-5558] *** Process received signal ***
[gabriel-Inspiron-5558] Signal: Segmentation fault (11)
[gabriel-Inspiron-5558] Signal code: Address not mapped (1)
[gabriel-Inspiron-5558] Failing at address: (nil)
[gabriel-Inspiron-5558] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x46210)[0x7f00bf512210]
[gabriel-Inspiron-5558] *** End of error message ***
Segmentation fault (core dumped)

我能做些什么来纠正这个问题?

标签: segmentation-faultmpiopenmpi

解决方案


推荐阅读