PVM Problems

JParker at coinstar.com JParker at coinstar.com
Mon Apr 30 10:32:40 PDT 2001


G'Day !

> Hmmmm... kinda strange problem. Are you sure, when you compiled PVM 
source,
you use LINUX.def?? So that it is compiled with option that adjusted to
Linux environment?? BTW, have you add the "$PVM_ROOT/lib" (i am not sure,
please verify where PVM place its "pvm" shell script) add to your $PATH??


Hmmm... Thanks for the advice.  I am using the .deb packages from stable, 
so I did not compile from source.  If I can not solve this problem, I will 
recompile.
I did not think it was a path problem, because the dameon is launched on 
the remote node and the pvm shell is working.

The Debian package is strange in that the executables are in /usr/bin and 
the $PVM_ROOT contains symlinks to the executables.

> the lock file is file with extension ".uid" Do you saw it?? BTW, pvm 
denies
to start if he found that there is lock file that belong from previous
session, so you must delete it first

What I get is a directory ( /tmp/pvm.1000 ) inside this directory is a 
file named "log".  It appears to cointain what the name suggests, and is 
overwritten every time PVM is involked.  I have deleted this directory 
stucture, and it is recreated on running the pvm shell.  As I stated in my 
first mail, I can having multiple instances of pvmd running, so it dies 
not appear to create a lock.

cheers,
Jim Parker

Sailboat racing is not a matter of life and death ....  It is far more 
important than that !!!




"mulyadi" <a_mulyadi at telkom.net>
Sent by: beowulf-admin at beowulf.org
04/30/01 09:49 AM

 
        To:     <JParker at coinstar.com>
        cc:     <beowulf at beowulf.org>
        Subject:        Re: PVM Problems

Hello :-D

>I am running PVM (I believe it is the 3.4 version) on a Debian 2.2 system
using Bash >for my shell.  I configured it as per the man pages and the 
MIT
reference book, except >I defined PVM_ROOT and PVM_ARCH in .bashrc on 
every
node (including the head >server) and not the .cshrc .  Should I put in my
.bash_profile on the head node ?  I also >have my .rhosts correct, as
verified by running rsh and ssh.

Of course, if you use bash, then you must use .bashrc, and this must be
written on every node, except you mount the user's home directory from NFS
point. In that case, you only wrote it once



> but when I try to add a node, it returns a "terminated" and puts me back
at my bash >shell prompt.  I can then rsh or ssh over to the node and 
verify
the pvmd is running on >the node via the ps command.  When I try to use 
the
pvm shell on that node, it displays >a notice that the pvmd is already
running and hangs till I kill the process.  Any clues or >suggestions ?

Hmmmm... kinda strange problem. Are you sure, when you compiled PVM 
source,
you use LINUX.def?? So that it is compiled with option that adjusted to
Linux environment?? BTW, have you add the "$PVM_ROOT/lib" (i am not sure,
please verify where PVM place its "pvm" shell script) add to your $PATH??

Please tell us if you found something strange when you compile PVM source

>Another question is that the docs say there should be a lock file in 
/tmp,
but what I find >is a directory containing a log file (and of course no
indication why I can not add the >node).  Is this the normal setup ?  BTW, 
I
can restart pvm at on the server and launch >another instance of the 
dameon
on the node with similar results as stated above.

the lock file is file with extension ".uid" Do you saw it?? BTW, pvm 
denies
to start if he found that there is lock file that belong from previous
session, so you must delete it first

>Final question (for now), how do I set PVM up to use ssh instead of rsh ?

Check at LINUX.def file, there you find RSH option command, replace
"/usr/bin/rsh" with "full_path_to_your_ssh_command" Of course you must
generate SSH key for automatic login at remote node without entering the
password. Look at the SSH man page

Try my advise first, then tell us again if something still goes wrong

Regards

Mulyadi Santosa



_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.beowulf.org/pipermail/beowulf/attachments/20010430/de11db88/attachment.html>


More information about the Beowulf mailing list