2
0
mirror of https://github.com/boostorg/mpi.git synced 2026-02-25 16:32:22 +00:00
Commit Graph

96 Commits

Author SHA1 Message Date
Alain Miniussi
f0a95bdb9d Make homogeneous platform the default.
It is the default in HPC anyway, and the default of most underlying MPI implementions.
2015-04-21 16:57:28 +02:00
Alain Miniussi
15ad1b215b When ptfo workaround was removed from serialization, some changes
had to be made in the  MPI library (extra argument were inserted only
to help overloading resolution and had to be removed). I missed one
in heterogrneous mode. Here it is.
2015-04-16 17:09:35 +02:00
Alain Miniussi
fc959903e3 Consistency between mpl's true and fale usage. 2015-04-16 17:08:42 +02:00
Alain Miniussi
5a17a3b90a restore the default setting 2015-04-16 17:08:21 +02:00
Alain Miniussi
db6b816964 Following a change in serializtion, the
save_override(const archive::class_id_optional_type & )
was not overriden anymore in oarchive.
2015-04-16 15:16:59 +02:00
Alain Miniussi
b21015c131 Select homogeneous platform. That's the most common situationin HPC but it is not selected by default for portability. 2015-04-15 13:10:24 +02:00
Alain Miniussi
40c3f3ec2e Propagated some changes made in serilization related with archive version and pfto removal. 2015-04-14 17:10:39 +02:00
Noel Belcourt
cf5785e040 Merge pull request #11 from ventrebd/fix-#10444-mpi-archive-failure
Fix #10444: MPI archive failure

No, I wasn't sure enough of the impact of this change to want it in 1.57.  I just merged it now, we'll have 3 months to make sure it doesn't cause any problems.  I apologize for the delay.
2014-10-31 14:37:41 -06:00
Alain Miniussi
3884466f5c Forgot to test the non mpi primitive type. 2014-10-29 00:47:37 +01:00
Alain Miniussi
fad1e0737b Add a basic sendrecv that should be a direct transcription of the C interface. 2014-10-28 14:47:37 +01:00
Alain Miniussi
1d498e48d5 Merge branch 'develop' into compound_recv_wait 2014-09-16 13:47:01 +02:00
Alain Miniussi
ed4852863a In wait_any, we need to test for compound recv of serialized object that just got the size but not the body (that is, request[1] == null & handler != null).
Note that in:
if (current->m_requests[0] != MPI_REQUEST_NULL &&
        (current->m_requests[1] != MPI_REQUEST_NULL ||
         current->m_handler)) {
      if (optional<status> result = current->test())
        return std::make_pair(*result, current);
    }

I suspect the 3 line test should be removed and every thng handled in request::test (which is supposed to tell wheter we have a complete request).
But I have no idea why it was done like that in the first place.
2014-09-10 13:37:11 +02:00
Alain Miniussi
6c597245a2 test_any was actually nly testing the firt request due to a typo in the for loop. 2014-09-10 11:03:11 +02:00
Ventre, Brian D.
463e897f75 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.
2014-09-04 09:07:03 -04:00
K. Noel Belcourt
fe6e8b77ac Only resize vector on root rank we're reducing to.
As Steve Nowlen (drnuke@lanl.gov) pointed out, we can
avoid the vector resize on all ranks except the root we're
reducing to.
2014-09-01 21:07:53 -06:00
Noel Belcourt
76c79c90f8 Merge pull request #6 from juliohm/develop
Add scatterv and gatherv collective operations

Tested with clang-5.1 on Mavericks and gcc-4.8.2 on Linux.  I'll make some wordsmithing, column 80, and a couple of other small changes after the commit.  Thanks Julio, nice work.
2014-07-12 15:21:23 -06:00
Júlio Hoffimann
e70a7f937f Fix indentation in scatterv.hpp and gatherv.hpp 2014-06-17 13:23:53 -03:00
Júlio Hoffimann
f1ec2fcb22 Make scatterv and gatherv into collectives.hpp 2014-06-16 15:24:34 -03:00
K. Noel Belcourt
fd54b706c6 Merge branch 'master' into develop
Conflicts:
	include/boost/mpi/packed_iarchive.hpp
	include/boost/mpi/packed_oarchive.hpp
