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
Hope this helps,
Sefa Arslan wrote:
> 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