Newsgroups: comp.parallel.pvm
From: zxu@monalisa.usc.edu (Zhiwei Xu)
Subject: How to deal with junk mails in MPI and PVM?
Organization: University of Southern California, Los Angeles, CA
Date: 24 Jul 1995 19:59:38 -0700
Message-ID: <3v1mmq$dbe@monalisa.usc.edu>

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

1.	The receiver does not want to read the junk mails (i.e., not to
	do an expensive receive, for the msg could be long). Thus we need
	something like MPI_Iprobe or MPI_Test.

2.	The receiver wants to free the memory buffer space occupied by
	those junk msgs which have arrived but not received.

How to do this in MPI or PVM?

Zhiwei Xu	zxu@aloha.usc.edu

