Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] MPI_Alltoall with Vector Datatype
From: Spenser Gilliland (spenser_at_[hidden])
Date: 2014-05-08 18:57:43


George,

I figured it out. The defined type was

    MPI_Type_vector(N, wrows, N, MPI_FLOAT, &mpi_all_unaligned_t);

Where it should have been

    MPI_Type_vector(wrows, wrows, N, MPI_FLOAT, &mpi_all_unaligned_t);

This clears up all the errors.

Thanks,
Spenser

On Thu, May 8, 2014 at 5:43 PM, Spenser Gilliland
<spenser_at_[hidden]> wrote:
> George,
>
>> The alltoall exchanges data from all nodes to all nodes, including the
>> local participant. So every participant will write the same amount of
>> data.
>
> Yes, I believe that is what my code is doing. However, I'm not sure
> why the out of bounds is occurring. Can you be more specific? I
> really want to get this working.
>
> Thanks,
> Spenser
>
>
>
> --
> Spenser Gilliland
> Computer Engineer
> Doctoral Candidate

-- 
Spenser Gilliland
Computer Engineer
Doctoral Candidate