Problems with communication via PVM
Erik Arjan Hendriks
hendriks-bproc@scyld.com
Wed Apr 26 12:58:01 2000
On Tue, Apr 25, 2000 at 09:38:47AM +0200, ala wrote:
> Hi everyone,
>
> I have huge problem:
> Have I written application (retracing) and I want paralleling it
> using bproc + PVM.
> I build PVM with BEOLIN settings and when it work without bproc
> all is correct, but when I move process to other computer or
> to this same machine, each sending data to the pvm generate
> strange unreadable message on the screen (some like "@ 43 _ ").
> I try use static and dynamic linked library, all nodes in cluster
> share this same tmp file.
PVM is not aware of bproc. It doesn't expect processes to be moved
somewhere after it's initialized.
PVM should work fine if you bproc_rfork() or bproc_move() first and
then call pvm_init(). The tricky part is figuring tid's of other
processes. I'll see if I can find some sample code for doing that.
> Please help me, this is very urgent!
>
> Why after initializing bproc variable errno is not 0, perror
> function show "no such file or directory". Maybe I do something
> wrong. I install bproc step by step like in readme file. Of
> course all tests work correctly.
Are you talking about the call to bproc_init()? errno is not
meaningful after that call. bproc_init should return more error
information. (It will in the future.) For now you should probably
just presume it went fine. It really just needs to initialize some
internal variables and read /var/run/bproc. It should even work if
you can't read that file. (You just won't have node IP addresses
handy via the library.)
- Erik
-------------------------------------------------------------------
To unsubscribe send a message body containing "unsubscribe"
to beowulf-bproc-request@beowulf.org