[MPI3 Fortran] MPI User Defined Op in Fortran

Jeff Squyres jsquyres at cisco.com
Fri Jun 29 07:45:06 CDT 2012


In this case, you will need to define your own MPI_Op -- the pre-defined MPI_Op's only work with a limited set of pre-defined MPI_Datatypes.  See the table in MPI-2.2 on pages 165 and 166.


On Jun 27, 2012, at 9:09 PM, Dharmendar Reddy wrote:

> Hello,
>         Can some one help me with user defined MPI reduce operation in FORTRAN. I have defined a MPI_TYPE_CONTIGUOUS and am able to send and receive it. When i try to to MPI_Reduce, i get error. I have attached the code. 
> 
> Thanks
> reddy
> 
> -- 
> -----------------------------------------------------
> Dharmendar Reddy Palle
> Graduate Student
> Microelectronics Research center,
> University of Texas at Austin,
> 10100 Burnet Road, Bldg. 160
> MER 2.608F, TX 78758-4445
> e-mail: dharmareddy84 at gmail.com
> Phone: +1-512-350-9082
> United States of America.
> 
> <MPIDTTest.F90>_______________________________________________
> mpi3-fortran mailing list
> mpi3-fortran at lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi3-fortran


-- 
Jeff Squyres
jsquyres at cisco.com
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/





More information about the mpiwg-fortran mailing list