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!
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)
Cluster and Metacomputing Working Group
Friedrich-Schiller-Universitšt Jena, Germany
users mailing list