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

213 Commits

Author SHA1 Message Date
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
Noel Belcourt
b636b6dbe7 Fix broken develop testers.
Comment out missing test files committed by
Alain Miniussi so develop testers that run
MPI testers will cycle again.
2014-10-31 13:17:08 -06:00
Alain Miniussi
fe76d96819 Merge branch 'develop' into cartesian 2014-10-29 01:07:01 +01:00
Alain Miniussi
2cf0ab9258 Merge pull request #22 from aminiussi/sendrecv
Add a basic sendrecv that should be a direct transcription of the C interface
2014-10-29 00:50:42 +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
b4c8c3541f Merge branch 'develop' into cartesian
Conflicts:
	src/communicator.cpp
2014-10-07 11:26:30 +02:00
Alain Miniussi
44f50e6d0a indentation 2014-10-07 10:23:25 +02:00
Alain Miniussi
34c546b9cd Merge pull request #20 from aminiussi/nulltopo
MPI_COMM_NULL is not a valid argument for MPI_Topo_test.
But it is used to indicated leftover processes when creating graph communicator or cartesians grids (for exampl, when you create a 2X2 grid from a 5 process communicator).

So we need to deal with it as a special case.
2014-10-07 10:13:37 +02:00
Alain Miniussi
d8024e9025 Merge branch 'develop' into cartesian 2014-10-07 10:03:40 +02:00
Alain Miniussi
943023a6e2 Merge branch 'develop' of github.com:boostorg/mpi into nulltopo 2014-10-07 09:27:24 +02:00
Alain Miniussi
932457abd9 Merge pull request #21 from aminiussi/obsolete
upgrade MPI 1.1 stuff to MPI 2.x stuff
2014-10-07 09:23:47 +02:00
Alain Miniussi
f2e5edf320 The version 3 of the MPI standard is out now.
Upgraded really old (1.1) API to 2.x.
2014-10-07 00:39:54 +02:00
Alain Miniussi
33aa0744d1 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 grid or graphs. 2014-10-06 18:54:29 +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
abd82f0eda Merge pull request #14 from aminiussi/compound_recv_wait
Wait_any is missing some compound recv with intel MPI.
In practice, this change should only affect implementations which, when stacking 2 send or 2 recv will only execute the second one when the first one is completed. As a result, when testing a compound recv on compound send, we get a catch22. This merge fixes that problem.
2014-09-16 14:08:44 +02:00
Alain Miniussi
1d498e48d5 Merge branch 'develop' into compound_recv_wait 2014-09-16 13:47:01 +02:00
Alain Miniussi
544b0017a5 Merge pull request #12 from aminiussi/test_any_bug
Only the first request was tested in test_any. We now test all of them.
2014-09-16 13:41:56 +02:00
Alain Miniussi
4f784b2347 Merge branch 'develop' into test_any_bug 2014-09-16 13:34:25 +02:00
Alain Miniussi
f104e41b84 Merge pull request #13 from aminiussi/nonblocking_test_split
split nonblocking_test in two functions, one to run all tests and one to run simgle tests.29292
2014-09-16 12:02:10 +02:00
Alain Miniussi
d7736702ac Merge branch 'develop' into nonblocking_test_split 2014-09-16 11:45:21 +02:00
Alain Miniussi
b4576d5811 Merge pull request #17 from aminiussi/develop
Python section was missing [endsec]
2014-09-16 11:35:59 +02:00
Alain Miniussi
6bc906ed0f Python section was missing [endsec] 2014-09-16 11:32:17 +02:00
Alain Miniussi
3392433732 Merge pull request #15 from aminiussi/map-c-update
Propagate change made in mpi-forum documentation.
A mpi-1.1 directory was inserted on the web-site.
2014-09-16 11:04:58 +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
a5ab336f84 Added documentation for C API mapping 2014-09-15 16:48:55 +02:00
Alain Miniussi
2096fa08fa added mapping documentation for MPI_Cart_create, MPI_Dims_create MPI_Cartdim_get. 2014-09-15 16:43:31 +02:00
Alain Miniussi
62a2404ecd Merge branch 'map-c-update' into cartesian 2014-09-15 15:50:16 +02:00
Alain Miniussi
fcc098aa59 Small typo, we had double slashes in external URL.
Did not hurt, but it nicer this way.
2014-09-15 15:47:52 +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
befe62d920 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.
In short term, we might want to move to MPI 2.x documentation.
2014-09-15 14:48:43 +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
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