Newsgroups: comp.parallel.mpi
From: llewins@msmail4.hac.com (Lloyd J Lewins)
Subject: Re: How to deal with junk mails in MPI and PVM?
Organization: Hughes Aerospace Electronics Co.
Date: Mon, 31 Jul 1995 07:48:11 -0800
Message-ID: <llewins-3107950748110001@x-147-16-95-58.es.hac.com>

In article <3v1ml6$da9@monalisa.usc.edu>, zxu@monalisa.usc.edu (Zhiwei Xu)
wrote:

> Is there a way to throw away "junk mails" in MPI or PVM?
> 
> Suppose (due to mistakes or some wierd "features") many messages are sent to a
> receiver process, of which only a few are useful msgs and the others are junk
> msgs. Now the receiver wants to throw away all junk mails. What is required
> is that
> 

The only way (I can think of) to do this in MPI-1 is to issue an
MPI_Cancel on the sending side. Unfortunately MPI_Cancel must be called on
the sending side, which is probably not what you want. Even then, it is
not clear that MPI_Cancel is guaranteed to clean-up all resources.

I suggest that you write-up a clearer motivating example, and send it to
the MPI Forum (mpi-core@mcs.anl.gov) for possible inclusion in MPI-2.

--------------------------------------------------------------------------
Lloyd J Lewins                                  Mail Stop: RE/R1/B507
Hughes Aerospace and Electronics Co.            P.O. Box 92426
                                                Los Angeles, CA 90009-2426
Email: llewins@msmail4.hac.com                  USA
Tel: 1 (310) 334-1145
Any opinions are not neccessarily mine, let alone my employers!!

