Open MPI logo

Open MPI User's Mailing List Archives

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

From: john casu (john_at_[hidden])
Date: 2006-04-06 18:07:00


On Thu, 2006-04-06 at 15:48 -0400, George Bosilca wrote:
> The error state that your trying to use an invalid operation. MPI
> define which operation can be applied on which predefined data-types.
> Do you know which operation is used there ? And which predefined data-
> type ?
>

please forgive for not including the relevant offending Fortran code,
which is as follows:

#include "mpif.h"
       :
       :
      real*8 data2(10), data(10)
      integer msg_comm
      integer n, ierr
       :
       :
      call MPI_Allreduce( data, data2, n, MPI_DOUBLE_PRECISION,
     & MPI_SUM, msg_comm, ierr )

Further investigation shows that the error only seems to show itself on
an x86_64 box, and the code works fine on an ia32 box.

> Thanks,
> george.
>
> On Apr 6, 2006, at 2:41 PM, john casu wrote:
>
> > I'm trying to work with the sppm code form LLNL:
> > http://www.llnl.gov/asci_benchmarks/asci/limited/ppm/asci_sppm.html
> >
> > I built openmpi and sppm on an 8-way shared memory Linux box.
> >
> > The error I get is:
> > [ty20:07732] *** An error occurred in MPI_Allreduce
> > [ty20:07732] *** on communicator MPI_COMM_WORLD
> > [ty20:07732] *** MPI_ERR_OP: invalid reduce operation
> > [ty20:07732] *** MPI_ERRORS_ARE_FATAL (goodbye)
> >
> >
> > it happens in both 1.0.1 and 1.0.2rc1
> >
> > thanks,
> >
> > john.
> >
> > _______________________________________________
> > users mailing list
> > users_at_[hidden]
> > http://www.open-mpi.org/mailman/listinfo.cgi/users
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>