Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI devel] querying Op commutativity for predefined reduction operations.
From: George Bosilca (bosilca_at_[hidden])
Date: 2014-04-21 13:01:17


Thanks for the bug report (r31467).

  George.

On Apr 21, 2014, at 06:05 , Lisandro Dalcin <dalcinl_at_[hidden]> wrote:

> IMHO, MPI_Op_commutative() should not fail for predefined reduced operations.
>
> [dalcinl_at_kw2060 openmpi]$ ompi_info --version
> Open MPI v1.8
>
> http://www.open-mpi.org/community/help/
> [dalcinl_at_kw2060 openmpi]$ cat op_commutative.c
> #include <mpi.h>
> int main(int argc, char *argv[])
> {
> int flag;
> MPI_Init(&argc,&argv);
> MPI_Op_commutative(MPI_SUM,&flag);
> MPI_Finalize();
> return 0;
> }
> [dalcinl_at_kw2060 openmpi]$ mpicc op_commutative.c
> [dalcinl_at_kw2060 openmpi]$ ./a.out
> [kw2060:19303] *** An error occurred in MPI_Op_commutative
> [kw2060:19303] *** reported by process [140737157201921,140239272148992]
> [kw2060:19303] *** on communicator MPI_COMM_WORLD
> [kw2060:19303] *** MPI_ERR_OP: invalid reduce operation
> [kw2060:19303] *** MPI_ERRORS_ARE_FATAL (processes in this
> communicator will now abort,
> [kw2060:19303] *** and potentially your MPI job)
>
>
> --
> Lisandro Dalcin
> ---------------
> CIMEC (UNL/CONICET)
> Predio CONICET-Santa Fe
> Colectora RN 168 Km 472, Paraje El Pozo
> 3000 Santa Fe, Argentina
> Tel: +54-342-4511594 (ext 1016)
> Tel/Fax: +54-342-4511169
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel
> Link to this post: http://www.open-mpi.org/community/lists/devel/2014/04/14561.php