Alain Miniussi
6e06e914c6
convert a sequence of size to a sequence of offsets
2016-10-20 21:21:11 +02:00
Alain Miniussi
f8340229af
identation
2016-10-20 21:20:42 +02:00
Alain Miniussi
8158aebc01
Use C API in gather implementation
2016-10-20 20:25:27 +02:00
Alain Miniussi
0efb1415f6
identation
2016-10-20 20:10:02 +02:00
Alain Miniussi
2bdf8df315
Pessimistic comment, broadcast never uses point to point
2016-10-20 19:34:14 +02:00
Alain Miniussi
a5b5a2c4d3
Fixed a pessimistic comment, all_to_all never uses individual send reciv.
2016-10-20 19:32:55 +02:00
Alain Miniussi
5e4beaccda
Implement gather without any point to point communication.
2016-10-20 19:16:27 +02:00
Alain Miniussi
916e51dc62
Use broadcast imlementation proposed by Lorenz Hübschle-Schneider ( https://gist.github.com/lorenzhs/79dab54552fd1f9381da ): ofr non primitive/mpi type, broadcast the archive content as a primitive byte array.
2016-10-20 16:11:12 +02:00
Alain Miniussi
e47c532155
Merge pull request #36 from fweik/array
...
specialization of is_mpi_datatype for std::array
2016-10-19 15:52:17 +02:00
Alain Miniussi
9a90ae9048
Doc
2016-10-19 15:49:36 +02:00
Alain Miniussi
b5140a7dda
Add basic ctor/dtor to topology class.
2016-10-19 15:47:51 +02:00
Alain Miniussi
876ac2e6f4
Not worth a function.
2016-10-19 15:05:03 +02:00
Alain Miniussi
c41d5e8476
Renamed coords -> coordinates
...
Removed inplace coortdinate retreiver (move ctor makes them useless)
2016-10-19 15:02:57 +02:00
Alain Miniussi
7d73ef198f
Added a few topology ctors.
...
Documentation
2016-10-19 14:43:59 +02:00
Alain Miniussi
ebb22ff06b
typo in doc
2016-10-15 22:45:18 +02:00
Alain Miniussi
56551fa441
Merge branch 'develop' into cartesian
...
Reintegration
2016-10-15 16:12:14 +02:00
Florian Weik
1c082e1ff8
specialization of is_mpi_datatype for std::array
2016-09-20 17:15:33 -06:00
K. Noel Belcourt
3eabcce9b6
Add allocator support to vector send recv api.
...
Added test case to send recv a vector of udt with an
overload of get_mpi_datatype. Added test to Jamfile
for nightly testing.
2016-07-22 12:14:58 -06:00
K. Noel Belcourt
85bb58d75b
Add send and recv overloads for std::vector.
2016-07-21 21:48:02 -06:00
Jonathan Wakely
8b73e340f0
Fix spelling in docs and config.hpp ( #35 )
2016-07-16 17:00:03 -06:00
Jonathan Wakely
004df1037e
Fix spelling in docs and config.hpp ( #35 )
2016-05-23 11:33:11 -06:00
K. Noel Belcourt
7d33e519b3
Fix typo with rename to array_wrapper.
2016-04-26 13:38:25 -06:00
Jürgen Hunold
0dce8d2c2a
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-26 13:38:12 -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
Alain Miniussi
b907db31ce
Merge branch 'develop' into cartesian
2014-11-03 14:44:18 +01: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
fe76d96819
Merge branch 'develop' into cartesian
2014-10-29 01:07:01 +01: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
911209c554
checkpointing before transfert
2014-10-10 16:38:44 +02:00
Alain Miniussi
243fa971c4
Added topology pretty printing
...
Removed a few "unsigned int" comparuson warnings with g++
Splitted bug test_main function
2014-10-06 18:05:44 +02:00
Alain Miniussi
5f46dec83c
Merge branch 'develop' into cartesian
2014-09-16 14:11:27 +02:00
Alain Miniussi
1d498e48d5
Merge branch 'develop' into compound_recv_wait
2014-09-16 13:47:01 +02:00
Alain Miniussi
00a49f55c9
doxygen typo
2014-09-15 17:17:45 +02:00
Alain Miniussi
cbbb9a450f
Added down cast functions for communicator to cartesian communicator conversion.
2014-09-15 17:02:51 +02:00
Alain Miniussi
b7e89aeb60
Merge branch 'map-c-update' into cartesian
2014-09-15 15:42:59 +02:00
Alain Miniussi
99acdb85fd
added some documentation
2014-09-15 15:18:28 +02:00
Alain Miniussi
0f13d9a20c
Improved cartesian topology description.
2014-09-12 18:38:45 +02:00
Alain Miniussi
a1c6e750cb
Added first tentative implementation of cartesian_communicator.
...
The API should be complete although primitive.
No documentation yet.
2014-09-11 14:46:22 +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
Alain Miniussi
9ddbac64c8
First incompomplete skectch of apossible cartesian communicator.
2014-09-04 14:12:46 +02: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
Matthias Troyer
2138aefce1
Added missing declspec
...
[SVN r55426]
2009-08-05 22:00:12 +00:00
Matthias Troyer
e985aae60c
Fixed ticket #2151
...
[SVN r55418]
2009-08-05 05:02:04 +00:00
Matthias Troyer
84a5fc599f
Made Boost.MPI work with the new pointer serialization
...
[SVN r55139]
2009-07-23 23:19:16 +00:00
Daniel James
4bf37892a1
Switch to boost/serialization/pfto.hpp. Fixes #3061 .
...
Merged revisions 48610 via svnmerge from
https://svn.boost.org/svn/boost/trunk
........
r48610 | dgregor | 2008-09-05 14:39:26 +0100 (Fri, 05 Sep 2008) | 1 line
Silence -Wunused warnings and switch to boost/serialization/pfto.hpp
........
[SVN r53755]
2009-06-08 19:03:11 +00:00
Matthias Troyer
c8fe71649f
Fixes for bugs 2586 and 2594
...
[SVN r52820]
2009-05-07 05:48:26 +00:00
Jeremiah Willcock
1daf91c82d
Moved property map library into property_map/ directory; made old files into stubs with #warnings; converted uses and docs of property map library to use new names
...
[SVN r52226]
2009-04-07 01:28:38 +00:00
Douglas Gregor
74fe28d6b5
Silence -Wunused warnings and switch to boost/serialization/pfto.hpp
...
[SVN r48610]
2008-09-05 13:39:26 +00:00
Douglas Gregor
b1fb492120
Silence unused-variable warnings. Fixes #2202
...
[SVN r48608]
2008-09-05 13:29:32 +00:00
Douglas Gregor
b2f18f30e0
Remove some leftover debug output
...
[SVN r48581]
2008-09-04 19:42:31 +00:00
Douglas Gregor
50d308c6ad
Remove some leftover debug output
...
[SVN r48580]
2008-09-04 19:38:19 +00:00
Matthias Troyer
97e9366a2f
Moved Serialization and MPI fixes and updates from trunk to release branch
...
[SVN r46743]
2008-06-26 19:25:44 +00:00
Matthias Troyer
06cf90bfc1
Fixed tabs
...
[SVN r46710]
2008-06-26 11:12:44 +00:00
Douglas Gregor
4bd63be33a
Fix mpi::scatter arguments, from Erik Zeek. Fixes #2051
...
[SVN r46696]
2008-06-25 21:53:47 +00:00
Douglas Gregor
113c1b3f4f
Fix mpi::scatter arguments, from Erik Zeek. Fixes #2051
...
[SVN r46695]
2008-06-25 21:52:57 +00:00
Matthias Troyer
d3b7c3f451
Adapted Boost.MPI to new array optimization in serialization
...
[SVN r46389]
2008-06-14 14:39:37 +00:00
Matthias Troyer
76ef3a52b7
Adapted Boost.MPI to new array optimization in serialization
...
[SVN r46387]
2008-06-14 12:10:46 +00:00
Douglas Gregor
dd5f08605f
Merge MPI-Python fix for Intel C++ from release branch. Yes, I did this backwards.
...
[SVN r45827]
2008-05-27 17:51:11 +00:00
Douglas Gregor
2545439aa8
Fix MPI-Python compilation error with Intel 9.0+
...
[SVN r45825]
2008-05-27 17:45:04 +00:00
Douglas Gregor
d4334b661f
Merge Boost.MPI change supporting signed characters
...
[SVN r44888]
2008-04-29 18:08:49 +00:00
Douglas Gregor
c9da321861
Add support for MPI_SIGNED_CHAR to Boost.MPI
...
[SVN r44887]
2008-04-29 17:57:54 +00:00
Douglas Gregor
e826b118aa
Fix compilation on GCC 4.3, from Maik Beckmann
...
[SVN r44416]
2008-04-14 14:57:33 +00:00
Douglas Gregor
b3a60e9473
Merge Boost.MPI datatype fixes from the trunk
...
[SVN r44414]
2008-04-14 14:14:53 +00:00
Douglas Gregor
497c042dd4
Define is_mpi_datatype appropriately for wchar_t and long long/int64 types
...
[SVN r44412]
2008-04-14 13:51:18 +00:00
Douglas Gregor
c67c8f8882
Refactor mpi_datatype_cache to fix problems on VC9
...
[SVN r44160]
2008-04-10 21:05:14 +00:00
Matthias Troyer
0a883b42bc
Optimizations for Boost.MPI
...
[SVN r42647]
2008-01-10 09:49:16 +00:00
Douglas Gregor
55843c4bfd
Merged fixes for Function, Signals, and MPI from trunk. See #1499 , see #1416 , see #1486
...
[SVN r42031]
2007-12-14 14:48:14 +00:00
Douglas Gregor
97571f2dd3
Workaround for MPICH to properly deal with SEEK_* constants.
...
Fixes #1486
[SVN r41802]
2007-12-06 19:22:06 +00:00
Douglas Gregor
a982ea5355
Fixes #1456
...
[SVN r41270]
2007-11-21 05:50:21 +00:00
Beman Dawes
e9c214fdb7
// Add or correct comment identifying Boost library this header is associated with.
...
[SVN r41173]
2007-11-17 20:13:16 +00:00
Douglas Gregor
38e585a302
Constify status::count and status::cancelled. Fixes #1101
...
[SVN r39052]
2007-08-29 16:00:53 +00:00
Douglas Gregor
b9d613dd07
boost\archive\detail\basic_iarchive: Remove some bogus declspecs
...
Boost.MPI: Added support for Windows auto-linking
[SVN r38290]
2007-07-26 16:12:26 +00:00
Matthias Troyer
eb60aa5440
*** empty log message ***
...
[SVN r38258]
2007-07-18 21:17:38 +00:00
Douglas Gregor
1082c372b5
Create a separate graph_communicator type to handle graph topologies
...
[SVN r37898]
2007-06-05 00:54:56 +00:00
Douglas Gregor
1730870210
Documentation for intercommunicators
...
[SVN r37886]
2007-06-04 16:20:41 +00:00
Douglas Gregor
03e2016cf7
Add support for MPI intercommunicators
...
[SVN r37882]
2007-06-04 14:49:13 +00:00
Douglas Gregor
8cd257f4cb
Document graph topologies, implement layer over MPI_Topo_test
...
[SVN r37853]
2007-06-01 18:22:00 +00:00
Douglas Gregor
321afa14d8
Support graph topologies and fix a small bug in the gather collective
...
[SVN r37851]
2007-06-01 16:56:43 +00:00
Douglas Gregor
1bece252a2
Improve messages produced by the exception class
...
[SVN r37834]
2007-05-31 16:41:50 +00:00
Douglas Gregor
327abef38e
Support building communicators from groups and comparing communicators
...
[SVN r37832]
2007-05-31 16:02:07 +00:00
Douglas Gregor
0d6a13bfc4
Add support for MPI groups
...
[SVN r37831]
2007-05-31 15:36:48 +00:00
Douglas Gregor
f062b252b1
Introduce workarounds a fixes for Microsoft's tool chain, based on MS-MPI and Visual C++ 8.0
...
[SVN r36978]
2007-02-16 21:01:25 +00:00
Douglas Gregor
28d9c668cb
Move MPI library to the top level
...
[SVN r36741]
2007-01-17 02:48:51 +00:00
Douglas Gregor
f1f91037c9
Support arrays in all collective operations
...
[SVN r36390]
2006-12-14 19:03:13 +00:00
Douglas Gregor
ee308ec168
Add default constructor to environment class
...
[SVN r36384]
2006-12-14 13:53:12 +00:00
Douglas Gregor
e2c4812a22
Remove redefined default argument
...
[SVN r36359]
2006-12-13 18:11:15 +00:00
Douglas Gregor
ceeb6163eb
Import Boost.MPI with the beginnings of a BBv2-based build system
...
[SVN r36337]
2006-12-12 00:45:23 +00:00