- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I am happily using openMP shared memory with $OMP DO and $OMP TASK. But I want to consider coarray instead for a new project. While passing data between coarry images seams easy I cannot see how to share execution in a similar way to $OMP DO and $OMP TASK. Can sombody point me to something I can read to get familiar.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The coarray model is quite different from OpenMP. Where OpenMP has a single program that does "fork and join", a coarray program runs multiple copies (termed "images") of the program in parallel, sharing variables and synchronizing. Coarrays are closer to MPI programming than OpenMP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Typically one would not use coarray or MPI within a single CPU or SMP system unless the O/S restricted you to running 32-bit applications on a system with more than 4GB of RAM and your problem set will not fit within the addressing limitations of a single 32-bit process.
Jim Dempsey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I understand all the aspects of coarray mentioned by Steve and Jim. I am trying to use some third party library that is not thread safe, so coarray having seperate images should fix that. I would also like to undertsand coarray better just from an personal interest point of view. Are there any examples of how to use it that cover the aspect of how to set it up to do parallel computation or is it only intended as a data communication mechanism?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page