- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
while experimenting with the reduction routines in Intel Fortran 2020 beta I ran into a problem with real coarrays. For integer coarrays it works fine (unless you leave out the target image - that results in an error about image 0). For real coarrays the result is simply the value on the target image it seems. Here is my sample program:
! chk_coarrays_reduction.f90 -- ! Check: does the compiler support reduction operations with coarrays ! program chk_coarrays_reduction implicit none real, dimension(10), codimension
And here is the output I got:
Using co-reduction routines for integer values: Cosum: 36 Comax: 16 Comin: 3 Using co-reduction routines for real values: Cosum: 0.10000 Comax: 0.10000 Comin: 0.10000
As you can see all real values are the same, whereas you would expect 3.6, 0.8 and 0.1. The integer values are conform the expectation.
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