LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: ravin sachdeva (ravinsachdeva_at_[hidden])
Date: 2004-10-08 06:03:54


hi ,

   i am working on a project that involves parallel processing so i
obviously need to use lam...my project involves running a C source code on 4
processors with each processor exchanging info from one another using
MPI_send and MPI_Recv calls... i was told that i can simulate a 4 processor
environment using lam by setting the same hostname 4 times in the hostfile ,
then running lamboot on the processor and the code should work in parallel
by giving the ranks 0,1,2,3 to the single processor...
   Here is where i am facing the problem.... the code only executes the rank
0's statements and halts when the MPI_Recv call by rank 0 is made giving the
error:

Rank(0,MPI_COMM_WORLD) : call stack for LAM
Rank(0,MPI_COMM_WORLD) : MPI_Recv()
Rank(0,MPI_COMM_WORLD) : main()

and goes back to the shell. its not executing the other rank's(1,2,3)
statements at all.

       is there anywhere that i am going wrong ?? what should i do ?? please
help ! you are my last hope.

_________________________________________________________________
Cool ringtones, snazzy logos! Expressive cards, fun games!
http://www.msn.co.in/Mobile/ Get it all at MSN mobile!