]> https://gitweb.dealii.org/ - dealii.git/commit
avoid 64bit overflow in Partiioner::set_ghost_indices 8936/head
authorTimo Heister <timo.heister@gmail.com>
Mon, 21 Oct 2019 11:56:39 +0000 (13:56 +0200)
committerTimo Heister <timo.heister@gmail.com>
Mon, 21 Oct 2019 13:35:33 +0000 (15:35 +0200)
commit5c8addea055c2f1911c6c534dcf91a695da27b1a
tree710ef36fe63e4bc4ae1d00b26bfad16b96863c4e
parent8475a8c33e7141630da06855fbdd38521d276967
avoid 64bit overflow in Partiioner::set_ghost_indices

We MPI::sum() a 32 bit value of the total number of ghost indices, which
might overflow. This is unlikely to be a problem unless you exactly have
2^32 ghost indices, but this is nevertheless a bug.
source/base/partitioner.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.