- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Is this code correct ?
DO CONCURRENT( I = 1: NI )REDUCE(+:TMP)
TMP = TMP + FLOAT(I)
A(I) = TMP
ENDDO
For replacing the origin one,
DO I = 1, NI ! NI = NP*IC
TMP = TMP + FLOAT(I)
A(I) = TMP
ENDDO
Wrong , unmatched results, when compiling with -fopenmp option for Intel Fortran!
Thank you for any suggestion!
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