On Tue, Nov 1, 2011 at 20:03, Andrey Moshbear <andrey.vul@gmail.com> wrote:On Tue, Nov 1, 2011 at 14:31, Jacques C. Richard <richard@tamu.edu> wrote:I am trying boost::mpi on a big code & getting the following error message from mac mpiC++ (same from an intel super-computer). Can anyone pick out something quickly from that to help please or do you need to see more? I'd like to figure out what I did to not do it! :)Thanks!Jacques[snip]It would be nice if you used nm -C to get namespace::class::methodinstead of gcc's mangled mess.How do you do this?$nm -C prog_or_lib | grep $(nm prog_or_lib | grep _Z[gcc mangle] | cut-d' ' -f1) in terminal.All I can see is boost::mpi::detail::ignore_skeleton_oarchive followedby template args and overloads,boost::archive::detail::interface_oarchive followed by template argsand overloads, and boost::serialization followed by template args andoverloads.Run nm -C to get human-useful symbol names in the backtrace.
c++filt is your friend.
Demangled backtrace:Process=1's mpe_decomp1d MiniGridSize= 3 3 3Pause @ "main: 879: Domain decomposition" if 1 process: <Enter> or <Return> continues; ^C aborts:init_internal_neighbors_wf: Process 1 of 2 exchanging (if necessary) w/+/-1! Sender=1, Receiver=0[jacques-richards-mac-mini:00474] *** Process received signal ***[jacques-richards-mac-mini:00474] Signal: Segmentation fault (11)[jacques-richards-mac-mini:00474] Signal code: Address not mapped (1)[jacques-richards-mac-mini:00474] Failing at address: 0x200000001[jacques-richards-mac-mini:00474] [ 0] 2 libSystem.B.dylib 0x00007fff86fa51ba _sigtramp + 26[jacques-richards-mac-mini:00474] [ 1] 3 ??? 0x0000000000000000 0x0 + 0[jacques-richards-mac-mini:00474] [ 2] 4 Mg 0x000000010010ff0e void boost::mpi::detail::ignore_skeleton_oarchive<boost::mpi::detail::content_oarchive>::save_override<lattice_type*>(lattice_type* const&, int) + 40[jacques-richards-mac-mini:00474] [ 3] 5 Mg 0x000000010010ff3a boost::mpi::detail::content_oarchive& boost::archive::detail::interface_oarchive<boost::mpi::detail::content_oarchive>::operator<< <lattice_type* const>(lattice_type* const&) + 42+ 40[jacques-richards-mac-mini:00474] [ 4] 6 Mg 0x000000010010ff6e void boost::serialization::nvp<lattice_type* const>::save<boost::mpi::detail::content_oarchive>(boost::mpi::detail::content_oarchive&, unsigned int) const[jacques-richards-mac-mini:00474] [ 5] 7 Mg 0x000000010010ff93 boost::serialization::access::??incomplete_name??_______________________________________________...
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users