[Beowulf] rsh don't see the real variables
Robert G. Brown
rgb at phy.duke.edu
Sat Oct 9 18:39:06 EDT 2004
On Sat, 9 Oct 2004, Gustavo Gobi Martinelli wrote:
> I'm trying to make the pvm 3.4.5 work, but I'm having a problem with "rsh".
One more comment. pvm under Red Hat * (and now under Fedora Core 2) IS
a shell script (in /usr/bin/pvm). It should set PVM_ROOT correctly for
you, automagically, whether or not it is set in your original or nodes
shells, as PVM is started somewhere and used to build a virtual cluster
IF you invoke PVM by name on the default path.
This can probably still screw up with some ways you might use PVM, but
there SHOULD be ways to do your project that don't require a PVM_ROOT to
be spelled out in your node shells.
> if I execute the command:
> # rsh 192.168.0.2 'set'
> I will see a list of variables that isn't in the .bash_profile of root user.
> But, if I execute this:
> # rsh 192.168.0.1
> the login occurs and I can execute
> # set
> Now, I can see the variable that I need.
> What did happen? How can I find the local where I can declare the variables that
> will be appear with " rsh 192.168.0.1 'set' " command?
> Because this, the PVM doesn't work. It needs see $PVM_ROOT variable that exists
> in .bash_profile but not in "rsh" session.
> Someone know anything about it? I'm using the Fedora Core 2 with kernel 2.6.7.
> Gustavo Gobi Martinelli
> Linux User# 270627
> Beowulf mailing list, Beowulf at beowulf.org
> To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf
Robert G. Brown http://www.phy.duke.edu/~rgb/
Duke University Dept. of Physics, Box 90305
Durham, N.C. 27708-0305
Phone: 1-919-660-2567 Fax: 919-660-2525 email:rgb at phy.duke.edu
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf
More information about the Beowulf