Thanks Dave!<br><br>I tried "HYDRA_BINDLIB=bogus mpiexec", it still segfaults :(<br><br>I reconfigure and rebuild with "CFLAGS=-g", here is "gdb mpiexec" bt output:<br><br>(gdb) run<br>Starting program: /home/lgu/mpich2_install/bin/mpiexec<br>
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x2aaaaaaab000<br>[Thread debugging using libthread_db enabled]<br><br>Program received signal SIGSEGV, Segmentation fault.<br>0x0000003ef10e72bf in __vsnprintf_chk () from /lib64/libc.so.6<br>
(gdb) bt<br>#0 0x0000003ef10e72bf in __vsnprintf_chk () from /lib64/libc.so.6<br>#1 0x0000003ef10e722b in __snprintf_chk () from /lib64/libc.so.6<br>#2 0x0000003ef0c0d1bb in call_init () from /lib64/ld-linux-x86-64.so.2<br>
#3 0x0000003ef0c0d2c5 in _dl_init_internal () from /lib64/ld-linux-x86-64.so.2<br>#4 0x0000003ef0c00aaa in _dl_start_user () from /lib64/ld-linux-x86-64.so.2<br>#5 0x0000000000000001 in ?? ()<br>#6 0x00007fffffffeae0 in ?? ()<br>
#7 0x0000000000000000 in ?? ()<br>(gdb) <br><br><br>Thank you!<br><br>Limin<br><br>> Can you "gdb mpiexec" and find us a stack trace for the failing mmap? You may need to reconfigure and rebuild with "CFLAGS=-g" in order to get meaningful information from the debugger? That value (18446744073223036928) is suspicious, it's 0xFFFFFFFFE3006000 in hex or -486,514,688 decimal if interpreted as a signed value instead. It may be that the compiler or the code is doing some math incorrectly on size_t types.<br>
><br>> AFAIK hydra does not mprotect at all, so if that mmap is coming from the same place then this error may be happening in a non-MPICH2 library.<br>><br>> We do mmap in hydra indirectly in the hwloc package, in a fashion consistent with your strace output, and we have definitely had problems with PGI+hwloc in the past. You might try running "HYDRA_BINDLIB=bogus mpiexec" to see if disabling hwloc will avoid the segfault. If it does, you should be able to reconfigure and rebuild MPICH2 using "--without-hydra-bindlib" to get a working MPICH2, but lacking built-in process binding functionality.<br>
><br>> -Dave<br>><br>><br>> _______________________________________________<br>> mpich-discuss mailing list<br>> <a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a><br>
> <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
><br><br>