Re: [OMPI users] Open MPI program cannot complete

2010-10-24 Thread Jack Bryan
Thanks, But, my code is too long to be posted. What are the common reasons of this kind of problems ? Any help is appreciated. Jack Oct. 24 2010 > From: g...@ldeo.columbia.edu > Date: Sun, 24 Oct 2010 18:09:52 -0400 > To: us...@open-mpi.org > Subject: Re: [OMPI users] Open MPI program cannot

Re: [OMPI users] Open MPI program cannot complete

2010-10-24 Thread Gustavo Correa
Hi Jack Your code snippet is too terse, doesn't show the MPI calls. It is hard to guess what is the problem this way. Gus Correa On Oct 24, 2010, at 5:43 PM, Jack Bryan wrote: > Thanks for the reply. > But, I use mpi_waitall() to make sure that all MPI communications have been > done before

Re: [OMPI users] Open MPI program cannot complete

2010-10-24 Thread Jack Bryan
Thanks for the reply. But, I use mpi_waitall() to make sure that all MPI communications have been done before a process call MPI_Finalize() and returns. Any help is appreciated. thanks Jack Oct. 24 2010 > From: g...@ldeo.columbia.edu > Date: Sun, 24 Oct 2010 17:31:11 -0400 > To:

Re: [OMPI users] Open MPI program cannot complete

2010-10-24 Thread Gustavo Correa
Hi Jack It may depend on "do some things". Does it involve MPI communication? Also, why not put MPI_Finalize();return 0 outside the ifs? Gus Correa On Oct 24, 2010, at 2:23 PM, Jack Bryan wrote: > Hi > > I got a problem of open MPI. > > My program has 5 processes. > > All of them can

[OMPI users] Open MPI program cannot complete

2010-10-24 Thread Jack Bryan
Hi I got a problem of open MPI. My program has 5 processes. All of them can run MPI_Finalize() and return 0. But, the whole program cannot be completed. In the MPI cluster job queue, it is strill in running status. If I use 1 process to run it, no problem. Why ? My program: int main (int