pvm_recv returns all arguments but buffer
pm
pm at cgiss.boisestate.edu
Tue Dec 7 19:52:39 CET 2010
PROBLEM:
The problem is that pvm_recv does not return the message contents, just
returns the tag, msgtid, and info arguments. Other pvm commands seem to be
working (as far as I have tested). The pvm_recv command blocks as one would
expect until it receives the pvm_send from the master.
Version: Scilab-4.1.2
Operating System: Debian Lenny both 32 and 64 bit systems, same result
Compiled with configure command (all on one line):
./configure --with-gnu --with-pvm-library=/usr/lib --with-pvm-include=/usr/include
cat /home/pm/.pvmd.conf
#* dx=$PVM_ROOT/lib/pvmd ep=$SCI/bin:$PVM_ROOT/bin/$PVM_ARCH
* dx=$PVM_ROOT/lib/pvmd ep=$SCI/bin:$PVM_ROOT/lib
EXAMPLE RUN INTERACTIVELY:
==========on master
-->pvm_start()
The configuration file
/home/pm/.pvmd.conf
is used.
ans =
0.
-->data=44
data =
44.
-->[tids,numtids]=pvm_spawn("",1)
numtids =
1.
tids =
262147.
=========on slave
-->[buff,info,msgtid,tag]=pvm_recv(pvm_parent(),1)
tag =
1.
msgtid =
262145.
info =
0.
====================================
NOTE: "buff" not returned, but info=0 suggesting success.
Any suggestions?
--
Dr. Paul Michaels, PE
Voice: (208) 426-1929 Fax:(208) 426-4061
Email: pm at cgiss.boisestate.edu WWW: http://cgiss.boisestate.edu/~pm
More information about the users
mailing list