Newsgroups: comp.parallel.pvm
From: Yuen Pui Ho <s935715@mailserv.cuhk.edu.hk>
Subject: Re: Help: Why "PvmDataInPlace" is not working?
Organization: Physics Department of CUHK
Date: 22 Aug 1996 07:39:17 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <4vh2r5$g4s@hpg30a.csc.cuhk.edu.hk>


>In article <4vbupo$2u6@hpg30a.csc.cuhk.edu.hk>,
>Yuen Pui Ho  <s935715@mailserv.cuhk.edu.hk> wrote:
>>    In a PVM application. I try using the packing option "PvmDataInPlace"
>>in pvm_initsend() function. But when I send the message in the following
>>lines. It tell me that:
>>
>>PvmDataInPlace is not implemented
>
>DataInPlace is not implemented for strings (pvm_pkstr), otherwise it should
>work.
>
>>pvm_send() is not inplemented
>
>Are you sure about this? Can you post your code fragment?

    Yes, here is my the code fragment which send out the array:
----------------------------------------------------------------------------

if(pvm_initsend(PvmDataInPlace)<0)		/* if cannot initialize buffer */
   PtErr("Cannot initialize buffer, abort.");

if((info=pvm_pkdouble(vector1,VSize,1))<0)
   PtErr("packing error");

if((info=pvm_mcast(tids, SlaveNo, msg))<0)
   PtErr("boardcast error.");

-------------------------------------------------------------------------------
The results was:

libpvm [t40002]: peer_send() PvmDataInPlace not implemented
libpvm [t40002]: pvm_mcast(): Not implemented
boardcast error.

--------------------------------------------------------------------------------
     This program was running on a DEC Alphastation 2104A (1 CPU only) with 64Mb RAM.
Thank You very much for your help.


Clarence Yuen
Physics, Chinese University of HK.
s935715@mailserv.cuhk.edu.hk
phyuen@phy.cuhk.edu.hk




