LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Paul Mitchell (pmitchel_at_[hidden])
Date: 2005-06-10 15:33:40


Hello,
 We're attempting to use Platforms LSF with a set of SO X Xserves (and
it's been an uphill battle, let me state). We're very close to making it
work, save for one confusing aspect of lamboot. Here's the scenario:

1) WE never managed to get openssh to work in passwordless authentication
mode, so I configured lam as follows:

configure --build=powerpc --with-rsh=/usr/local/bin/lsgrun.sh
--without-romio

The lsgrun.sh is a Platform script which calls out a binary (lsgrun) which
they supply. This binary calls their "res" program and gets a token.
Neat work around to my authentication problem... only it doesn't quite
work:

When I run lamboot, in the verbose/debug mode, the important things I get
back are (I'm quoting form the Platform analyst):

lamboot triggers the command this way,
n-1<8649> ssi:boot:rsh: attempting to execute: /usr/local/bin/lsgrun.sh
bp03 -n '( ! [ -e ./.profile] || . ./.profile;' hboot -t -c lam-conf.lamd
-d -v -s -I '"-H 152.2.3.40 -P 64002 -n 1 -o 0"' )

I compare it with the output when you run lamboot with ssh (from your
previous message)
, I find the format to trigger hboot is same as lsgrun.sh is used, see
below,
> > LAM tried to use the remote agent command "ssh"
> > to invoke the following command:
> >
> > ssh bp03 -n '( ! [ -e ./.profile] || . ./.profile;' hboot -t
-c
> > lam-conf.lamd -s -I '"-H 152.2.3.40 -P 59910 -n 1 -o 0"' )

My understand is that lamboot tries to do run two things (separated by ;)
1) if .profile exists, then source it
2) run hboot.

However I think lamboot sets the command line syntax wrongly as we can
see the first single qoute "'" after -n has no match at all, so does to
"(".

SO I've been looking through the source for LAM-7.1.1, and I can find the
string:

        ( ! [ -e ./.profile] || . ./.profile

in laminfo and lamboot, but nowhere in any of the .c or .cc files. Where
is this string defined and is there some way that I can correct the
mis-call?

Hope this makes a semblance of sense.

Paul

==============================================================================
        Paul Mitchell
        email: pmitchel_at_[hidden]
        phone: (919) 962-9778
        office: I have an office, room 14, Phillips Hall
==============================================================================