2
0
mirror of https://github.com/boostorg/mpi.git synced 2026-02-22 15:32:31 +00:00
Commit Graph

312 Commits

Author SHA1 Message Date
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
Robert Ramey
04743c9bfb corrected syntax error 2020-06-26 17:11:40 -07:00
Robert Ramey
da602162b4 Merge branch 'develop' of https://github.com/boostorg/mpi into develop
* 'develop' of https://github.com/boostorg/mpi: (54 commits)
  We want to skip C++ binding in underlying implementation (othewise, Open MPI does not give a choice), it's too late to avoid building them.
  typo in doc
  put status code in status files
  put status code in status files
  Use new library naming conventions.
  add test for wait_all on null request
  Make definition consistent with comment. We do not want the c++ bidings with OpenMPI
  split travis jobs
  Avoid a few warnings
  Use the same serialization code for python2 and python3 thank to bytesobject.h. Thanks to @xnox for the idea.
  Revert "Use the same serialization code for python2 and python3 thank to bytesobject.h."
  Use the same serialization code for python2 and python3 thank to bytesobject.h. Thanks to @xnox for the idea.
  Although single argument print () works in python2, it is still prudent to do have from __future__ import print_function as the first line of code in every file. Thanks to @xnox for the suggestion
  factorize
  have pick API work in both python 2 and 3
  Use neutral var name for buffer
  remove spurious extract and ()s
  We assume python2 pickle API, wich used str as buffers. We need something compatible with python3, which uses bytes. Common base is object
  use python3 compatible print
  For some reason mpi module is now at top level, adapt the mpi python test to that
  ...
