Commit Graph

577 Commits

Author SHA1 Message Date
Alain Miniussi
7d73ef198f Added a few topology ctors.
Documentation
2016-10-19 14:43:59 +02:00
Alain Miniussi
3117df1b36 only test shift on periodic dmentions 2016-10-15 22:46:45 +02:00
Alain Miniussi
cd2db2b9d6 use plain assert instead of boost's 2016-10-15 22:46:06 +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
Rene Rivera
ddb38b0eb4 Add, and update, documentation build targets. 2016-10-10 11:39:51 -05:00
Rene Rivera
e6349ee63f Add, and update, documentation build targets. 2016-10-07 23:07:35 -05:00
Florian Weik
1c082e1ff8 specialization of is_mpi_datatype for std::array 2016-09-20 17:15:33 -06:00
Noel Belcourt
e33c16da78 Bump test size to 1e7 items in vector. 2016-07-24 13:33:02 -06:00
K. Noel Belcourt
330bf8c178 Disable for stds before c++11. 2016-07-24 13:27:30 -06:00
Noel Belcourt
cbefb9c312 Update test case to check values communicated correctly.
Add remark in Jamfile that test case requires -std=c++11.
2016-07-22 13:59:07 -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
K. Noel Belcourt
06851a6367 Fix deprecation warning by testing MPI_VERSION >= 2.
Newer MPI uses MPI_Comm_set_errhandler and MPI_Comm_get_attr.
2016-07-16 16:59:32 -06:00
Jonathan Wakely
004df1037e Fix spelling in docs and config.hpp (#35) 2016-05-23 11:33:11 -06:00
K. Noel Belcourt
1ae5eec15c Fix deprecation warning by testing MPI_VERSION >= 2.
Newer MPI uses MPI_Comm_set_errhandler and MPI_Comm_get_attr.
2016-05-01 16:38:00 -06:00
Noel Belcourt
754f89c87b Merge some doc changes (#34)
Fix my previous cherry-picks with a whitespace change to force the merge.

* doc: Fix typos

* 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!

* Fix typo with rename to array_wrapper.

* Whitespace change.
2016-04-26 21:57:54 -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
0a3297b1e6 Merge pull request #31 from bavier/doc-typos
doc: Fix typos
2015-12-21 09:59:02 +01:00
bavier
d184ba0ffd doc: Fix typos 2015-12-16 17:55:39 -06:00
Alain Miniussi
c85ec97d9c Merge pull request #29 from boostorg/develop
Small fixes merge
2015-09-22 00:19:27 +02:00
Alain Miniussi
9ca5dd26d7 Merge branch 'MarcelRaad-fix_compilation' into develop 2015-09-21 23:52:20 +02: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
Alain Miniussi
772337fa47 Merge branch 'develop'
Bulk merge of the develop branch.

This include, bug fixes, new features (like scaterv and gatherv), doc
changes etc.. some of which have been around for some time now.

A more "incremental" merge could have been in order, but recent changes
in the serialization library have hurt the homogenenous Boost MPI
very hard (does not build at all anymore) and extreme times calls for
extreme measures (and git beeing what it is, it is not clear a mere
mortal with a day job could handle the process).

This merge had passed all its test in both homogeneous mode (now the
default) and heterogenous and the priority is probably to avoid
shipping the next release with a broken build.
2015-06-12 12:26:48 +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
df5709960d Merge pull request #23 from thtrummer/develop
Add missing parameters in documentation (#9713)
2015-05-17 23:20:45 +02:00
Thomas Trummer
2cadf735fe Add missing parameters in documentation (#9713)
https://svn.boost.org/trac/boost/ticket/9713
2015-05-17 22:59:14 +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
49f3f9a4e3 Do not take adress of temp, even for a short time. 2015-04-24 01:02:03 +02:00
Alain Miniussi
7f32653c0b Allow debugger to attached to specific MPI processes.
It's vey basic right now, and still need to be documented.
2015-04-24 01:01:28 +02:00
Alain Miniussi
828c9f8332 Fix broken graph_comunicator ctor href. 2015-04-22 18:08:17 +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
870e038999 In doc, has_graph_topology -> as_graph_communicator 2015-04-22 17:13:19 +02:00
Alain Miniussi
62640eeabc Document the default change on BOOST_MPI_HOMOGENEOUS. 2015-04-22 16:38:51 +02:00
Alain Miniussi
e24fd6da99 Doxygen documentation of BOOST_MI_HOMOGENEOUS 2015-04-22 16:12:47 +02:00
Alain Miniussi
a11558185f Update the build install instruction.
Some instruction were not in line with the current build process anymore.
Also, the supported (well, tested) list of MPI implementations was not up tu date.
2015-04-22 16:00:31 +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
d0ded005b6 Relax condition for documentation generation.
Add a (possibly redundant) using decl to allow documentation generation.
Possibly not very clean, but boostbook being what it is right now, let give
a break to the nice people who wants to test the doc.
2015-04-21 16:54:18 +02:00
Alain Miniussi
27d0fcff20 Deal with null communicator when testing topology.
When calling MPI_Topo_test, explicitly deal with MPI_COMM_NULL as it is not a legal value.
Although it is what is return for leftovers process when creating cartesian or graph
communicators.
2015-04-21 16:51:33 +02:00
Alain Miniussi
ebae825102 Upgrade obsolete C API.
The version 3 of the MPI standard is out now.
Upgraded really old (1.1) API to 2.x.
(cherry picked from commit f2e5edf320)
2015-04-17 15:13:44 +02:00
Alain Miniussi
4ca9f7266a Python section was missing [endsec]
(cherry picked from commit 6bc906ed0f)
2015-04-17 15:10:21 +02:00
Alain Miniussi
ecfb97b9bf Small typo, we had double slashes in external URL.
Did not hurt, but it nicer this way.
(cherry picked from commit fcc098aa59)

Conflicts:

	doc/mpi.qbk
2015-04-17 15:04:33 +02:00
Alain Miniussi
6ef7845faa Reflect mpi-forum web site modification.
The documentation at mpi-forum moved from http://www.mpi-forum.org/docs/mpi-11-html to http://www.mpi-forum.org/docs/mpi-1.1/mpi-11-html. Changed the documentation to reflect that.

(cherry picked from commit befe62d920)

Conflicts:

	doc/mpi.qbk
2015-04-17 15:01:42 +02:00
Alain Miniussi
accbafc66f Fixed deadlock involving wait_any and intel MPI.
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.
(cherry picked from commit ed4852863a)
2015-04-17 14:47:12 +02:00