Newsgroups: comp.parallel.pvm
From: Martin Bernreuther <kea9@stat15.bauingenieure.uni-stuttgart.de>
Subject: Re: Implementation of pvm_psend and pvm_precv
Organization: Universitt Stuttgart
Date: Wed, 15 May 1996 13:16:25 +0000
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <3199D929.2BC4@stat15.bauingenieure.uni-stuttgart.de>

Michal Soch wrote:
> 
>         I would like to ask you about implemnting pvm_psend and pvm_precv.
> I woul like to know detail steps when I call these subroutines. Data from
> buffer is packed to PVM buffer ot it is fetchen during call from user space
> memory? Data is coded to XDR format?
>         I did not find the exact answer in pvm documentation.
> 
>         Thank you very much in advance
> 
>         Michal Soch
> 
>                         ------------------------------
>                                Michal Soch
>                                Ph.D. student
>                         email: soch@cslab.felk.cvut.cz
>                         ------------------------------

Look at the paper "Recent Enhancements to PVM" of Beguelin,Dongarra,Geist,
Manchek & Sunderam available at
http://www.netlib.org/pvm3/ncwn.html :

18.Recent Enhancements to PVM, 
http://www.netlib.org/utk/papers/pvm-ijsa/ijsa.html 
http://www.netlib.org/ncwn/ijsa.ps 

In chapter 2, page 3 they're talking about pvm_psend:
"pvm_psend combines the initialize, pack, and send steps into a single call
with a single call with an orientation towards performance."
So, if you don't want to use XDR, use the flag PvmDataRaw or PvmDataInPlace.

Bye
	Martin

-------------------------------------------------------------------------------
Martin Bernreuther                                    Civil Engineering student
M.Bernreuther@studbox.uni-stuttgart.de         University of Stuttgart, Germany
-------------------------------------------------------------------------------

