LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Jack Howarth (howarth_at_[hidden])
Date: 2005-11-17 19:10:11


    Here is the output I get from 'lamboot -d lamhosts' on my
dual G5 with lam 7.1.1 built with the following configure flags
under fink...

--prefix=%p --with-rsh="/usr/bin/ssh -x" --libexecdir=%p/lib --
datadir=%p/share/doc/%n --sysconfdir=%p/etc/%n --sharedstatedir=%p/var/%n/shared
 --localstatedir=%p/var/%n/local --libdir=%p/lib --includedir=%p/include --infod
ir=%p/share/info --mandir=%p/share/man --with-trillium --enable-shared --enable-
static

The build with the same flags of lam 7.0.6 works fine. The lamhosts file
contains...

localhost
localhost

The output from 'lamboot -d lamhosts' using lam 7.1.1 is...

n-1<270> ssi:boot:open: opening
n-1<270> ssi:boot:open: opening boot module globus
n-1<270> ssi:boot:open: opened boot module globus
n-1<270> ssi:boot:open: opening boot module rsh
n-1<270> ssi:boot:open: opened boot module rsh
n-1<270> ssi:boot:open: opening boot module slurm
n-1<270> ssi:boot:open: opened boot module slurm
n-1<270> ssi:boot:select: initializing boot module slurm
n-1<270> ssi:boot:slurm: not running under SLURM
n-1<270> ssi:boot:select: boot module not available: slurm
n-1<270> ssi:boot:select: initializing boot module rsh
n-1<270> ssi:boot:rsh: module initializing
n-1<270> ssi:boot:rsh:agent: /usr/bin/ssh -x
n-1<270> ssi:boot:rsh:username: <same>
n-1<270> ssi:boot:rsh:verbose: 1000
n-1<270> ssi:boot:rsh:algorithm: linear
n-1<270> ssi:boot:rsh:no_n: 0
n-1<270> ssi:boot:rsh:no_profile: 0
n-1<270> ssi:boot:rsh:fast: 0
n-1<270> ssi:boot:rsh:ignore_stderr: 0
n-1<270> ssi:boot:rsh:priority: 10
n-1<270> ssi:boot:select: boot module available: rsh, priority: 10
n-1<270> ssi:boot:select: initializing boot module globus
n-1<270> ssi:boot:globus: globus-job-run not found, globus boot will not run
n-1<270> ssi:boot:select: boot module not available: globus
n-1<270> ssi:boot:select: finalizing boot module slurm
n-1<270> ssi:boot:slurm: finalizing
n-1<270> ssi:boot:select: closing boot module slurm
n-1<270> ssi:boot:select: finalizing boot module globus
n-1<270> ssi:boot:globus: finalizing
n-1<270> ssi:boot:select: closing boot module globus
n-1<270> ssi:boot:select: selected boot module rsh

LAM 7.1.1/MPI 2 C++/ROMIO - Indiana University

n-1<270> ssi:boot:base: looking for boot schema in following directories:
n-1<270> ssi:boot:base: <current directory>
n-1<270> ssi:boot:base: $TROLLIUSHOME/etc
n-1<270> ssi:boot:base: $LAMHOME/etc
n-1<270> ssi:boot:base: /sw/etc/lammpi
n-1<270> ssi:boot:base: looking for boot schema file:
n-1<270> ssi:boot:base: lamhosts
n-1<270> ssi:boot:base: found boot schema: lamhosts
n-1<270> ssi:boot:rsh: found the following hosts:
n-1<270> ssi:boot:rsh: n0 localhost (cpu=2)
n-1<270> ssi:boot:rsh: resolved hosts:
n-1<270> ssi:boot:rsh: n0 localhost --> 127.0.0.1 (origin)
n-1<270> ssi:boot:rsh: starting RTE procs
n-1<270> ssi:boot:base:linear: starting
n-1<270> ssi:boot:base:server: opening server TCP socket
n-1<270> ssi:boot:base:server: opened port 49163
n-1<270> ssi:boot:base:linear: booting n0 (localhost)
n-1<270> ssi:boot:rsh: starting lamd on (localhost)
n-1<270> ssi:boot:rsh: starting on n0 (localhost): hboot -t -c lam-conf.lamd -d -I -H 127.0.0.1 -P 49163 -n 0 -o 0
n-1<270> ssi:boot:rsh: launching locally
hboot: performing tkill
hboot: tkill -d
tkill: setting prefix to (null)
tkill: setting suffix to (null)
tkill: got killname back: /tmp/lam-howarth_at_Jack-Howarths-Computer.local/lam-killfile
tkill: removing socket file ...
tkill: socket file: /tmp/lam-howarth_at_Jack-Howarths-Computer.local/lam-kernel-socketd
tkill: removing IO daemon socket file ...
tkill: IO daemon socket file: /tmp/lam-howarth_at_Jack-Howarths-Computer.local/lam-io-socket
tkill: f_kill = "/tmp/lam-howarth_at_Jack-Howarths-Computer.local/lam-killfile"
tkill: nothing to kill: "/tmp/lam-howarth_at_Jack-Howarths-Computer.local/lam-killfile"
hboot: booting...
hboot: fork /sw/bin/lamd
[1] 273 lamd -H 127.0.0.1 -P 49163 -n 0 -o 0 -d
hboot: attempting to execute
n-1<270> ssi:boot:rsh: successfully launched on n0 (localhost)
n-1<270> ssi:boot:base:server: expecting connection from finite list
router (nrecv): not attached to daemon
-----------------------------------------------------------------------------
The lamboot agent timed out while waiting for the newly-booted process
to call back and indicated that it had successfully booted.

*** PLEASE READ THIS ENTIRE MESSAGE, FOLLOW ITS SUGGESTIONS, AND
*** CONSULT THE "BOOTING LAM" SECTION OF THE LAM/MPI FAQ
*** (http://www.lam-mpi.org/faq/) BEFORE POSTING TO THE LAM/MPI USER'S
*** MAILING LIST.

As far as LAM could tell, the remote process started properly, but
then never called back. Possible reasons that this may happen:

        - There are network filters between the lamboot agent host and
          the remote host such that communication on random TCP ports
          is blocked
        - Network routing from the remote host to the local host isn't
          properly configured (this is uncommon)

You can check these things by watching the output from "lamboot -d".

1. On the command line for hboot, there are two important parameters:
   one is the IP address of where the lamboot agent was invoked, the
   other is the port number that the lamboot agent is expecting the
   newly-booted process to call back on (this will be a random
   integer).

2. Manually login to the remote machine and try to telnet to the port
   indicated on the hboot command line. For example,
       telnet <ipnumber> <portnumber>
   If all goes well, you should get a "Connection refused" error. If
   you get any other kind of error, it could indicate either of the
   two conditions above. Consult with your system/network
   administrator.
-----------------------------------------------------------------------------
n-1<270> ssi:boot:base:server: failed to connect to remote lamd!
n-1<270> ssi:boot:base:server: closing server socket
n-1<270> ssi:boot:base:linear: aborted!
lamboot did NOT complete successfully

Any ideas what the problem could be?
                 Jack