Newsgroups: comp.parallel.pvm
From: Axel Spohr <spohr@rog.rwth-aachen.de>
Subject: [Q] sending boolean values
Organization: RWTH -Aachen / Rechnerbetrieb Informatik
Date: Fri, 28 Jun 1996 09:29:26 +0200
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <31D389D6.41C67EA6@rog.rwth-aachen.de>

I have an application in which I have to transmit large arrays of
boolean values ( or logicals, as they are called in F90 ). For space
reasons I intend to pack several of these ( i.e. 32 ) into an
integer for sending over pvm. The sparcs I use now use 2-complement
for the representation of negative numbers, but is this model
standard on all architechtures ? Can I safely use the sign bit ? 
What happens if I use XDR in a heterogenous network or do I have
to use PvmDataRaw ?
Thanks for any suggestions

		Axel

 
-----------------------------------------------------------------------------
Axel Spohr					     spohr@rog.rwth-aachen.de
Ludwigsallee 1b
D-52062 Aachen						
+49-241-154701
-----------------------------------------------------------------------------
        This mail was sent using unbleached, recycled electrons.

