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-05 09:14:40


*$ ./lamboot -prefix /u2/test/Lenjoy/LAMHOME -v ../../envset/lamhosts *

LAM 7.1.1/MPI 2 C++/ROMIO - Indiana University
n-1<15803> ssi:boot:base:linear: booting n0 (11.11.11.1)
n-1<15803> ssi:boot:base:linear: booting n1 (11.11.11.2)
n-1<15803> ssi:boot:base:linear: booting n2 (11.11.11.3)
n-1<15803> ssi:boot:base:linear: booting n3 (11.11.11.4)
n-1<15803> ssi:boot:base:linear: booting n4 (11.11.11.5)
n-1<15803> ssi:boot:base:linear: booting n5 (11.11.11.6)
n-1<15803> ssi:boot:base:linear: finished

*$ ps aux | grep lam*

test 15806 0.0 0.0 2268 1060 ? S 22:21 0:00
/u2/test/Lenjoy/LAMHOME/bin/lamd -H 11.11.11.1 -P 43074 -n 0 -o 0
test 15826 0.0 0.0 3588 660 pts/9 S 22:21 0:00 grep lam

that's cool, it works!!!!
Andrew, thanks so much!!!!

i will add the PATH and LD_LIBRARY_PATH to the ~/.bash_prifile, after my
username has been created by admin.
now, we share the same user name, and the others use MPICH for mpi
programming, but I want to use the CHECKPOINT/RESTART feature in LAM/MPI, so
I setup that.

2006/3/5, Andrew Friedley <afriedle_at_[hidden]>:
>
> Mars Lenjoy wrote:
> > i tried
> > $ rsh 11.11.11.2 <http://11.11.11.2> -n tkill -N -v
> > bash: line 1: tkill: command not found
> >
> > what's the meaning?
>
> Your environment still is not set up properly.. see below.
>
> > a file named tmpset in ~/
> > in the tmpset file:
> >
> > export PATH=/u2/test/Lenjoy/LAMHOME/bin:and so on...
> > export LD_LIBRARY_PATH=/u2/test/Lenjoy/LAMHOME/lib:and so on...
> >
> >
> >
> > what i did:
> >
> > */u2/test $ . tmpset*
>
> This needs to happen in .bashrc and/or .bash_profile, not manually on
> the command line. Otherwise, changes to your local environment do not
> carry over when you rsh/ssh to a remote node.
>
> Another option is the lamboot -prefix argument:
>
> lamboot -prefix /u2/test/Lenjoy/LAMHOME -v hostfile
>
> This will tell lamboot to set up PATH/LD_LIBRARY_PATH on remote nodes,
> though I recommend just having this set up properly in
> .bashrc/.bash_profile.
>
>
> Andrew
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>