21 Mar
2014
21 Mar
'14
1:50 p.m.
it doesn't work for me.
To be sure I understand because you were vague... You believe it shouldn't segfault when the binary is executed without using mpirun? If it's even possible depends on your MPI stack. There's zero guarantee in the MPI standard, IIRC, that an MPI-based binary can be executed without mpirun. The latter case does not segfault for me on MPICH2 1.4.1p1, gcc 4.6.3, Boost 1.5.1. I suggest you attach debugger and isolate the origin of the segfault. - Rhys