Newsgroups: comp.parallel.pvm
From: dbs@masc.rice.edu (David Brian Serafini)
Subject: PVMFTASKS question
Organization: Dept. of Math. Sciences, Rice University
Date: 20 Sep 1995 00:37:46 GMT
Message-ID: <43nnor$e8h@larry.rice.edu>


I've read everything I can find and still don't understand the 
behavior I'm seeing from PVMFTASKS().  The man page clearly
states that setting the 1st arg (where) to 0 and calling the
routine repeatedly should return all the tasks in the virtual
machine.  But when I do this, I randomly get only some of the
tids.  Even the number of tasks is wrong in some of the children.
We're  still running 3.3.6.  I looked at the changes
file at ORNL and didn't see mention of this.  Is it fixed in
a later release?  Am I just not understanding what this is 
supposed to do or how to use it?  

Here's a code fragment:

          ![...parent spawns (nprocs-1) tasks...]

          ntasks = -1
          where = 0
          do i = 1,nprocs
              call PVMFTASKS( where,ntasks,tid,ptid,daemontid,flag
     &                       ,ctmp,info )
              print *,'ntasks,task id = ',ntasks,tid
          enddo
              

Thanks in advance.

-David      <dbs@caam.rice.edu>
-- 
David B. Serafini  <dbs@caam.rice.edu>     | Computational & Applied Math Dept.
Computational Science Ph.D student         | Rice University, MS134
(713)285-5176   FAX: (713)285-5136         | 6100 S. Main Street
#include standard_disclaimers.h            | Houston, TX, 77251-1892

