- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am using MPI for parallelization. I want to broadcast a multidimensional array. Is there today a way to do this directly?
If not, is it possible to broadcast by using DO-loops?
Example
The integer array a(m,n) shall be broadcasted. Will this work?
DO i=1,m
CALL MPI_BCAST(a(i,1:n),n,MPI_INTEGER8,0,MPI_COMM_WORLD,ierr)
ENDDO
If yes, can I broadcast in the same way for dimensions above 2?
Best regards
Anders S
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page