Dear Rainer and Adrian,
Thank you lot for the help. It works. I was trying this for long time
but didn't notice the mistakes. I can't understand how can I overlooked
that!
Regards,
Jayanta
On Mon, May 14, 2007 at 11:59:18PM +0530, Jayanta Roy wrote:
> if(myrank = 0 || myrank == 1)
> if(myrank = 2 || myrank == 3)
Just to make clear we're not talking about a typo: Do you mean
assignment or comparison?
For comparisons, better put the constant value to the left, so
if (2 = myrank)
gives you a compiler error, because your intention was
if (2 == myrank)
Just guessing...
--
Cluster and Metacomputing Working Group
Friedrich-Schiller-Universität Jena, Germany
private: http://adi.thur.de
_______________________________________________
users mailing list
users@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users