Re: [OMPI users] mpi_group_incl erros

2012-08-17 Thread Jeff Squyres
(group, 1, 0 , &master); > MPI_Group_excl(group, 1, 0, &workers); > MPI_Comm_create(comm_world, master, &comm_master); > MPI_Comm_create(comm_world, workers, &comm_workers); > MPI_Finalize(); > } > > From: Jeff Squyres > To: Open MPI Users >

Re: [OMPI users] mpi_group_incl erros

2012-08-16 Thread maryam moein
master, &comm_master);     MPI_Comm_create(comm_world, workers, &comm_workers);     MPI_Finalize(); } From: Jeff Squyres To: Open MPI Users Cc: maryam moein Sent: Thursday, August 16, 2012 7:41 PM Subject: Re: [OMPI users] mpi_group_incl erros Furth

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

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