diff options
author | 2022-04-07 06:54:31 -0700 | |
---|---|---|
committer | 2022-04-07 06:54:31 -0700 | |
commit | 85180bebc3fc82256c197102b5ec8e2da8070e5b (patch) | |
tree | 7c4b072dc06f1f795146df465276e40b23b46969 /Source/Parallelization/WarpXComm.cpp | |
parent | a9311e50aaa6cb49e4aaf02edc7504f7778316aa (diff) | |
download | WarpX-85180bebc3fc82256c197102b5ec8e2da8070e5b.tar.gz WarpX-85180bebc3fc82256c197102b5ec8e2da8070e5b.tar.zst WarpX-85180bebc3fc82256c197102b5ec8e2da8070e5b.zip |
Fix MPI Signal Handling on Perlmutter (#3029)
* Fix: `MPI_CXX_BOOL` -> `MPI_BYTE`
C99 types were aded in MPI-2.2, while Cray's MPICH fork in version
8.1.13 defines `MPI_CXX_BOOL` to `MPI_DATATYPE_NULL` on Perlmutter.
We could use `MPI_C_BOOL`, which is technically a `_Bool` from
[<cstdbool>](https://en.cppreference.com/w/cpp/header/cstdbool)
(deprecated: C++17; removed: C++20) - or we simply do a static
assert on `sizeof(bool)` and communicate as a `MPI_BYTE` or
`MPI_CHAR`.
* Signals: Do no MPI Comms if none is configured
* Docs: Link and Explain Allowed Signal Values
* Review Comments & Style
Diffstat (limited to 'Source/Parallelization/WarpXComm.cpp')
0 files changed, 0 insertions, 0 deletions