From 463e897f75b6bae5417a667b76fdd9f3612716c7 Mon Sep 17 00:00:00 2001 From: "Ventre, Brian D." Date: Thu, 4 Sep 2014 09:07:03 -0400 Subject: [PATCH 1/2] Fix #10444: MPI archive failure Add "const" to save_override for archive::class_id_type and archive::version_type. WIthout it, they do not participate in overload resolution when called with a const argument, and the default template function is called. This leads to saving 4 bytes for archive::version_type, but only loading 1 -- all subsequent load operations are then off by 3 bytes. --- include/boost/mpi/packed_oarchive.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/mpi/packed_oarchive.hpp b/include/boost/mpi/packed_oarchive.hpp index 887aeac..ab8e3a6 100644 --- a/include/boost/mpi/packed_oarchive.hpp +++ b/include/boost/mpi/packed_oarchive.hpp @@ -121,12 +121,12 @@ public: * this->This() << s; } - void save_override(archive::class_id_type & t, int version){ + void save_override(const archive::class_id_type & t, int version){ const boost::int_least16_t x = t; * this->This() << x; } - void save_override(archive::version_type & t, int version){ + void save_override(const archive::version_type & t, int version){ const boost::int_least8_t x = t; * this->This() << x; } From b636b6dbe7d568a736ce6ebb1f693125a5ccf2b6 Mon Sep 17 00:00:00 2001 From: Noel Belcourt Date: Fri, 31 Oct 2014 13:17:08 -0600 Subject: [PATCH 2/2] Fix broken develop testers. Comment out missing test files committed by Alain Miniussi so develop testers that run MPI testers will cycle again. --- test/Jamfile.v2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 6c31448..60436d8 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -17,7 +17,7 @@ if [ mpi.configured ] { test-suite mpi : - [ mpi-test broadcast_stl_test : : : 2 ] + # [ mpi-test broadcast_stl_test : : : 2 ] [ mpi-test all_gather_test ] [ mpi-test all_reduce_test ] [ mpi-test all_to_all_test ]