Newsgroups: comp.parallel.pvm
From: Axel Spohr <spohr@rog.rwth-aachen.de>
Subject: [Q] Problem with pvmfinitsend()
Organization: RWTH -Aachen / Rechnerbetrieb Informatik
Date: Mon, 16 Sep 1996 11:35:38 +0200
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <323D1F6A.5F73@rog.rwth-aachen.de>

Hi !

I hope someone can help me with a problem that is not described in
the manpages or FAQ. My program fails in a call to pvmfinitsend.
It doesn't return with an error code - it doesn't return at all.
So I checked parameters and return values. The encoding value
is set to 0 i.e. PvmDataDefault and if I understand this
correctly, bufid is a return value. This is initialised with 0
before I call pvmfinitsend. I checked values returned by
pvmfinitsend in other parts of the program and get small integers
which seem to increment by 1 with each call to pvmfinitsend.
Alas, I can't check the bufid returned by this last call of 
pvmfinitsend.
Thanks for any help....

			Axel

BTW, there was a second problem which was easy to cure but nonetheless
troubling: When sending a message I have to unpack extra values
that I never packed into this message. In this case I packed a few
ints and seven reals folowed by more ints. When unpacking, I find
that I unpack the first sets of integers correctly. In the reals I
find that I get a 1.0 followed by the first six values I packed. This
of course leads to corrupted data in the following unpacks as there
is an extra real in the message as I unpack an integer. I can of course
use an extra unpack but that does not explain the problem and is likely
to cause even more....



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

