Newsgroups: comp.parallel.pvm
From: eberl@fzi.de (Martin Eberl)
Subject: Group server confuses pvmd
Organization: Forschungszentrum Informatik (FZI), Karlsruhe, Germany
Date: 12 Mar 1996 13:30:24 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Message-ID: <4i3u9g$7hh@gate.fzi.de>


I am using PVM 3.3.10 on Sun under Solaris (SUN4SOL2).

The following works fine:


main() {

  char *host = "jaguar";
  int infos;

  pvm_start_pvmd(0, 0, 1);

  /*
  pvm_gsize("testgroup");
  */

  pvm_addhosts(&host, 1, &infos);
}


but together with the pvm_gsize command (cutting the comment signs), the following
happens:

pvm_start_pvmd works fine, returning PvmOk,
pvm_gsize works fine, returning 
pvm_addhosts causes pvmd on the masterhost to terminate (without exiting the
corresponding pvmd process, but deleting the pvmd.<uid> file) and leaves a
corrupted pvmd on the slave host (jaguar), with a more or less undefined masterhost

pvm> conf
2 hosts, 1 data format
                    HOST     DTID     ARCH   SPEED
                       ?    40000             1000
                  jaguar    80000 SUN4SOL2    1000

The pvml.<uid> file containes the following:

[t80040000] ready  3.3.10   Tue Mar 12 14:27:08 1996
[t80040000] work() select: Bad file number
[t80040000]  wrk_nfds=12
[t80040000]  rfds=5,7,9,10,11
[t80040000]  wfds=
[t80040000]  netsock=7, ppnetsock=8, loclsock=10
[t80040000] task_dump()
[t80040000]      tid     ptid flag    pid soc out     wait   outtid   trctid    sched   es
[t80040000]    40001        0    4  28433   5  -1        0        0        0        0    0
[t80040000]  txq:pkt      src      dst flag    len    ofs
[t80040000]    40002    40001    6  28441  11   9        0        0        0        0    0
[t80040000]  txq:pkt      src      dst flag    len    ofs
[t80040000] 
[t80040000] pvmbailout(0)

Any ideas?

Martin


Martin Eberl
Forschungszentrum Informatik     email: eberl@fzi.de
Haid-und-Neu-Strasse 10 - 14     phone: +49-721-9654-222
D - 76131 Karlsruhe, Germany     fax:   +49-721-9654-209

