Hi,
Thanks Brian. I have fixed the problem of not run lamd
in my 3rd computer.
I have a question related with my another problem.
I have three computers 1, 2 and 3. 1 is mater node. 1
and 2 can communicate each other. 1 and 3 can
communicate each other. But 2 and 3 can not. Since,
there is no data transfer between 2 and 3 in my
program so I guess it not necessary to communicate 2
and 3. Is it?
I lamboot successfully in all 3 nodes. When I run
"mpirun n0-2 ./a.out" from my master node, it just
stoked. When I aborted by Ctrl C, I got following
massage:
------------------
It seems that [at least] one of the processes that was
started with
mpirun did not invoke MPI_INIT before quitting (it is
possible that
more than one process did not invoke MPI_INIT --
mpirun was only
notified of the first one, which was on node n0).
mpirun can *only* be used with MPI programs (i.e.,
programs that
invoke MPI_INIT and MPI_FINALIZE). You can use the
"lamexec" program
to run non-MPI programs over the lambooted nodes.
--------------------
Interesting: If I run the program on only two nodes
either 1 and 2 or 1 and 3 by lambooting on only these
two nodes then everything is fine. But when I run on
all 3 nodes by lambooting on all 3 nodes then I got
above problem.
My test program was the simplest one:
------------
implicit double precision(a-z)
include 'mpif.h'
integer myid, numprocs, ierr
call MPI_INIT( ierr )
call MPI_COMM_RANK( MPI_COMM_WORLD, myid, ierr )
call MPI_COMM_SIZE( MPI_COMM_WORLD, numprocs, ierr )
print*,myid, numprocs
call MPI_FINALIZE(ierr)
end
--------------
I appreciate your help.
Manoj
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|