[mpich-discuss] MPI_Allreduce fail. Please help. (UPDATE) (WINDOWS XP 32bit+gfortran) (Yonghui)

Yonghui lyh03259.aps at gmail.com
Thu Sep 6 12:57:21 CDT 2012


Thanks Anthony. 

 

That makes more sense. If I am correct the MPI_IN_PLACE for fortran is just
a number since there is no way to visit a memory address directly by
fortran. And the fortran subroutines are just wrappers of c functions. So if
MPI_Allreduce (MPI_IN_PLACE, ..) is used and when the send buf is 0
(MPI_IN_PLACE), the actual parameter which passed to a c function should be
0xffffffff (the MPI_IN_PLACE defined in the c header), right?

 

Yonghui

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20120906/093d9210/attachment.html>


More information about the mpich-discuss mailing list