Re: [OMPI users] Redefining MPI_BOOL depending of sizeof(bool)

2018-03-29 Thread Jeff Squyres (jsquyres)
> Am 29.03.2018 um 09:58 schrieb Florian Lindner: >> #define MPI_BOOL MPI_Select_unsigned_integer_datatype::datatype >> >> It redefines MPI_BOOL based on the size of bool. I wonder if this is needed >> and why? >> >> I was speculating that the compiler could pack multiple bools in one word, >>

Re: [OMPI users] Redefining MPI_BOOL depending of sizeof(bool)

2018-03-29 Thread Florian Lindner
Am 29.03.2018 um 09:58 schrieb Florian Lindner: > #define MPI_BOOL MPI_Select_unsigned_integer_datatype::datatype > > > It redefines MPI_BOOL based on the size of bool. I wonder if this is needed > and why? > > I was speculating that the compiler could pack multiple bools in one word, > when