LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Mars Lenjoy (mars.lenjoy_at_[hidden])
Date: 2006-03-04 10:06:48


the Makefile has been attached, I can not understand what's the process to
run, that's a script.
I used "mpiexec" to run some simple programs, that's OK.

another question is that, how to config a lamhosts file to lamboot.
what i did was below:
============================== begin ===============================

*$ cat lamhosts
*# a 6-node LAM
11.11.11.1
11.11.11.2
11.11.11.3
11.11.11.4
11.11.11.5
11.11.11.6

$ recon -v lamhosts
n-1<21389> ssi:boot:base:linear: booting n0 (11.11.11.1)
n-1<21389> ssi:boot:base:linear: booting n1 (11.11.11.2)
ERROR: LAM/MPI unexpectedly received the following on stderr:
bash: line 1: tkill: command not found
-----------------------------------------------------------------------------
LAM attempted to execute a process on the remote node "11.11.11.2",
but received some output on the standard error. This heuristic
assumes that any output on the standard error indicates a fatal error,
and therefore aborts. You can disable this behavior (i.e., have LAM
ignore output on standard error) in the rsh boot module by setting the
SSI parameter boot_rsh_ignore_stderr to 1.

LAM tried to use the remote agent command "rsh"
to invoke "tkill" on the remote node.

*** 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.

This can indicate an authentication error with the remote agent, or
can indicate an error in your $HOME/.cshrc, $HOME/.login, or
$HOME/.profile files. The following is a (non-inclusive) list of items
that you should check on the remote node:

        - You have an account and can login to the remote machine
        - Incorrect permissions on your home directory (should
          probably be 0755)
        - Incorrect permissions on your $HOME/.rhosts file (if you are
          using rsh -- they should probably be 0644)
        - You have an entry in the remote $HOME/.rhosts file (if you
          are using rsh) for the machine and username that you are
          running from
        - Your .cshrc/.profile must not print anything out to the
          standard error
        - Your .cshrc/.profile should set a correct TERM type
        - Your .cshrc/.profile should set the SHELL environment
          variable to your default shell

Try invoking the following command at the unix command line:

        rsh 11.11.11.2 -n tkill -N -v

You will need to configure your local setup such that you will *not*
be prompted for a password to invoke this command on the remote node.
No output should be printed from the remote node before the output of
the command is displayed.

When you can get this command to execute successfully by hand, LAM
will probably be able to function properly.
-----------------------------------------------------------------------------
n-1<21389> ssi:boot:base:linear: Failed to boot n1 (11.11.11.2)
n-1<21389> ssi:boot:base:linear: aborted!

=============================== end
==============================================

why are only n-0 and n-1 tested, but not n2-5?

if I use lamboot without any parameter

===================== begin =============

*$ lamboot*

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

*$ ps aux | grep lam
*test 21695 0.0 0.0 2260 1048 ? S 23:16 0:00
/u2/test/Lenjoy/LAMHOME/bin/lamd -H 127.0.0.1 -P 36823 -n 0 -o 0
test 21713 0.0 0.0 3580 656 pts/4 S 23:16 0:00 grep lam

======================== end ======================

2006/3/4, Andrew Friedley <afriedle_at_[hidden]>:
>
> Mars Lenjoy wrote:
> > ./configure
> > make
> > make -k check
> >
> > the results have been attached.
> >
> > which makes me so puzzled is that
> > "This test requires at least 2 processes to run" in some test cases, in
> > fact, there are many nodes in our cluster, why?
>
> How did you run lamboot? You probably need a hosts file listing which
> nodes you want to run on. Check out the 'Booting LAM' section of this
> tutorial:
>
> http://www.lam-mpi.org/tutorials/one-step/lam.php
>
> It looks like you simply ran 'lamboot', which by default only sets up
> the local machine. Since you would only have one node set up, you would
> see the "This test requires at least 2 processes to run" errors.
>
> Hope this helps,
>
> Andrew
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>