From: Laurent LABRACHERIE Newsgroups: comp.parallel.pvm Subject: help me with joingroup in master-slave Date: Fri, 23 Apr 1999 16:40:23 +0100 Organization: CS Cisi Message-Id: <37209466.D8D4E112@gaulois.cad.cea.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Xref: ukc comp.parallel.pvm:8300 trying to run a fortran MPMD with barrier synchronisation : here the master prog: ******* MASTER ******** program MASTER [...] C ENROLL IN PVM CALL pvmfMYTID( O MYTID) CALL pvmfJOINGROUP( I 'GROUP', O INUM) PRINT*,'TID:',MYTID,' JOIN GROUP AS MEMBER #',INUM C SPAWN SLAVE.EXE TO NPROCS SLAVES PRINT*,'NPROC=',NPROC CALL pvmfSPAWN( I 'slave.exe', I PVMTASKDEBUG,'*',NPROC, O TIDS,NUMT) C [...] ********************** and there the slave prog: ******* SLAVE ******** program SLAVE [...] CALL pvmfMYTID( O TID1) CALL pvmfJOINGROUP( I 'GROUP', O INUM) PRINT*,'TID:',TID1,' JOIN GROUP AS MEMBER #',INUM [...] ********************** the master prog join the group successfully, but not the slave : the slave program wait for "don't know why" at the pvmfJOINGROUP call any suggestions, please ?? I MUST have a Multi Program application ^^^^ -- |=================================================| | Laurent LABRACHERIE | | Ingenieur CISI-Cadarache | |=================================================| | TEL : (33) 04 42 25 (35 10) | | FAX : (33) 04 42 25 (43 20) | | E-MAIL : labrache@gaulois.cad.cea.fr | | INTRA-WEB : http://gaulois.cad.cea.fr/~labrache | |=================================================|