Newsgroups: comp.parallel.pvm
From: heimes@spva.ph.ic.ac.uk (Frank Heimes)
Subject: Re: Problem to get PVM console
Organization: Imperial College of Science, Technology, and Medicine, London, England
Date: Wed, 2 Nov 94 18:20:17 GMT
Message-ID: <1994Nov2.182018.4213@cc.ic.ac.uk>

In article <38rjdf$3mv@msuinfo.cl.msu.edu>, choie@rosemary.msu.edu (Choi Eunmi) writes:
> Hi.
> I've just installed PVM 3.3.4 into my own directory todays.
> I can start PVM daemon with a hostfile, but when I type
> "pvm" to make the PVM console, it doesn't show the prompt ">".
> On the other window, I can run an application program and 
> it seems that all requested hosts work for pvm.
> The only problem is that I cannot get the PVM console
> and I cannot control the virtual machine interactively.

Hi Choi,

no I don't have an explanation for your problem, but a suggestion that
might help you get a clou.

* 'pvm' also accepts a hostfile (but ignores options in it). So try
  starting 'pvm hostfile' and see what happens.
* you can pipe commands to pvm, e.g. 'echo conf | pvm' and see if
  you get some reaction. The console quits immediatly after command execution.
* I've set up a config file for pvm to get some informations when
  pvm starts up. Copy it to your home directory and see if you get some
  information if you start pvm:
#
# example PVM console startup script
# copy this file to $HOME/.pvmrc
#

#
# command aliases
#
alias ? help
alias print_environment spawn -> /bin/env
alias a add
alias c conf
alias d delete
alias h help
alias j jobs -l
alias p ps -al
alias q quit
alias r reset
alias tm trace
alias v version

#
# important for debugging
#
setenv PVM_EXPORT DISPLAY

#
# want to see these trace events by default
#
tm addhosts delhosts halt
tm pvm_mytid pvm_exit pvm_parent
tm send recv nrecv probe mcast trecv sendsig recvf

echo "This is PVM version:"
version  # print PVM release version
echo "The concole TID is:"
id       # print console TID
echo "The current configuration is:"
conf
echo "Type 'quit' to exit console, 'help' for help"

I suggest you mention the architecture your running pvm on
in your next query as pvm sometimes behaves different on different
architectures.

Best regards,
              Frank


