Newsgroups: comp.parallel.pvm
From: mapdjb@bath.ac.uk (D J Batey)
Subject: Re: Help!!
Organization: School of Mathematical Sciences, University of Bath, UK
Date: Tue, 20 Feb 1996 14:03:59 GMT
Message-ID: <Dn2v2M.G6.B.mary@bath.ac.uk>

In the referenced article, stuart@cs.ualberta.ca writes:
>I am having troubles with pvm_initsend, and I have an assignment due,
>pronto.. I don't really understand what the problem is.. I have a
>function definition, like thus:
[..]
>I don't get it. Can anyone offer some helpful explanations?
>
>Dave

Hi Dave,

As far as I know, you can only use freebuf to deallocate a buffer you
yourself have explicitly mkbuf'd. Initsend initialises a default buffer,
so freeing it screws the world. Just delete the freebuf line and all should
be hunky dory.

Duncan.



