Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

From: Stephen Guzik (sguzik_at_[hidden])
Date: 2007-10-10 21:19:02


Hi,

To the Devs. I just noticed that MPI::BOTTOM requires a cast. Not sure
if that was intended.

Compiling 'MPI::COMM_WORLD.Bcast(MPI::BOTTOM, 1, someDataType, 0);'
results in:
error: invalid conversion from ‘const void*’ to ‘void*’
error: initializing argument 1 of ‘virtual void MPI::Comm::Bcast(void*,
int, const MPI::Datatype&, int) const’

MPI_BOTTOM, on the other hand, works without a cast.

Stephen