Boost logo

Boost-MPI :

Subject: [Boost-mpi] Incompatibility boost::mpi, boost::mpi::python, and OpenMPI 1.7, 1.8
From: Amos Anderson (amos.anderson_at_[hidden])
Date: 2014-09-29 16:21:19

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.


Here's the boost::mpi code:

environment::environment(int& argc, char** &argv, bool abort_on_exception)
 : i_initialized(false),
 if (!initialized()) {
   BOOST_MPI_CHECK_RESULT(MPI_Init, (&argc, &argv));
   i_initialized = true;


Boost-Commit list run by troyer at