Segmentation fault

Submitted by MINIMANGO on Fri, 11/08/2019 - 05:00

Hi all,

After I compile LIGGGHTS with make auto command and copy the lmp_auto into example/chute_wear, the mpi process had a segmentation fault which is :

[yjin6-Precision-5820-Tower:01114] *** Process received signal ***
[yjin6-Precision-5820-Tower:01114] Signal: Segmentation fault (11)
[yjin6-Precision-5820-Tower:01114] Signal code: Address not mapped (1)
[yjin6-Precision-5820-Tower:01114] Failing at address: 0x28
[yjin6-Precision-5820-Tower:01114] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7faddd2d7390]
[yjin6-Precision-5820-Tower:01114] [ 1] /usr/lib/libmpi.so.12(mca_allocator_component_lookup+0x31)[0x7faddbdac601]
[yjin6-Precision-5820-Tower:01114] [ 2] /usr/local/lib/openmpi/mca_mpool_hugepage.so(mca_mpool_hugepage_module_init+0xc1)[0x7fadcbdfda71]
[yjin6-Precision-5820-Tower:01114] [ 3] /usr/local/lib/openmpi/mca_mpool_hugepage.so(+0x2358)[0x7fadcbdfe358]
[yjin6-Precision-5820-Tower:01114] [ 4] /usr/local/lib/libopen-pal.so.40(mca_base_framework_components_open+0xc3)[0x7faddb59db73]
[yjin6-Precision-5820-Tower:01114] [ 5] /usr/local/lib/libopen-pal.so.40(+0xcd312)[0x7faddb612312]
[yjin6-Precision-5820-Tower:01114] [ 6] /usr/local/lib/libopen-pal.so.40(mca_base_framework_open+0x85)[0x7faddb5a85d5]
[yjin6-Precision-5820-Tower:01114] [ 7] /usr/local/lib/libmpi.so.40(ompi_mpi_init+0x5f1)[0x7faddde34571]
[yjin6-Precision-5820-Tower:01114] [ 8] /usr/local/lib/libmpi.so.40(MPI_Init+0x6e)[0x7faddde625de]
[yjin6-Precision-5820-Tower:01114] [ 9] ./lmp_auto[0x40e7ae]
[yjin6-Precision-5820-Tower:01114] [10] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7faddcf1c830]
[yjin6-Precision-5820-Tower:01114] [11] ./lmp_auto[0x40e9b9]
[yjin6-Precision-5820-Tower:01114] *** End of error message ***
Segmentation fault (core dumped)

Actually, this happens in the very early stage when program starts. Because when I run ./lmp_auto without any input, same error still happens.
When I try make-serial mode, there isn't this kind of fault, so I believe that this problem is due to mpi conflict with LIGGGHTS. I have found some similar problem happened before, do you guys know how to solve this problem? Thanks a lot!