Newsgroups: comp.parallel.pvm
From: boris@Glue.umd.edu (Boris A. Velikovich)
Subject: Misc questions
Organization: Project GLUE, University of Maryland, College Park, MD
Date: 19 Jan 1996 23:33:25 GMT
Message-ID: <4dp9o5$r24@mojo.eng.umd.edu>

Several questions on PVM.

1)
We have two commands:

pvm_send(dest, msgtype) 

and

pvm_recv(src, msgtype)


Question is, does the value of msgtype matter, or we only care that it were
the same for SEND and RECV commands?
In my program, I tried different msgtypes (consistent for SEND and RECV),
and for some values I got into indefinite waiting for RECV! For the values
that do work, however, I get a run-time error "PVM_UPKINT: End of buffer",
and I do not know WHY is it happening. Since all PKINTs match all UPKINTs,
I think the reason is the wrong value of msgtype.
How to choose the value for msgtype??

2) While debugging a PVM program, how to get the spawned programs to print
their results? I have lots of debugging PRINTs in my spawned program, yet
for some reason the output disappears!

  Thank you for your reply.


        Boris



