Newsgroups: comp.parallel.pvm
From: Daniel Ortiz <dortiz@ece.orst.edu>
Subject: Communications in PVM
Organization: College of Engineering, Oregon State University
Date: Tue, 30 May 1995 16:38:44 -0700
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Message-ID: <Pine.HPP.3.91.950530160025.1669B-100000@watson.ECE.ORST.EDU>

Hi:


	I'd like to improve the performance of some PVM application by
overlapping communication and computation. Are there any general
guidelines to do that?

I understand that pvm_send() is asynchronus, blocking and that pvm_nrec()
is nonblocking. As I understand that means that the pvm_send routine doesn't
wait for the receiver to get the message, but blocks until the message is
"safe" in its buffer ready to be sent; while pvm_nrec doesn't block if the
message hasn't arrived. 
	Further pvm_psend() is asynchronous, non-blocking but pvm_prec() 
is blocking. It seems like I should use pvm_psend() and pvm_nrec() to 
allow the overlapping.
	Anybody has tried to overlap communication and computation?

	Any help will be appreciated, thanks in advance.

	Daniel
	

__________________________________________________________	
Daniel Ortiz-Arroyo			
ECE Department			     Phone: (503) 7-374537
Oregon State University		     Office: BAT241