2020-06-24 22:53:16 -07:00
Robert Ramey
22e6e37376 library_version_type has moved to serialization out of archive. 2020-06-24 22:51:48 -07:00
Alain O Miniussi
ace8026388 We want to skip C++ binding in underlying implementation (othewise, Open MPI does not give a choice), it's too late to avoid building them. 2020-06-23 12:00:22 +02:00
Alain O Miniussi
8788c360f8 typo in doc 2020-06-23 11:55:12 +02:00
Alain O Miniussi
d3825ba610 Merge branch 'develop' of github.com:boostorg/mpi into develop 2020-06-23 11:19:56 +02:00
Alain O Miniussi
e1aea365fb put status code in status files 2020-06-23 11:10:18 +02:00
Alain O Miniussi
8233e058ce put status code in status files 2020-06-23 10:48:47 +02:00
Alain Miniussi
44666d1acc Merge branch 'develop' into hotfix/pickle_py3_friendly_api 2020-06-22 11:00:23 +02:00
Alain O Miniussi
ed4a88629a Merge branch 'develop' into hirschsn-wait_all_handle_nullrequest 2020-06-19 12:56:55 +02:00
Alain O Miniussi
164bbf9108 Make definition consistent with comment.
We do not want the c++ bidings with OpenMPI
2020-06-19 12:55:47 +02:00
Alain O Miniussi
439b4419b1 Merge branch 'wait_all_handle_nullrequest' of git://github.com/hirschsn/mpi into hirschsn-wait_all_handle_nullrequest 2020-06-19 12:49:11 +02:00
Alain O Miniussi
16093e8b32 Avoid a few warnings 2020-06-19 11:22:30 +02:00
Alain O Miniussi
e49bd1a1b8 Use the same serialization code for python2 and python3 thank to bytesobject.h.
Thanks to @xnox for the idea.
2020-06-19 11:06:18 +02:00
Alain O Miniussi
da1a47d3a1 Revert "Use the same serialization code for python2 and python3 thank to bytesobject.h."
This reverts commit 923e9274bf.
2020-06-19 11:01:47 +02:00
Alain O Miniussi
923e9274bf Use the same serialization code for python2 and python3 thank to bytesobject.h.
Thanks to @xnox for the idea.
2020-06-19 10:51:05 +02:00
Alain Miniussi
bac47ee55f have pick API work in both python 2 and 3 2020-06-18 16:58:59 +02:00
Alain Miniussi
e636cf1f74 Use neutral var name for buffer 2020-06-11 22:37:05 +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
28a73eac54 fixed ub access to first element of empty vectors 2020-06-10 10:18:21 +02:00
Steffen Hirschmann
4b4863734c Waitall: Handle null (default constructed) requests 2020-05-08 17:16:48 +02:00
Alain Miniussi
c6769cae3b doxygen typo 2019-10-28 10:04:12 +01:00
Alain O Miniussi
faf6337d87 Do not bring in C++ API with OpenMPI
fix #73
2019-10-27 21:51:59 +01:00
Alain O Miniussi
c3072238d2 Merge branch 'windows' into bugfix/93-windows
refs #96
2019-10-23 13:51:42 +02:00
Alain Miniussi
20adcdeca1 missed a 'detail' namespace while forwarding to implementation
refs #93
2019-10-22 16:10:04 +02:00
Alain Miniussi
04927f9d24 Change configuration file so that we use MPI_Probe and friend even with Intel's MPI if version > 2019.4
refs #63, #62 and #95
2019-10-22 11:44:40 +02:00
Dennis Grieger
a7ca4bd526 Fixed symbol visibility on windows 2019-07-15 12:28:39 +02:00
Alain Miniussi
9905311cdc Merge pull request #84 from vincentchabannes/develop
Fix error when mpi::wait_all is called with data of type std::vector
merging first on bugfix branch
2019-06-11 18:42:25 +02:00
Alain Miniussi
02e55dd5ed Merge pull request #90 from boostorg/bugfix/property_map_dep
remove dependency on property_map
2019-06-11 18:35:35 +02:00
root (aka aom)
080849c079 remove dependency on property_map
refs #88
2019-06-11 18:25:54 +02:00
Andre Schröder
8d9b8ee024 Fix spelling mistakes in documentation 2019-05-05 12:55:07 +02:00
Vincent Chabannes
1d298a3da4 fix legacy_dynamic_primitive_array_handler::test() with type T=std::vector<...> 2019-04-01 13:57:41 +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
0eb9c2d3ba Merge branch 'sizes2offsets' of git://github.com/aumuell/mpi into aumuell-sizes2offsets 2019-03-11 14:15:06 +01:00
Alain Miniussi
c24b716773 nullptr would be better, nut not as portable. 2019-03-11 14:02:49 +01:00
Martin Aumueller
788e11ed34 BOOST_MPI_DECL for sizes2offsets
with MSVC, using templates that use sizes2offsets requires
sizes2offsets to be exported
2019-02-17 16:45:12 +01:00
Michael Kuron
dc708430bf mpi::detail::c_data needs to check for empty vectors
If the standard library is configured to do range checks (-D _GLIBCXX_ASSERTIONS), accessing the zeroth element of a vector to get its address triggers an assertion.
2019-02-14 15:55:31 +01:00
Alain Miniussi
7e52cd4761 Adapt to OpenMPI 1.6.5, which is an antique, but used on boost's travis. 2018-12-19 11:47:54 +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
Alain Miniussi
16b6fc2c38 Introduce BOOST_MPI_VERSION and BOOST_MPI_SUBVERSION.
Use those to select code according to supposrted standard.
2018-12-18 15:57:23 +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
303359840b replace deprecated MPI_Address with new replacement
refs #77
2018-12-09 23:47:57 +01:00
Alain Miniussi
dd03e959d7 MPI_INTEGER is Fortran, replaced with MPI_INT
fixes #75
2018-12-09 23:29:52 +01:00
Alain Miniussi
c6b59c0599 this unused file was commited to master by mistake.
Fixes #74
2018-10-07 19:12:58 +02:00
Alain Miniussi
7723a9e566 redundant doc on overloaded methods. 2018-09-10 15:08:22 +02:00
Alain Miniussi
5d67726047 dead code
refs #70
2018-09-06 22:12:02 +02:00
Alain Miniussi
13377ee243 factorization
refs #0
2018-09-06 22:06:17 +02:00
Alain Miniussi
d15544dc02 dead code
refs #70
2018-09-06 22:00:16 +02:00
Alain Miniussi
c4bbdeb1da More code factirization for probe based request handlers.
refs #70
2018-09-06 21:59:02 +02:00