Thank you very much for your help. I have tried all of them. Here are the answers.
My answer: Yes, the problem is independent of the number of MPI processes.
My answer: Yes, the problem shows up even with np=1 (a single MPI process).
My answer: Yes and No. Yes, when I used ifort compiler. But the problem did not show up when I used gfortran, which was much slower.
So, I think I can conclude that the problem is related to the Intel compiler -- ifort. I guess the mpif90 and mpif77 are wrappers to ifort. So, the problem shows up when MPI is included in the code.
Do you know how to solve this problem? Is there any flag that I need to use in ifort?
--- On Tue, 8/18/09, Eugene Loh <Eugene.Loh_at_[hidden]> wrote:
From: Eugene Loh <Eugene.Loh_at_[hidden]>
Subject: Re: [OMPI users] MPI loop problem
To: "Open MPI Users" <users_at_[hidden]>
Date: Tuesday, August 18, 2009, 2:38 PM
-----Inline Attachment Follows-----
users mailing list
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around