Re: [OMPI users] MPI loop problem

2009-08-21 Thread Julia He
Thank you very much for your help. Julia --- On Wed, 8/19/09, Eugene Loh wrote: From: Eugene Loh Subject: Re: [OMPI users] MPI loop problem To: "Open MPI Users" List-Post: users@lists.open-mpi.org Date: Wednesday, August 19, 2009, 12:29 PM Juli

Re: [OMPI users] MPI loop problem

2009-08-19 Thread Eugene Loh
Julia He wrote: does the problem show up even if you turn MPI off? 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. Okay.  So, if this is not an MPI problem, as m

Re: [OMPI users] MPI loop problem

2009-08-19 Thread Julia He
? Thanks again. Julia --- On Tue, 8/18/09, Eugene Loh wrote: From: Eugene Loh Subject: Re: [OMPI users] MPI loop problem To: "Open MPI Users" List-Post: users@lists.open-mpi.org Date: Tuesday, August 18, 2009, 2:38 PM Is the problem independent of the the number of MPI

Re: [OMPI users] MPI loop problem

2009-08-18 Thread Julia He
Thanks. I will try your suggestions and get back to you as soon as possible. Julia --- On Tue, 8/18/09, Eugene Loh wrote: From: Eugene Loh Subject: Re: [OMPI users] MPI loop problem To: "Open MPI Users" List-Post: users@lists.open-mpi.org Date: Tuesday, August 18, 2009, 2:38 PM

Re: [OMPI users] MPI loop problem

2009-08-18 Thread Eugene Loh
Is the problem independent of the the number of MPI processes?  (You suggest this is the case.) If so, does this problem show up even with np=1 (a single MPI process)? If so, does the problem show up even if you turn MPI off? If so, the problem would seem to be unrelated to the MPI implement

Re: [OMPI users] MPI loop problem

2009-08-18 Thread Julia He
es? I know it sounds weird. But I have no clue why with the same inputs the returned value could be garbage after 570 instances. Julia --- On Tue, 8/18/09, Ralph Castain wrote: From: Ralph Castain Subject: Re: [OMPI users] MPI loop problem To: "Open MPI Users" List-Post: users@lis

Re: [OMPI users] MPI loop problem

2009-08-18 Thread Ralph Castain
Sorry, but there is no way to answer this question with what is given. What is "my_sub" doing? Which version of OpenMPI are you talking about, and on what platform? On Tue, Aug 18, 2009 at 8:28 AM, Julia He wrote: > Hi, > > I found that the subroutine call inside a loop did not return correct