Newsgroups: comp.parallel.pvm
From: Simon Knee <Simon.Knee@keble.oxford.ac.uk>
Subject: Re: help - can't start pvmd
Organization: Keble College, Oxford University
Date: Tue, 31 Dec 1996 11:33:13 -0800
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <32C96A79.52F6D2B3@keble.oxford.ac.uk>

Curtis Cooley wrote:
> 
> I've got pvm to run at school, but on my home machine, whenver I try to
> start the console it goes a lot like this:
> 
> libpvm [pid1315]: mksocs() read addr file: wrong length read
> pvmd already running.
> [snip]
> 
> Then if I try to just start the daemon, I get:
> 
> [pvmd pid1332] master_config() galifray.org: can't gethostbyname
> [pvmd pid1332] pvmbailout(0)
> 
> where 'galifray.org' is the name I've given my 'host.'
> 
> I'm running Redhat Linux and pvm version 3.3. .[snip]

The problem is with your linux inet setup, not pvm.  I am not sure how
your linux distribution works, but in slackware you need to have:

1) You host name in /etc/HOSTNAME
2) An entry for you host in /etc/hosts such as:

	192.168.0.1	galifray.org	galifray

The above IP address should match the one you used when ifconfig
was called (in /etc/rc.inet1).

If you do not have the above then pvm cannot look up your hostname.

I tested this by renaming my host in just /etc/HOSTNAME, and when
I tried to run pvm I got exactly the same "master_config () ..." error.

Hope that helps.

Simon Knee,
Keble College,
Oxford University.

