Newsgroups: comp.parallel.pvm
From: Lord of Darkness <j.biddiscombe.yum.SPAM.yum.@rl.ac.uk>
Reply-To: j.biddiscombe.yum.SPAM.yum.@rl.ac.uk
Subject: C structs in messages
Organization: Rutherford Appleton Laboratory
Date: Sun, 26 Oct 1997 15:12:12 +0000
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <34535DCC.1CF0@rl.ac.uk>

In the docs, it says, that structures must be packed up seperately...

is there any reason why I cant use pvmDataRaw and send an array of 

struct rubbish {
	double d;
	int    i;
	char   cccc[128]
}

or similar, by simply pretending that its an array of bytes and sending
the data as byte format ?

so 57 structs becomes 57*sizeof(struct) bytes. 

It seems too obvious to be asking, but is there any reason why I can't
do this ? (all machines will be same ARCH).

John B



-- 
SPAM tastes yummy, but I've had too much lately.
Please note doctored reply-to address.

