2 xukenan1989 xukenan1989 于 2013.10.14 20:23 提问

Linux下MPI+OpenMP程序编译运行出错

如题,错误提示如下:
[node65:03787] *** Process received signal ***
[node65:03787] Signal: Segmentation fault (11)
[node65:03787] Signal code: Address not mapped (1)
[node65:03787] Failing at address: 0x44000098
[node65:03787] [ 0] /lib64/libpthread.so.0 [0x2aaabc14ac00]
[node65:03787] [ 1] /public/share/mpi/openmpi-1.4.5//lib/libmpi.so.0(MPI_Comm_size+0x60) [0x2aaabb398360]
[node65:03787] [ 2] fdtd_3D_xyzPML_MPI_OpenMP(main+0xaa) [0x42479a]
[node65:03787] [ 3] /lib64/libc.so.6(__libc_start_main+0xf4) [0x2aaabc273184]
[node65:03787] [ 4] fdtd_3D_xyzPML_MPI_OpenMP(_ZNSt8ios_base4InitD1Ev+0x39) [0x405d79]
[node65:03787] *** End of error message ***

[node65:03788] *** Process received signal ***
[node65:03788] Signal: Segmentation fault (11)
[node65:03788] Signal code: Address not mapped (1)
[node65:03788] Failing at address: 0x44000098
[node65:03788] [ 0] /lib64/libpthread.so.0 [0x2b663e446c00]
[node65:03788] [ 1] /public/share/mpi/openmpi-1.4.5//lib/libmpi.so.0(MPI_Comm_size+0x60) [0x2b663d694360]
[node65:03788] [ 2] fdtd_3D_xyzPML_MPI_OpenMP(main+0xaa) [0x42479a]
[node65:03788] [ 3] /lib64/libc.so.6(__libc_start_main+0xf4) [0x2b663e56f184]
[node65:03788] [ 4] fdtd_3D_xyzPML_MPI_OpenMP(_ZNSt8ios_base4InitD1Ev+0x39)[0x405d79]

[node65:03788] *** End of error message ***

mpirun noticed that process rank 2 with PID 3787 on node node65 exited on signal 11 (Segmentation fault).

请问各位大侠,这时什么原因引起的啊?急求!!!
我利用gdb调试编译产生的core文件,提示如下:
Starting program: /public/home/xx355/data/fdtd_3D_xyzPML_MPI_OpenMP
[Thread debugging using libthread_db enabled]
[New Thread 47032965403440 (LWP 19821)]
[New Thread 1075841344 (LWP 19825)]
[New Thread 1077942592 (LWP 19826)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47032965403440 (LWP 19821)]
0x00002ac6b5ecd360 in PMPI_Comm_size () from /public/share/mpi/openmpi-1.4.5//lib/libmpi.so.0
请大家给予帮助,谢谢、、、

3个回答

xukenan1989
xukenan1989   2013.10.15 11:33

自己顶一下、、、大家给点建议啊

yaoweijiao
yaoweijiao   2016.04.13 16:40

哎呀,这个我也遇到了,好烦呀,同求答案

chengyu0625
chengyu0625   2016.07.27 15:06
Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!