On 24/07/2017 10:12, Alain Miniussi via Boost-mpi wrote:

On 24/07/2017 09:56, Alain Miniussi via Boost-mpi wrote:
On 24/07/2017 05:29, Belcourt, Kenneth wrote:
  
Looks like different issues now:

gcc.compile.c++ ../../../bin.v2/libs/mpi/build/gcc-4.7.2/debug/threading-multi/point_to_point.o

../../../libs/mpi/src/point_to_point.cpp: In function ‘void boost::mpi::detail::packed_archive_send(MPI_Comm, int, int, const boost::mpi::packed_oarchive&)’:
../../../libs/mpi/src/point_to_point.cpp:32:3: error: invalid conversion from ‘const void*’ to ‘void*’ [-fpermissive]
In file included from ../../../boost/mpi/config.hpp:20:0,
                 from ../../../boost/mpi/detail/point_to_point.hpp:12,
                 from ../../../libs/mpi/src/point_to_point.cpp:20:
/SDK/mpi/openmpi/1.6.4-gcc-4.7.2-RHEL6/include/mpi.h:1384:20: error:   initializing argument 1 of ‘int MPI_Send(void*, int, MPI_Datatype, int, int, MPI_Comm)’ [-fpermissive]

Looks like a non-conforming MPI implementation (according to http://mpi-forum.org/docs/mpi-3.0/mpi30-report.pdf, the first argument of MPI_Send *is* a "void const*").
Right, the 1.6 serie has it wrong, was fixed later (or the standard changed?). I'm installing one of those for validation purpose.
Should be better with https://github.com/boostorg/mpi/pull/50 (merged on develop).