[OMPI users] mpi_group_incl erros

2012-08-16 Thread maryam moein
I'm new memeber in this weblog, and I should deliver my assignment as soon as possible, but I have a big problem that I can't solve it. Please help me. In MPI I should divide my group into two groups. But all the time when I want to run a program I got error about mpi_group_incl. This is my erro

Re: [OMPI users] mpi_group_incl erros

2012-08-16 Thread Ralph Castain
Well, one thing immediately leaps to the eye. You compute Neven based on the number of procs in the job, which you set when executing mpirun. However, the number of members you put in your group is fixed. Then you pass Neven to the MPI_Group call as the parameter telling it how many entries are

Re: [OMPI users] mpi_group_incl erros

2012-08-16 Thread Jeff Squyres
Further, if Neven is greater than 3, then you've got uninitialized values in the members array. That could be causing Open MPI to say "there's a bad rank number in there!", for example, if members[3] is randomly initialized to 1234. On Aug 16, 2012, at 10:01 AM, Ralph Castain wrote: > Well, o

[OMPI users] hangs of MPI_WIN_LOCK/UNLOCK (gfortran)

2012-08-16 Thread eatdirt
Hi there, I have attached a little piece of code which summarizes a "bug?" that annoys me ultimately. Issuing various calls to MPI_WIN_LOCK/UNLOCK seems to hang some processes until a MPI_BARRIER is encountered!?? My experience with MPI is very modest, so I apologize in advance if I misread t

Re: [OMPI users] mpi_group_incl erros

2012-08-16 Thread maryam moein
I'm so sorry, Actually my problem is in another mpi program which is "sudoku game". But because of the fact I got inclusion error whenever I use MPI_Group_incl. For simplicity, I decided to put a simple program with MPI_Group_incl. Please take a look at the following lines of code, and please n