There is another option here -- Fortran compilers can aggressively move code around, particularly when it doesn't know about MPI inter- function dependencies.

This usually only happens with non-blocking MPI communication functions, though. Are you using those, perchance?


On May 18, 2009, at 11:51 AM, Iain Bason wrote:


On May 14, 2009, at 3:20 PM, Valmor de Almeida wrote:

> I guess another way to ask is: is it guaranteed that A and B are
> contiguous?

Yes.

> and the MPI communication correctly sends the data?

I'm not sure what you're asking, but the code looks as though it ought
to work.

Iain

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



--
Jeff Squyres
Cisco Systems

Reply via email to