Hello --
I'm getting a segmentation fault in my program, which uses boost 1.55. I approached the OpenMPI folks, thread starts here:
and it appears that the problem is that when MPI_Init is called, boost::mpi is violating the C99 standard which requires argv[argc] == NULL:
Is this a known problem? It's not urgent for me, since OpenMPI 1.6.5 works ok.
Thanks!
Amos.
Here's the boost::mpi code:
environment::environment(int& argc, char** &argv, bool abort_on_exception)
: i_initialized(false),
abort_on_exception(abort_on_exception)
{
if (!initialized()) {
BOOST_MPI_CHECK_RESULT(MPI_Init, (&argc, &argv));
i_initialized = true;
}
MPI_Errhandler_set(MPI_COMM_WORLD, MPI_ERRORS_RETURN);
}