Newsgroups: comp.parallel.mpi
From: vaibhav@moutier. (Vaibhav Deshpande)
Subject: Does MPI_REDUCE work for max & min Complex datatype?
Organization: Swiss Scientific Computing Center (CSCS)
Date: 21 Jun 1995 12:27:20 GMT
Message-ID: <3s9378$14v@pobox.cscs.ch>

Hello!

I am trying to use MPI_REDUCE function for "Complex" and
"Double Complex" datatype for Maximum (MPI_MAX) and Minimum 
(MPI_MIN) values. It seems to be producing incorrect results 
using MPICH 1.0.8.
The reduction for MPI_SUM for the above datatype always work
correctly but not the "Maximum" or "Minimum".

Can anyone with a similiar experience, pls. tell me about the
problem if any?  The MPI draft dated May5, 95 says that MPI
does define minimum and maximum reduction functions for 
"complex" datatypes. 

Any kind of help would be appreciated. 

Thanks,

Yours, 

-- 
Vaibhav Deshpande				off: +41(91) 50 8308
Section of Resarch & Development (SeRD)		Fax: +41(91) 50 6711
CSCS-ETH (Swiss Scientific Computing Center)	email: vaibhav@cscs.ch
6928 Manno, Switzerland

