Commit Graph

577 Commits

Author SHA1 Message Date
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
6fc0bc3d94 There are 2 function in nonblocking_test. Which makes debuging less convenient with no benefit. 2014-09-10 11:32:59 +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
d2d9017d77 Merge pull request #10 from danieljames/metadata
Create metadata file.
2014-08-23 14:10:10 -06:00
Daniel James
7014b82451 Add metadata file. 2014-08-18 15:07:26 +01:00
Noel Belcourt
e6dd3db0f6 Cleanup unused variables and typedefs. 2014-07-31 12:45:35 -06:00
Noel Belcourt
c6f67b85a1 Merge pull request #9 from gnzlbg/develop
adds missing explicit conversion to bool of optional

Looks good, thanks.
2014-07-31 12:16:44 -06:00
gnzlbg
c051d05ba2 fixes explicit operator bool of optional in c++>11 2014-07-31 20:11:06 +02: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
5351d17158 Add tests for scatterv and gatherv 2014-06-17 13:25:34 -03:00
Júlio Hoffimann
e70a7f937f Fix indentation in scatterv.hpp and gatherv.hpp 2014-06-17 13:23:53 -03:00
Júlio Hoffimann
9ae243ba59 Add hyperlinks to scatterv and gatherv in the docs 2014-06-16 16:15: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
cab4a79963 Merge branch 'develop' 2014-05-09 19:59:38 -06: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
Noel Belcourt
1ef558e384 Merge pull request #3 from danieljames/remove-old-files
Remove files incorrectly restored by git conversion.

Looks reasonable, thanks again.
2014-04-27 14:38:14 -06:00
Noel Belcourt
f1e9c300c7 Merge pull request #4 from danieljames/master-cherry-pick
Master cherry pick

Looks good Daniel, thanks for putting this together.  I don't see any problem with applying these changes.
2014-04-27 14:35:29 -06:00
Douglas Gregor
f538c6d6bf Make MPI non-blocking semantics more clear
[SVN r56203]

Conflicts:
	doc/mpi.qbk
2014-04-01 22:05:48 +01:00
Matthias Troyer
92e837bd4c proposed fix for ticket 2399
[SVN r55449]
2014-04-01 22:04:48 +01:00
Matthias Troyer
dc3b1e5831 Fixed ticket 2723
[SVN r55445]
2014-04-01 22:04:34 +01:00
Daniel James
a6e603d50c Remove files incorrectly restored by git conversion.
These directories didn't exist in trunk. In some repos, old deleted
files seem to have been kept in the git conversion. I think this is
something to do with the old CVS to subversion conversion making the
history a bit complicated.
2014-04-01 21:59:40 +01:00
K. Noel Belcourt
a7a2501242 Fix problems caused by serialization changes. 2014-02-21 20:46:26 -07:00
Noel Belcourt
a55c9318bc Merge pull request #2 from jhunold/visibility
Add visibility support for Boost.MPI. Fixes #2114
2014-01-29 20:45:52 -08:00
Noel Belcourt
8a2913c42e Merge pull request #1 from danieljames/develop
Update path for new location of Boost Build.
2014-01-27 21:58:11 -08:00
Jürgen Hunold
b33caa7d6c Add visibility support for Boost.MPI. Fixes #2114 2014-01-04 11:04:06 +01:00
Daniel James
363c2c7be9 Update path for new location of Boost Build. 2013-12-26 09:59:59 +00:00
Matthias Troyer
9193f9942e Fixed #9401
[SVN r86734]
2013-11-17 10:46:25 +00:00
Matthias Troyer
8cabdaada8 Fixed #9356
[SVN r86713]
2013-11-15 19:25:20 +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
b9a454ad8d Fixed #8881
[SVN r85144]
2013-07-23 23:06:01 +00:00
Matthias Troyer
7cfa3db27a Fixed #6436 #5596 and added threaded initialization
[SVN r84739]
2013-06-11 08:30:39 +00:00
Matthias Troyer
f367a5aa17 Several minor bug fixes and updates
[SVN r82525]
2013-01-17 15:26:30 +00:00
Matthias Troyer
ff6f4c64f7 Several minor bug fixes and updates
[SVN r82524]
2013-01-17 15:25:50 +00:00
Daniel James
ddaf09f203 Merge unique name for MPI documentation build.
[SVN r80287]
2012-08-28 17:40:49 +00:00
Daniel James
803bebcc51 Give MPI documentation project a unique name.
`libs/mpi/build/Jamfile.v2` and `libs/mpi/doc/Jamfile.v2` had the same project
name, which was causing the documentation build to fail.


[SVN r79974]
2012-08-12 09:23:16 +00:00
Matthias Troyer
9cf1f16f5c Applied patch for #4657
[SVN r76290]
2012-01-03 17:27:54 +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
Ralf W. Grosse-Kunstleve
53aba3325c libs/mpi/src/python/py_nonblocking.cpp: resolving ticket #6123
[SVN r75914]
2011-12-12 07:01:36 +00:00
Matthias Troyer
a1ca5b5e7b Fixed tickets #4693 and #4772
[SVN r66785]
2010-11-27 12:40:31 +00:00
Matthias Troyer
5366d111b2 Updated documentation for ticket #4506
[SVN r66784]
2010-11-27 12:22:57 +00:00