332 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 473cbe7742 Avoid dereferencing null pointer even if the value is not actually used.
Makes ubsan happy
2025-05-05 21:45:27 +02:00
Alain Miniussi 9acb114ebc Merge branch 'develop' of github.com:boostorg/mpi into develop 2025-05-05 21:38:25 +02:00
Alain Miniussi 9478ab6d30 More symbols need to be exported from Boost::mpi (maybe a change in the CMake build system?).
Add the BOOST_MPI_DECL where needed.
2025-05-05 21:35:30 +02:00
Samuel Debionne 58e417214e Fix MSMPI missing MPI_CXX_BOOL 2025-04-17 17:55:55 +02:00
Alain Miniussi 33765a1d30 Associate primitive bool type with MPI_CXX_BOOL and make it a logical type so that reduce uses directly MPI_AND and MPI_OR. 2025-02-26 14:07:54 +01:00
Alain Miniussi 819d0dd280 Restore OMPI_SKIP_MPICXX and MPICH_SKIP_MPICXX in config.hpp to help
non cmake build.
Guard them form previous definition to avoir spurious warnings.
2024-10-29 17:16:16 +01:00
LXYan2333 7100c9ef7c Use CMake's MPI_CXX_SKIP_MPICXX to add macro to disable MPI 2.0's CXX binding 2024-10-14 22:25:00 +08: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 1491a5ad23 Autorise empty imput in scatterv 2023-09-18 17:15:54 +02:00
Alain Miniussi 71c6854d00 Tells copiler that abort won't return 2023-09-18 16:10:00 +02:00
Alain Miniussi 2e253362d5 Syntax error in windows declspec directive.
Thanks Yury Bura for the fix.
2023-09-18 15:44:24 +02:00
Alain Miniussi 88937d97a9 typo in doxygen comment 2023-07-31 16:22:58 +02:00
Alain Miniussi e22abc5137 Help with windows build.
refs #144
2023-03-22 17:30:39 +01: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 7b98693c36 Merge branch 'feature/mpi-3-library-version' of github.com:leha-bot/mpi into leha-bot-feature/mpi-3-library-version 2022-06-02 14:27:33 +02:00
Alain Miniussi 70a87869b0 Merge branch 'issue131' of github.com:stubbsda/mpi into stubbsda-issue131 2022-06-02 14:20:08 +02:00
Maksim Petukhou 8494fffb5b Fix buffer primitive load and save for CharType != char 2021-10-27 21:56:23 +03:00
Daniel Stubbs 5321a7c99b Added all_gatherv declaration to header file for MPI collective operations. 2021-10-25 08:31:12 -04: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
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