Hi Peter, Thanks that helped a lot. BTW: please let me know if you any comment on "Windows: MPI_Allreduce() crashes when using MPI_DOUBLE_PRECISION" thread.
Thank you. -Hiral 2011/5/4 Peter Kjellström <[email protected]>: > On Wednesday, May 04, 2011 04:04:37 PM hi wrote: >> Greetings !!! >> >> I am observing following error messages when executing attached test >> program... >> >> >> C:\test>mpirun mar_f.exe > ... >> [vbgyor:9920] *** An error occurred in MPI_Allreduce >> [vbgyor:9920] *** on communicator MPI_COMM_WORLD >> [vbgyor:9920] *** MPI_ERR_OP: invalid reduce operation >> [vbgyor:9920] *** MPI_ERRORS_ARE_FATAL (your MPI job will now abort) > > I'm not a fortran programmer but it seems to me that placing the MPI_Allreduce > call in a subroutine like that broke the meaning of MPI_SUM and MPI_REAL in > that scope. Adding: > > include 'mpif.h' > > after SUBROUTINE PAR_BLAS2(m, n, a, b, c, comm) helps. > > /Peter > > _______________________________________________ > users mailing list > [email protected] > http://www.open-mpi.org/mailman/listinfo.cgi/users
