Wow -- that has survived since LAM/MPI -- you're the first person to have ever noticed it. :-)

I *think* it's just a wrong type, but I'd prefer to file a ticket so that someone gives it a bit more than a cursory examination before making the change.

Thanks for pointing it out!


On Oct 10, 2007, at 9:19 PM, Stephen Guzik wrote:

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

_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users


--
Jeff Squyres
Cisco Systems


Reply via email to