2
0
mirror of https://github.com/boostorg/mpi.git synced 2026-02-26 04:42:23 +00:00
Commit Graph

311 Commits

Author SHA1 Message Date
Alain Miniussi
61e0654098 Iterate on ouput instead of using indexed access.
Will make sharing implementation with variadic version easier.
2016-10-25 12:05:10 +02:00
Alain Miniussi
d81cbab4a1 gatherv is now point 2 point free. 2016-10-24 20:49:23 +02:00
Alain Miniussi
0a6092d5ff Generalized the gather MPI implementation function for non MPI datatypes in order to accomodate the variadic implementation. 2016-10-24 19:45:43 +02:00
Alain Miniussi
f55fee5e36 Iterate on output instead of using indexes.
It will be easier to merge with the variadic version.
2016-10-24 19:19:44 +02:00
Alain Miniussi
806d161cac add scatter example code 2016-10-24 17:33:10 +02:00
Alain Miniussi
2c9d9e6df7 Move non template code in non template file. 2016-10-24 15:35:33 +02:00
Alain Miniussi
abded0963a scatterv whithout point to point communication 2016-10-24 13:22:09 +02:00
Alain Miniussi
2003a35286 get a vector free version. 2016-10-24 13:21:41 +02:00
Alain Miniussi
f9d9ac9414 try to get a core dump in debug mode 2016-10-24 13:21:03 +02:00
Alain Miniussi
60360763f4 scatter is now clearly divided in 2 step: 1) fill the buffer, 2) dispatch the buffer 2016-10-21 17:21:00 +02:00
Alain Miniussi
3a0109112c prepare for passing each proc's number of element explicitly. 2016-10-21 16:58:23 +02:00
Alain Miniussi
7b27c12ab4 started isolating the scatter send bufferfilling. Will be shared with scatterv 2016-10-21 16:48:55 +02:00
Alain Miniussi
ef30d347f7 scatter does not use point to point anymore 2016-10-21 16:23:43 +02:00
Alain Miniussi
96def4ce61 was missing in previous commit, the name of sizes2offsetshas changed. 2016-10-21 16:22:57 +02:00
Alain Miniussi
e3f076023e There are as many sizes as offsets 2016-10-21 16:20:34 +02:00
Alain Miniussi
cdabc4398d Comply to boost indentation rules 2016-10-21 13:46:52 +02:00
Alain Miniussi
8aec85cfb0 allocae sizes only on root. 2016-10-21 11:12:37 +02:00
Alain Miniussi
a8b8049995 use data() instead of hacky &array[0] 2016-10-21 11:12:02 +02:00
Alain Miniussi
590c8c69b0 Set the output buffer size.
This function is often called on the root node only, so it is more convenient to allocate memory on demand.
2016-10-21 11:10:46 +02:00
Alain Miniussi
f254852f3d Comment typo, a template was wrongly calling gather (a test should be added for that case) 2016-10-21 10:48:24 +02:00
Alain Miniussi
23a64c3ef6 all_gather does not use point to point anymore. 2016-10-20 21:21:45 +02:00
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