2014-05-09 19:56:18 -06:00
Júlio Hoffimann
1f651b8cb1 Add scatterv and gatherv collective operations 2014-05-03 14:26:06 -03:00
K. Noel Belcourt
a7a2501242 Fix problems caused by serialization changes. 2014-02-21 20:46:26 -07:00
Jürgen Hunold
b33caa7d6c Add visibility support for Boost.MPI. Fixes #2114 2014-01-04 11:04:06 +01:00
Matthias Troyer
9193f9942e Fixed #9401
[SVN r86734]
2013-11-17 10:46:25 +00:00
Matthias Troyer
c2b505cca8 Fixed #9356
[SVN r86712]
2013-11-15 19:22:18 +00:00
Matthias Troyer
d8663f9c3d Fixed #9258
[SVN r86353]
2013-10-18 14:56:51 +00:00
Matthias Troyer
e6a31170ea Fixed #9208
[SVN r86207]
2013-10-08 19:05:04 +00:00
Matthias Troyer
8817058e0a Merged Boost.MPI patches to release
[SVN r85553]
2013-09-03 19:31:55 +00:00
Matthias Troyer
e9b92c58c8 Various additiond and patches for Boost.MPI
[SVN r85527]
2013-08-30 14:30:09 +00:00
Matthias Troyer
7cfa3db27a Fixed #6436 #5596 and added threaded initialization
[SVN r84739]
2013-06-11 08:30:39 +00:00
Matthias Troyer
ff6f4c64f7 Several minor bug fixes and updates
[SVN r82524]
2013-01-17 15:25:50 +00:00
Matthias Troyer
967114eb31 Added missing resize of vector, to become compatible with documentation
[SVN r76186]
2011-12-26 17:29:36 +00:00
Matthias Troyer
040a3a9654 Added missing include headers for assert
[SVN r76182]
2011-12-26 17:25:21 +00:00
Matthias Troyer
a1ca5b5e7b Fixed tickets #4693 and #4772
[SVN r66785]
2010-11-27 12:40:31 +00:00
Matthias Troyer
b9343fe56c Moved Boost.MPI fixes for the 1.45 release to the release branch
[SVN r66067]
2010-10-18 06:22:09 +00:00
Matthias Troyer
459dfc7e98 Fixed pointer serialization in Boost.MPI
[SVN r65997]
2010-10-16 00:49:36 +00:00
Matthias Troyer
170dfd4717 Fixes for homogenous MPI when using new version of the serialization library
[SVN r65965]
2010-10-14 20:08:27 +00:00
Matthias Troyer
9a6c6a5f7b Added shared pointer support
[SVN r65556]
2010-09-23 19:26:26 +00:00
Matthias Troyer
50f71c9b00 Changes required to make Boost.MPI work with Boost.Serialization after breaking changes for 1.44
[SVN r64423]
2010-07-29 03:27:09 +00:00
Matthias Troyer
fdc02fc7f9 Attempted workaround to breaking changes in Boost.Serialization and removed any remaining dependence on binary archives
[SVN r64343]
2010-07-25 22:53:03 +00:00
Matthias Troyer
015b27c70a Fixed Boost.MPI following breaking changes in Boost.Serialization
[SVN r63537]
2010-07-03 03:20:14 +00:00
Matthias Troyer
30f9e8afe6 replaced MPL_ASSERT by STATIS_ASSERT because of gcc-4.4 bug
[SVN r56979]
2009-10-18 16:03:53 +00:00
Matthias Troyer
27893126b6 replaced MPL_ASSERT by STATIS_ASSERT because of gcc-4.4 bug
[SVN r56978]
2009-10-18 16:03:46 +00:00
Matthias Troyer
a8ada68d28 Templated string serialization on the char type
[SVN r56138]
2009-09-10 15:22:21 +00:00
Matthias Troyer
d9138b55d4 Removing assert that fails to compile on some compilers
[SVN r56130]
2009-09-10 07:08:26 +00:00
Matthias Troyer
4438c5850d Added missing includes to Boost.MPI archives
[SVN r55505]
2009-08-10 16:51:15 +00:00
Matthias Troyer
2a937afbbe Moved last unmerged changes for MPI in Boost 1.40
[SVN r55504]
2009-08-10 16:47:36 +00:00
Matthias Troyer
3f8772abe9 Added missing includes to Boost.MPI archives
[SVN r55503]
2009-08-10 16:46:59 +00:00
Matthias Troyer
33a8f15b45 Fixed trac issue 3261
[SVN r55438]
2009-08-06 20:41:28 +00:00
Matthias Troyer
ff26392c36 Fixed trac issue 3261
[SVN r55437]
2009-08-06 20:41:25 +00:00
Matthias Troyer
03852ad934 Moved Boost.MPI from trunk to release to make it compile with Boost.Serialization on the release branch
[SVN r55433]
2009-08-06 19:04:54 +00:00