Newsgroups: comp.parallel.pvm
From: binh <binh@infaut.et.uni-magdeburg.de>
Subject: How to get hostname?
Organization: IFAT-University of Magdeburg
Date: Mon, 03 Nov 1997 15:50:41 +0100
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <345DE4C1.5E45F7B4@infaut.et.uni-magdeburg.de>

Hi,

For my application I would like to get the name of host on which
a process with the given ID runs. 

My question is: Is there a routine like TID2HOSTNAME, which returns
the name of host by giving TID?

For example:
   tid = pvm_mytid();
   hostname = TID2HOSTNAME(tid)

I would be most grateful for any help and comment.

Binh

