Problem about "mpiexec -n 2"

User 2745 | 1/13/2016, 8:45:26 AM

I have a program named "sssptest". When I run it with "./sssptest", it is all ok. But when I run "mpiexec -n 2 ./sssp_test", it has a mistake like:

* Process received signal * [Slave2:22961] Signal: Segmentation fault (11) [Slave2:22961] Signal code: (128) [Slave2:22961] Failing at address: (nil) [Slave2:22961] [ 0] /lib/x8664-linux-gnu/libpthread.so.0(+0x10d10) [0x7f1da7fe4d10] [Slave2:22961] [ 1] ./sssptest(ZNSt8RbtreeIiSt4pairIKiSt6bitsetILm10EEESt10Select1stIS4ESt4lessIiESaIS4EE8MeraseEPSt13RbtreenodeIS4E+0x10) [0x4b1e40] [Slave2:22961] [ 2] ./sssptest(ZNSt8RbtreeIiSt4pairIKiSt6bitsetILm10EEESt10Select1stIS4ESt4lessIiESaIS4EEaSERKSA+0x1a) [0x4b825a] [Slave2:22961] [ 3] ./sssptest(ZN8graphlab18synchronousengineI4ssspE19syncvertexprogramEmm+0x2d7) [0x5300a7] [Slave2:22961] [ 4] ./sssptest(ZN8graphlab18synchronousengineI4ssspE14executeapplysEm+0x58c) [0x53ed8c] [Slave2:22961] [ 5] ./sssptest(ZN8graphlab18synchronousengineI4ssspE35threadlaunchwrappedeventcounterEN5boost8functionIFvvEEE+0x4d) [0x4c5b1d] [Slave2:22961] [ 6] ./sssptest(ZN5boost6detail8function26voidfunctionobjinvoker0INS3bi6bindtIvNS4mfi3mf1IvN8graphlab18synchronousengineI4ssspEENS8functionIFvvEEEEENS35list2INS35valueIPSAEENSGISDEEEEEEvE6invokeERNS115functionbufferE+0xa9) [0x4a8b69] [Slave2:22961] [ 7] ./sssptest(ZN8graphlab11fibergroup6invokeERKN5boost8functionIFvvEEEPS0+0x30) [0x56c840] [Slave2:22961] [ 8] ./sssptest(ZN8graphlab13fibercontrol10trampolineEl+0x6a) [0x5674ea] [Slave2:22961] [ 9] ./sssptest(makefcontext+0x2e) [0x5f20fe] [Slave2:22961] * End of error message *


mpiexec noticed that process rank 0 with PID 22961 on node Slave2 exited on signal 11 (Segmentation fault).

How can I solve it??

Comments

User 1592 | 1/13/2016, 4:28:31 PM

Hi There are many possible reasons. Did you compile PowerGraph on both machines? If the machine OS version is different it will not run properly across different machines unless you compile for each machine.

Can you run mpiexec -n 2 ls

Thanks,


User 2745 | 1/14/2016, 12:02:40 AM

Hi, Danny As you advise, I run "mpiexec -n 2 ls", the output is:

backtrace.0 cmakeinstall.cmake Makefile CMakeFiles CTestTestfile.cmake sssptest backtrace.0 cmakeinstall.cmake Makefile CMakeFiles CTestTestfile.cmake sssptest

PS: Now I just run the program for test in one machine. Thank you very much!!