Linux下MPI+OpenMP程序编译运行出错
2014-04-19 来自:大莔岁 1 人回应

如题,错误提示如下:
[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
请大家给予帮助,谢谢、、、

2014-04-23 来自:road agent

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

您的回应

你还未登陆,不能回应!登陆