25 Jul
2011
25 Jul
'11
1:39 a.m.
I'm trying to send a 3D boost::multi_array containing std::list of pointers to particle structs via boost::mpi and keep getting a segfault on receive.
typedef Vector3d V3D; //Convenience typedef for Eigen3 vector
struct Particle { V3D r, u; ...
};
Looks like you may be missing EIGEN_MAKE_ALIGNED_OPERATOR_NEW. See http://eigen.tuxfamily.org/dox/TopicStructHavingEigenMembers.html. No idea if that's ultimately the cause, but it looks quite suspect and should be fixed regardless, Rhys