Open MPI logo

Open MPI User's Mailing List Archives

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

From: Jelena Pjesivac-Grbovic (pjesa_at_[hidden])
Date: 2007-08-21 11:57:56

Hi Sefa,
I presume you are talking about C or C++.
If yes, it depends how you allocated 2D array. If it is not continuous
data (i.e. 1D array you are accessing in 2D manner) - you have to define
special datatype.
Hope this helps,

Sefa Arslan wrote:
> Hi,
> Is there a special way to broadcast a 2D array, or just using the
> standart MPI_Bcast is enough? When I try to send/broadcast 2D arrays
> every time operation is terminated, and get a message like:
> "rank 2 in job 71 XXXXX_49783 caused collective abort of all ranks
> exit status of rank 2: killed by signal 9"
> Thanks a lot.
> Sefa Arslan
> _______________________________________________
> users mailing list
> users_at_[hidden]