2
0
mirror of https://github.com/boostorg/mpi.git synced 2026-01-20 04:42:16 +00:00

107 Commits

Author SHA1 Message Date
Alain Miniussi
11304f1bea Add the boost/mpi/optional.hpp file to host the using directive to access boost::optional as boost::mpi::optional
Propagate the change
2025-05-06 12:56:59 +02:00
Alain Miniussi
c5270b066f Make sure we free the Boost.MPI type built for C++ bool (sice there is no MPI Bool type) 2023-09-18 18:20:21 +02:00
Alain Miniussi
737c5d4b24 Merge pull request #134 from eschnett/HEAD
Don't use MPI constants as compile-time constants
2023-03-14 11:52:24 +01:00
Alain Miniussi
d03e27076b The wrong variable was referenced in environement::library_version above MPI3 2022-06-02 14:42:27 +02:00
Erik Schnetter
cbaafbd487 Don't use MPI constants as compile-time constants 2021-08-18 15:20:51 -04:00
leha-bot
8378256a1b mpi::environment: add library_version() method (#129)
Based on MPI-3 MPI_Get_library_version() API.
On previous versions it returns an empty string.
2021-08-10 17:57:33 +03:00
Alain O Miniussi
e1aea365fb put status code in status files 2020-06-23 11:10:18 +02:00
Alain Miniussi
44666d1acc Merge branch 'develop' into hotfix/pickle_py3_friendly_api 2020-06-22 11:00:23 +02:00
Alain Miniussi
14ab1207ee remove spurious extract and ()s 2020-06-11 22:32:20 +02:00
Alain Miniussi
61183467dd We assume python2 pickle API, wich used str as buffers.
We need something compatible with python3, which uses bytes.
Common base is object
2020-06-11 22:25:33 +02:00
Florian Weik
5e8edd184c fixed cartesian communicator 2020-06-11 14:59:45 +02:00
Florian Weik
28a73eac54 fixed ub access to first element of empty vectors 2020-06-10 10:18:21 +02:00
Alain Miniussi
39e5f4e5f6 move awway from std smart pointer when possible as their support is not uniform on all our configurations.
refs #99
2019-10-28 00:24:50 +01:00
Alain Miniussi
8b092cbe43 Avoir using the same name in the same scope to refer to different things. 2019-10-23 15:43:16 +02:00
Alain Miniussi
8619d7b24a auto_ptr is obsolete, replace with shared_ptr 2019-04-15 09:53:00 +02:00
Alain Miniussi
288f82bc27 Merge branch 'use_uncaught_exceptions' of git://github.com/Lastique/mpi into Lastique-use_uncaught_exceptions 2019-03-11 15:11:17 +01:00
Alain Miniussi
141add97e9 use BOSST_MPI_USE_IMPROBE to choose to use MPI_<x>probe when reading complex messages 2018-12-18 17:16:25 +01:00
Andrey Semashev
853ac0637a Use uncaught_exceptions from Boost.Core to avoid C++17 warnings.
In C++17, std::uncaught_exception is deprecated in favor of
std::uncaught_exceptions. Use portable uncaught_exceptions implementation
from Boost.Core, which is also available for C++03.

This fixes gcc 8 warnings about using deprecated features in C++17 mode.
2018-12-17 19:00:27 +03:00
Alain Miniussi
e031a0c8aa prepare for probe handler code factorization.
refs #70
2018-09-06 19:32:09 +02:00
Alain Miniussi
77b232fb69 put mpi_probe selection in c file.
refs #70
2018-09-06 18:49:16 +02:00
Alain Miniussi
6ccf4ee258 send buffer, not empty messages.
refs #70
2018-09-06 14:27:29 +02:00
Alain Miniussi
8ae5111249 Wrong direction in MPI request.
refs #20
2018-09-05 23:43:06 +02:00
Alain Miniussi
dbba124752 Moved archive communication to optionnal probe communication.
The new one have not been tested yet, but legacy passes.
refs #70
2018-09-05 20:54:25 +02:00
Alain Miniussi
e36f7a2f18 avoid low level MPI in interface. refs #70 2018-09-05 19:45:55 +02:00
Alain Miniussi
5f64c8118a Less stuff in header. refs #70 2018-09-05 15:34:20 +02:00
Alain Miniussi
25379b0a25 trivial request encapsulated. refs #70 2018-09-05 15:13:13 +02:00
Alain Miniussi
a45e542b61 dead code, refs #70 2018-09-05 14:03:46 +02:00
Alain Miniussi
36e959318f Removed global handler functions. refs #70 2018-08-30 19:06:17 +02:00
Alain Miniussi
5aa9dfb925 Moved wait code in it specific legacy handlers. refs #70 2018-08-30 18:51:10 +02:00
Alain Miniussi
3943cc0eb0 dead code, refs #70 2018-08-30 17:34:00 +02:00
Alain Miniussi
15d044d56c Make request class lighter. Regroup request handler implementation.
refs #70
2018-08-30 17:23:08 +02:00
Alain Miniussi
1429b6cc01 All requests are now created through factory methods.
refs #70
2018-08-30 16:42:40 +02:00
Alain Miniussi
74b01dc877 Start using dynamic handler for request requests.
refs #70
2018-08-30 13:23:33 +02:00
Alain Miniussi
544848be92 start using dynamic handler factory method.
refs #70
2018-08-30 13:02:39 +02:00
Alain Miniussi
3c1d58d84e Start using sp[ecialize trivial request handler in communicator.
refs #70
2018-08-30 12:23:21 +02:00
Alain Miniussi
eee9a4396a factory method for trivial request handler.
refs #70
2018-08-30 12:18:06 +02:00
Alain Miniussi
115ded5b0f First move toward envelope/letter implementation of requests.
refs #70
2018-08-30 10:25:33 +02:00
Alain Miniussi
2a674a4cfc Mre data encapsulation in requests.
refs #70
2018-08-29 22:43:26 +02:00
Alain Miniussi
174e2c8a86 Better encapsulation of the request class.
refs #70
2018-08-29 18:09:01 +02:00
Alain Miniussi
1e495c9f31 Style issue, put return type on the same line as function name.
refs #55
2018-04-18 16:07:57 +02:00
Alain Miniussi
483e9cb02a Have exceptions use new error_string function
refs #55
2018-03-13 18:06:49 +01:00
Alain Miniussi
913882914c Add MPI error code to string convertion
refs #55
2018-03-13 17:50:59 +01:00
Alain Miniussi
2c5ec6ef15 Add const conversion to accomodate open MPI 1.6 2017-07-24 12:39:50 +02:00
Alain Miniussi
c5964b4397 void using vector::data in order to comply to old pre C++ compilers. 2017-02-28 13:44:44 +01:00
Alain Miniussi
415a41f6ea Test that static and dynamic MPI versions matches 2016-11-02 14:52:01 +01:00
Alain Miniussi
e3b0d08c7e Explicitly avoid temporary in isend. 2016-10-27 00:54:51 +02:00
Alain Miniussi
debeb7c8c4 Renaming 2016-10-25 15:53:14 +02:00
Alain Miniussi
e169ada110 renaming 2016-10-25 15:47:45 +02:00
Alain Miniussi
bd5b96ec0a handle non rooted version of operation 2016-10-25 15:37:01 +02:00
Alain Miniussi
d81cbab4a1 gatherv is now point 2 point free. 2016-10-24 20:49:23 +02:00