Newsgroups: comp.parallel.pvm
From: Chan Suet Mei <cssmchan@cs.cityu.edu.hk>
Subject: Send a message to a task (admendment)
Organization: City University of Hong Kong
Date: Thu, 08 Feb 1996 11:56:09 +0800
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <31197459.41C67EA6@cs.cityu.edu.hk>

Hi there,

Because of the typing errors in my previous message, the content of the message may
cause some misunderstanding. I apologize for the it. :>

Here is the amendment of the previous message I posted. Please tell me if u can 
suggest some solutions of this problem to me.

My problem is :

Now, 2 programs are running together (not using pvm_spawn) and they are not in
the same group.

Program A wants to send program B a message. However, program A does not know 
the task id of program B. As pvm_send can only use when the destination task id
is known. Does anyone know how to send a message without knowing the task_id of
the destination, or how to let the starting task id know the destination task id?

I have tried to use pvmtidhost() to get the destination task id but not successful,
because only id of program A is given and id of program B cannot be seen. 

Thanks for your attention and your suggestions.
Chan Suet Mei.

E-mail: cssmchan@cs.cityu.edu.hk

