Newsgroups: comp.parallel.pvm
From: eddemain@neumann.uwaterloo.ca (Erik Demaine)
Subject: Re: help: PVMEPID and PVMSOCK
Organization: University of Waterloo
Date: Thu, 27 Jun 1996 12:33:53 GMT
Message-ID: <Dtns8H.EyI@undergrad.math.uwaterloo.ca>

Markus Fischer (getin@uni-paderborn.de) wrote:
: Djemai.Kebbal (kebbal@lifl.fr) wrote:
: : I am using PVMEPID and PVMSOCK  environment variables which reflect
: : the PID of the pvmd and the  socket adress used by the pvmd to allow tasks 
: : to connect at it (to enrolle at PVM for example)  in my work .
: : I read in PVM user's guide that these variables are set automatically
: : because they changes in the time.  But, in my environment (my accout on SUN4) are
: : not set thought I have installed PVM correctly.

: the environment variable are set during run time,
: you should be able to get them with getenv

In other words, don't try to access them before you call pvm_init ().
Call pvm_init *first*.

(I think this is what Markus means.)

Erik
--
Erik Demaine                 \/  e-mail: eddemain@neumann.uwaterloo.ca
Dept. of Computer Science    /\  URL   : http://barrow.uwaterloo.ca/~eddemain/
University of Waterloo       \/  Most jugglers do poorly while drunk, especially
Waterloo, ON Canada N2L 3G1  /\  in a large wavelength gravity field.

