Newsgroups: comp.parallel.pvm
From: hmillwater@swri.edu (Harry Millwater)
Subject: How to tell what machine process is running on??
Organization: SwRI
Date: 20 May 1996 20:21:02 GMT
Message-ID: <4nqk7e$1ln@sun2.ccf.swri.edu>

Hello PVM gurus.  I am a novice pvm programmer.  What I want to know is
after I spawn some tasks and have their tids, how can I tell what
machine a task is running on?  I need this information because I want
to do different things with directories, files, etc. depending on which
machine the job is on.  I see there is a pvmftidtohost command that
returns the host id on which the specified task is running.  How do I
use that dtid value?  Do I compare it with the unix process number for
pvmd?  That sounds very cumbersome.

Thanks for your help.
Harry Millwater
hmillwater@swri.edu

