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

106 Commits

Author SHA1 Message Date
Jonathan Wakely
004df1037e Fix spelling in docs and config.hpp (#35) 2016-05-23 11:33:11 -06:00
K. Noel Belcourt
e4be4411c8 Fix typo with rename to array_wrapper. 2016-04-25 13:15:25 -06:00
Jürgen Hunold
c70e7ff243 Fix: adapt to renaming of serialization::array_wrapper (#30)
Fix: adapt to renaming of serialization::array_wrapper

Tested that both graph_parallel and MPI work fine with El Capitan and clang, thanks for the patch!
2016-04-24 13:59:36 -06:00
Alain Miniussi
7791752122 Merge branch 'fix_compilation' of https://github.com/MarcelRaad/mpi into MarcelRaad-fix_compilation 2015-09-21 23:50:11 +02:00
Alain Miniussi
1bd679217c Remove unused parameter warning from scan.hpp
by nasailja
2015-09-21 23:46:02 +02:00
Ilja
ceafbbfe2d Remove unused parameter warnings from reduce.hpp 2015-09-21 20:06:05 +02:00
Marcel Raad
76b3b16ae3 Fix compilation
There were several errors when compiling with MSVC 14 and --build-type=complete.
2015-06-06 20:39:54 +02:00
Alain Miniussi
58713af3e2 Workaround MPI_Bcast bug w.r.t. MPI_BOTTOM.
Some implementations have issues with  using MPI_BOTTOM in MPI_Bcast.
If that the case we can use an alternate implementation.

There is a macro in config.hpp named BOOST_MPI_BCAST_BOTTOM_WORKS_FINE
that can be used to control that. broadcast_test.cpp print a message
that point to that macro if suspicious behavior is detected.

LAM and Bull X MPI seems to have that problem.
2015-04-24 01:02:52 +02:00
Alain Miniussi
6469e38af0 remove all references to pfto.hpp
pfto.hpp has been removed from serialization. Although it was not used
anymore, it was still referenced in MPI.

The reason why the problem went unotced for such long time was that
there is a regular distribution of boost on a developper platform.

Shame on him.
2015-04-22 17:53:18 +02:00
Alain Miniussi
e24fd6da99 Doxygen documentation of BOOST_MI_HOMOGENEOUS 2015-04-22 16:12:47 +02:00
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