Thanks Rainer and Matt, your suggestions solved my problem.
On Fri, Jun 27, 2008 at 11:44 AM, Matt Hughes
wrote:
> 2008/6/27 Joao Marcelo :
>> Hi,
>>
>> I'm starting to code with MPI and decided to use openmpi. I'm using
>> Ubuntu Linux with GCC version 4.2.3 and OpenMPI 1.2.5 (distribution
>> p
2008/6/27 Joao Marcelo :
> Hi,
>
> I'm starting to code with MPI and decided to use openmpi. I'm using
> Ubuntu Linux with GCC version 4.2.3 and OpenMPI 1.2.5 (distribution
> package). The output of "ompi_info -- all" is attached. I'm also
> sending a copy of the source code I'm trying to run.
On
Dear Joao,
the problem is that, You do not use the &reqs[i] correctly in the MPI_Send --
reqs[0] will not be initialized; but wait for in MPI_Waitall...
Change:
rc = MPI_Isend(&a , 1 , MPI_INT , i , 0 , MPI_COMM_WORLD , &reqs[i]);
to
rc = MPI_Isend(&a , 1 , MPI_INT , i , 0 , MPI_COMM_WORLD ,
Hi,
I'm starting to code with MPI and decided to use openmpi. I'm using
Ubuntu Linux with GCC version 4.2.3 and OpenMPI 1.2.5 (distribution
package). The output of "ompi_info -- all" is attached. I'm also
sending a copy of the source code I'm trying to run.
What I'm trying to do is selecting pro