Newsgroups: comp.parallel.pvm
From: digulla@fh-konstanz.de (Aaron Digulla)
Subject: PVM3.3 and HPUX
Summary: making PVM3.3 work on HPUX 9.03
Keywords: pvm pvm3.3 hp hpux
Organization: University of Constance
Date: 21 Jun 1994 15:59:47 GMT
Message-ID: <2u72pj$59p@hermes.uni-konstanz.de>

Hello *,

I have tried to install PVM3.3, XPVM and HeNCE2.0 lately on
HP-UX A.09.01 A 9000/720. The installation did work 100%, but I
could not start pvm on any remote host. After looking into

    /tmp/pvml.*

I figured out, that PVM_ROOT was not defined. So I inspected the
scripts, but even directly setting PVM_ROOT to an absolute
path did not help. Eventually, I did a grep on pvm3/lib/HPPA/pvm
and *bingo* there were some paths in global.h that looked like this:

    pvm3/bin/$PVM_ARCH:$PVM_ROOT/bin/$PVM_ARCH

which does not seem to work on HPUX. I think this is because
you use bourne-shell to execute the scripts and due to some
bug in HPUX, PVM_ROOT does not get exported to pvm, when it
is started via "exec". I fixed this by using

#define DEFBINDIR	"pvm3/bin/$PVM_ARCH:$HOME/pvm3/bin/$PVM_ARCH"
#define DEFDEBUGGER	"$HOME/pvm3/lib/debugger"
#define PVMDPATH	"$HOME/pvm3/lib/pvmd"

now it works, but I wonder why PVM_ARCH is accepted when PVM_ROOT
is not :-/

--
Optimizer (Aaron Digulla)

"(to) optimize: Make a program faster by improving the algorithms rather than
by buying a faster machine."

