Newsgroups: comp.parallel.pvm
From: rbarrett@ranger.lanl.gov (Richard Barrett)
Subject: Re: Portable start ups
Organization: Los Alamos National Laboratory
Date: 27 Jun 1995 18:52:54 GMT
Message-ID: <3spk26$oh9@newshost.lanl.gov>

How about writing a pvm_init mask that #define's for specific
arch. For the t3d it would probably just be a quick return.

Richard

In article <9506271753.AA19213@ee.msc.edu>, saroff@msc.edu (Stephen Saroff Minnesota Supercomputer Center) writes:
|> Is there a recommended best way for writing a PVM code such that it
|> is portable between the T3D and a standard environment.\
|> 
|> 
|> I generally do a check like 
|> 
|>       call pvmfparent( iparent )
|> C
|> C     Find parent (master), only the pare/master will not have one.
|> c     Set number of tasks spawned to number of hosts less the master
|> c
|>       if( iparent .eq. PvmNoParent ) then
|>          tid(0)=mytid
|>          call pvmfspawn('somecode',PVMDEFAULT,'*',NumTasks,tid(1),istatus)
|>       endif
|> C
|> 
|> in network pvm, but that isn't a good idea on the T3d I would guess.
|> 
|> 
|> ------
|>  Stephen Saroff				Computational Physicist
|>  Minnesota Supercomputer Ctr.		email: saroff@msc.edu
|>  1200 Washington Ave S.			voice: 612/337-3423
|>  Minneapolis, MN 55415			fax  : 612/337 3400

