Someone who knows about PVM.(adding host)
pvm> add pc196s
pc196s Can't start pvmd
Checking $PVM_ROOT on Host "pc196s"...
The value of the $PVM_ROOT environment
variable on pc196s is invalid ("").
Use the absolute path to the pvm3/ directory.
I've got following explanation but I can't work out what to do.
All the Linux computers have a ssh server running, so PVM can use ssh when
adding computers to the cluster. Unfortunately, by default PVM tries to execute the command
$PVM_ROOT/lib/pvmd without launching a shell. This requires sshd to know the
value for $PVM_ROOT which is normally only set by bash when you log into
So to get everything to work, I used a wrapper script around ssh to set replace
PVM_ROOT with the correct path before calling ssh. This will only work if PVM
is installed in a fixed location on all machines, e.g. your user area. The
script I used is listed below. djh123 needs to be replaced with your username
# Execute remote ssh pvmd with correct linux path
args=`echo $2 | sed s/"\\$PVM_ROOT"/"\/usr\/djh123\/pvm3"/g`
exec /usr/bin/ssh $computer "$args"